Gerd Moellmann [Thu, 9 Aug 2001 14:06:54 +0000 (14:06 +0000)]
(make-mode-line-mouse-map): Renamed from
make-mode-line-mouse2-map. Take additional arg MOUSE.
(mode-line-modified): Use mouse-3 instead of mouse-2.
(mode-line-buffer-identification-keymap): Bind keys differently.
(propertized-buffer-identification): Adapt help-echo to new
bindings.
Gerd Moellmann [Thu, 9 Aug 2001 13:01:38 +0000 (13:01 +0000)]
(Vpre_help_message): New variable.
(syms_of_keyboard): Initialize and staticpro it.
(show_help_echo): Record current message before displaying a
help-echo, and restore that message when clearing the help.
Gerd Moellmann [Thu, 9 Aug 2001 09:31:56 +0000 (09:31 +0000)]
(image-type-regexps): Allow whitespace at the start
of the image data for XPM, XBM and Postscript, which are
text files.
(image-jpeg-p): Correct computatino of next field offset.
Gerd Moellmann [Wed, 8 Aug 2001 10:54:12 +0000 (10:54 +0000)]
(image-type-regexps): Allow predicates. Change the way
JPEG images are recognized.
(image-jpeg-p): New function.
(image-type-from-data): Handle predicates in image-type-regexps.
Gerd Moellmann [Tue, 7 Aug 2001 11:37:10 +0000 (11:37 +0000)]
(start_display): Don't try to determine the continuation
lines width if lines are truncated. It's superfluous and leads to
incorrect results if POS is not visible in the window after
reseating the iterator at the previous line start.
Eli Zaretskii [Sat, 4 Aug 2001 12:47:23 +0000 (12:47 +0000)]
(Bugs and problems): Mention the related sections of the Emacs manual, and
the PROBLEMS file.
Suggested by David Kastrup <David.Kastrup@neuroinformatik.ruhr-uni-bochum.de>.
Gerd Moellmann [Fri, 3 Aug 2001 11:36:48 +0000 (11:36 +0000)]
(read_key_sequence): Check that key is an integer
before comparing it with quit_char.
(add_command_key): Use larger_vector.
(read_char_x_menu_prompt): Instead of converting symbol and
integer events into conses (EVENT . nil), use (EVENT . disabled)
which cannot be confused with legal events.
(read_char): When reading from Vunread_command_events, check for
events of the form (EVENT . disabled) instead of
(EVENT . nil).
Eli Zaretskii [Thu, 2 Aug 2001 13:56:54 +0000 (13:56 +0000)]
(Faces): Document that changing the colors of the `default' face
also changes the fore/background colors on all frames. Add a
cross-reference to the description of how to change colors for one
frame only.
Eli Zaretskii [Thu, 2 Aug 2001 13:54:16 +0000 (13:54 +0000)]
(Creating Frame): One more example of using default-frame-alist.
(Frame Parameters): Mention default-frame-alist and add a cross-reference
to its description.
Code cleanup, speed and consing improvements for uniquify.el.
(uniquify-ref-base, uniquify-ref-filename)
(uniquify-ref-buffer, uniquify-ref-proposed): New functions.
(uniquify-fix-item-base, uniquify-fix-item-filename)
(uniquify-fix-item-buffer, uniquify-fix-item-proposed): Deleted.
Callers changed.
(uniquify-set-proposed): Changed to work with a vector item.
(uniquify-rationalize-file-buffer-names): Use a list of arrays for
the fix list, and a list of strings for the non-file buffer
names. Both changes reduce consing.
(uniquify-rationalize-a-list): Local variable renaming.
(uniquify-rationalize-conflicting-sublist): Use member instead of
assoc.
(uniquify-rename-buffer): Use unless instead of if not.
These changes correct a corner case that the old code managed correctly.
Precisely when you have a buffer visiting a file in the root directory
and then revert it to a file with the same name in a different
directory.
(uniquify-fix-item-proposed): Renamed from
uniquify-fix-item-min-proposed.
(uniquify-set-proposed): New function.
(uniquify-rationalize-file-buffer-names): Code reshuffled for
clarity and speed.
(uniquify-item-greaterp): Substitutes uniquify-item-lessp. This
is equivalent to what the old code did.
(uniquify-rationalize-a-list): Never recompute the proposed
name. Sort the conflicting sublist before rationalising it: this
is equivalent to what the old code did, but one directory element
at a time, and only when necessary.
(uniquify-rationalize-conflicting-sublist): Recompute here the
proposed name.
(uniquify-rationalize-file-buffer-names): Add an
explicit test for " **lose**" buffers generated by
find-alternate-file to avoid an error in particular conditions.