(winner-boring-buffers, winner-set): A window which
displays a buffer whose name is in the list `winner-boring-buffers'
will no longer be restored by `winner-undo'.
(winner-sorted-window-list): Used to improve comparison between
window configurations.
(winner-win-data): Simplified and moved.
(winner-conf): Simplified (now uses `winner-win-data').
(winner-change-fun, winner-save-old-configurations)
(winner-save-(un)conditionally, winner-redo): Changes made while in
the minibuffer will be ignored. (Such changes are undone upon
exit for the minibuffer, anyway.)
(winner-set-conf): Preserve selected window whenever possible.
(winner-make-point-alist): Simplified.
(winner-mode, winner-save-unconditionally): Save current window
configuration on entering minibuffer.
(minor-mode-alist): Don't add winner-mode to `minor-mode-alist',
since it does not change the overall behavior of Emacs.
Eli Zaretskii [Tue, 26 Feb 2002 15:58:43 +0000 (15:58 +0000)]
(compound-text): Renamed back from compound-text-no-extensions.
(ctext-no-compositions): Remove the mime-charset property.
(compound-text-with-extensions): Renamed from compound-text.
(x-ctext-with-extensions, ctext-with-extensions): Renamed aliases.
Jason Rumney [Sun, 24 Feb 2002 18:39:16 +0000 (18:39 +0000)]
(WINNT_SUPPORT, MOUSE_SUPPORT, lisp): Revert to using .elc files.
(lisp): Sync with list in src/Makefile.in
(VMS_SUPPORT, MSDOS_SUPPORT): Define, so DOC files can be shared.
Kim F. Storm [Sun, 24 Feb 2002 00:24:37 +0000 (00:24 +0000)]
(Flookup_key): Fixed problem in 2001-12-28 patch:
The validation of the event type was too strict as it didn't
allow string events; buffer names are used in bindings for
menu-bar-select-buffer (see `menu-bar-update-buffers').
Kim F. Storm [Sat, 23 Feb 2002 22:00:37 +0000 (22:00 +0000)]
The following changes rework my patch of 2002-02-06 which
added command remapping by entering the commands directly into
the keymaps. Now, command remapping uses an explicit `remap'
prefix in the keymaps, i.e. [remap COMMAND].
(Qremap, remap_command_vector): New variables.
(is_command_symbol): Removed function.
(Fdefine_key): No longer accept a symbol for KEY. Added
validation of [remap COMMAND] argument for KEY. The DEF is no
longer required to be a symbol when remapping a command.
(Fremap_command): New function to remap command through keymaps.
(Flookup_key): Perform command remapping initiated by
Fremap_command directly for speed.
(Fkey_binding): Use Fremap_command for command remapping.
(where_is_internal): Handle new command remapping representation.
(syms_of_keymap): Intern Qremap, initialize remap_command_vector,
staticpro them. Defsubr Fremap_command.
Colin Walters [Sat, 23 Feb 2002 21:34:11 +0000 (21:34 +0000)]
(shell-pcomplete, shell-pcomplete-reverse): New functions.
(toplevel): Bind them.
(shell-mode): Don't set `comint-dynamic-complete-functions'; it is
not necessary now that we use pcomplete.
Jason Rumney [Sat, 23 Feb 2002 18:12:30 +0000 (18:12 +0000)]
(Fw32_set_clipboard_data): Run pre-write-conversion
on the string before encoding it.
(Fw32_get_clipboard_data): Run post-read-conversion on the string
after decoding it.
Jason Rumney [Sat, 23 Feb 2002 00:07:22 +0000 (00:07 +0000)]
(mouse_move_timer, mouse_button_timer): Initialize.
(menu_free_timer): New variable.
(MENU_FREE_ID, MENU_FREE_DELAY): New constants.
(w32_wnd_proc) <WM_TIMER>: Handle menu_free_timer.
<WM_EXITMENULOOP>: Delay before freeing menu. Do nothing if a
menu command is in progress.
<WM_COMMAND>: Set the menu_command_in_progress flag. Kill
any menu_free_timer that is running.
(snake-velocity-queue, snake-update-velocity)
(snake-final-x-velocity, snake-final-y-velocity):
New variable and functions. Store user's keypresses
into a queue and pop from the queue each subsequent turn.
(snake-update-game, snake-move-left)
(snake-move-right, snake-move-up, snake-move-down, snake-active-p)
(snake-start-game): Use that queue.
(snake-use-glyphs-flag): Renamed from snake-use-glyphs.
(snake-use-color-flag): Likewise.
(snake-mode): Rename uses of those variables.
Eli Zaretskii [Fri, 22 Feb 2002 14:09:07 +0000 (14:09 +0000)]
(Fw16_set_clipboard_data): Run pre-write-conversion
on the string before encoding it.
(Fw16_get_clipboard_data): Run post-read-conversion on the string
after decoding it.
Eli Zaretskii [Fri, 22 Feb 2002 13:44:59 +0000 (13:44 +0000)]
(ctext-no-compositions): New coding system.
(compount-text-no-extensions): Renamed from compound-text.
(x-ctext-no-extensions, ctext-no-extensions): Aliases for
compound-text-no-extensions.
(compound-text): Redefined using post-read and pre-write
conversions.
Eli Zaretskii [Fri, 22 Feb 2002 13:44:21 +0000 (13:44 +0000)]
(non-standard-icccm-encodings-alist, non-standard-designations-alist): New
variables.
(ctext-post-read-conversion, ctext-pre-write-conversion): New functions.
Eli Zaretskii [Fri, 22 Feb 2002 13:16:35 +0000 (13:16 +0000)]
<Qcompound_text_with_extensions>: New variable.
(syms_of_xselect): Intern and staticpro it.
(selection_data_to_lisp_data): Run post-read-conversion on decoded
selection text.
(lisp_data_to_selection_data): If next-selection-coding-system is
compound-text-with-extensions, set the type of selection to be
compound-text.
Eli Zaretskii [Fri, 22 Feb 2002 13:14:27 +0000 (13:14 +0000)]
(x_encode_text): Accept additional arg SELECTIONP; all
callers changed. If SELECTIONP is non-zero, run the
pre-write-conversion function before encoding the selection text.
André Spiegel [Thu, 21 Feb 2002 21:00:35 +0000 (21:00 +0000)]
Patch by Jonathan Kamens <jik@kamens.brookline.ma.us>.
(vc-default-init-version): Update documentation to
indicate that the backend can override the default init version.
(vc-register): Use the backend init-version function, if it exists, to
determine the initial version of a file.
(vc-diff-switches-list): Don't symbol-quote backend, since it's
already a symbol. Don't fail if vc-BACKEND-diff-switches isn't bound.
André Spiegel [Thu, 21 Feb 2002 20:56:58 +0000 (20:56 +0000)]
Patch by Jonathan Kamens <jik@kamens.brookline.ma.us>.
(vc-mode-line): Set vc-mode to nil if the file is
not version-controlled. This is necessary, e.g., if the file has
just been reverted, and thus was previously under version control
but isn't any longer.
(vc-find-file-hook): Likewise.
André Spiegel [Thu, 21 Feb 2002 20:16:47 +0000 (20:16 +0000)]
Patch by Martin.Lorentzson@telia.com.
(vc-cvs-sticky-date-format-string): New variable.
(vc-cvs-sticky-tag-display): New variable.
(vc-cvs-mode-line-string): Add sticky-tag to the mode-line.
(vc-cvs-checkin): If the input revision is a valid symbolic tag
name, we create it as a branch, commit and switch to it.
(vc-cvs-retrieve-snapshot): Set file-property sticky-tag.
(vc-cvs-valid-symbolic-tag-name-p): New function.
(vc-cvs-parse-sticky-tag): New function.
(vc-cvs-parse-entry): Added parsing of sticky tags.