Kenichi Handa [Fri, 1 Mar 2002 01:13:23 +0000 (01:13 +0000)]
Include "character.h".
(copy_category_entry): New function.
(copy_category_table): Call map_char_table and copy_category_entry.
(Fmake_category_table): Initialize all top-vel slots.
(char_category_set): New function.
(modify_lower_category_set): Deleted.
(Fmodify_category_entry): Call char_table_ref_and_range.
Kenichi Handa [Fri, 1 Mar 2002 01:11:39 +0000 (01:11 +0000)]
Include "character.h" instead of "charset.h".
(set_canon, set_identity, shuffle): Adjusted for the new
map_char_table spec.
(init_casetab_once): Call CHAR_TABLE_SET instead of directly
accessing the char table structure.
Kenichi Handa [Fri, 1 Mar 2002 01:06:56 +0000 (01:06 +0000)]
Include "character.h" instead of "charset.h".
(Fmake_char_table): Moved to chartab.c.
(make_sub_char_table): Likewise.
(syms_of_alloc): Remove defsubr for Smake_char_table.
Kenichi Handa [Fri, 1 Mar 2002 01:01:48 +0000 (01:01 +0000)]
(obj): Add character.o and chartab.o.
(lisp, shortlisp): Remove utf-8.elc:
(*.o): For many files, change dependency on charset.h to
character.h, and add dependency on character.h.
(character.o, chartab.o): New targets.
Kim F. Storm [Tue, 26 Feb 2002 22:55:08 +0000 (22:55 +0000)]
(init_iterator): Compare with Vminibuf_selected_window
instead of Vminibuf_scroll_window when deciding in which window
the region should be highlighted. Consequently, the region remains
highlighted even when a completion buffer is also displayed.
Kim F. Storm [Tue, 26 Feb 2002 22:50:55 +0000 (22:50 +0000)]
(Vminibuf_selected_window): New variable.
(struct save_window_data): New member minibuf_selected_window.
(Fset_window_configuration): Restore Vminibuf_selected_window.
(Fcurrent_window_configuration): Save Vminibuf_selected_window.
Set minibuf_scroll_window member to nil if minibuf_level is 0.
(compare_window_configurations): Compare minibuf_selected_window.
(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.