1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-04 02:51:31 -08:00
Commit graph

166 commits

Author SHA1 Message Date
Richard M. Stallman
69eca94c24 (Fmake_keymap): Doc fix. 1998-11-24 04:55:16 +00:00
Richard M. Stallman
47a18cef7c (Fsingle_key_description): Handle generic characters. 1998-11-19 04:30:14 +00:00
Richard M. Stallman
9e175146b4 (push_key_description): Output multibyte char as itself. 1998-07-28 23:10:44 +00:00
Dave Love
055234ef11 Revert erroneous 1998-04-08 change. 1998-04-14 21:02:17 +00:00
Andreas Schwab
dfcf069d56 Fix -Wimplicit warnings. 1998-04-14 12:25:56 +00:00
Karl Heuer
c02a3079ee (fix_submap_inheritance): Fix parens. 1998-04-08 08:24:33 +00:00
Karl Heuer
e13608fb05 (describe_command): Use quotes around symbol name. 1998-04-08 06:43:52 +00:00
Richard M. Stallman
fc932ac6c7 Use STRING_BYTES and SET_STRING_BYTES. 1998-03-21 07:06:14 +00:00
Richard M. Stallman
a3fc8840a3 (fix_submap_inheritance, get_keyelt, store_in_keymap,
copy-keymap, where_is_internal_1): Support new format for menu items.
(syms_of_keymap): New symbol `menu-item'.
1998-03-21 05:53:36 +00:00
Richard M. Stallman
e4b6f8e3fd (describe_map_tree): Add the maps we have already
handled into SUB_SHADOWS.
1998-02-11 01:51:36 +00:00
Richard M. Stallman
6cec169a54 (Fdescribe_bindings_internal):
Renamed from Fdescribe_bindings.  New arg NOMENU.
(syms_of_keymap): Corresponding changes.
(describe_buffer_bindings): Get NOMENU out of the arg list.
Pass it along to describe_map_tree.
Improve text of `alternate_heading'.
1998-02-05 03:31:41 +00:00
Richard M. Stallman
4a2f9c6aef Update copyright year. 1998-01-21 23:32:12 +00:00
Kenichi Handa
d3b8a776ac (Fkey_description): Remember to set i_before.
and use it in all cases.
1998-01-12 12:52:55 +00:00
Kenichi Handa
28246d85b1 (push_key_description): If C >= 128, always use octal representation. 1998-01-12 05:49:45 +00:00
Richard M. Stallman
f3ba54094e (describe_vector): Unconditionally handle multibyte chars.
(describe_vector): Pass new args to insert_from_string.
(Ftext_char_description): Use make_multibyte_string.
(Fkey_binding): Scan PREFIX a char at a time.
(Fkey_description): Scan KEYS by chars.
1998-01-09 23:16:01 +00:00
Richard M. Stallman
64dd362982 (current_minor_maps):
If a variable has an entry in Vminor_mode_overriding_map_alist,
and also an entry in Vminor_mode_map_alist, ignore the latter.
1998-01-02 23:37:19 +00:00
Richard M. Stallman
dd9cda060f (Vminor_mode_overriding_map_alist): New variable.
(syms_of_keymap): Set up Lisp var.
(current_minor_maps): Use Vminor_mode_overriding_map_alist first,
then Vminor_mode_map_alist.
1997-12-26 10:38:56 +00:00
Andreas Schwab
6e06877087 (describe_map): Fix decl of arg ELT_DESCRIBER. 1997-11-28 14:50:36 +00:00
Kenichi Handa
71a956a614 (describe_vector): Declaration fixed (delete `.' at the
tail of type `void'.
(fix_submap_inheritance): Declare it as void.
1997-11-27 12:39:03 +00:00
Andreas Schwab
69248761c1 (copy_keymap_1): Fix return type.
(accessible_keymaps_char_table): Likewise.
(where_is_internal_2): Likewise.
(describe_vector_princ): Likewise.
(Ftext_char_description): Fix type of `str'.
(describe_vector): Likewise.  Protoize parameter.
1997-11-21 15:18:28 +00:00
Karl Heuer
23cf1efa9c (Faccessible_keymaps): Avoid alloca for fixed-size array.
(Fset_keymap_parent, Fcopy_keymap, Fwhere_is_internal): Likewise.
1997-10-16 18:28:41 +00:00
Karl Heuer
60b06e5e8b (Fwhere_is_internal): some minor mode bindings weren't
being found.
1997-10-16 18:13:44 +00:00
Kenichi Handa
bd5d4159b7 (push_key_description): Delete useless `if' statement. 1997-09-25 12:25:01 +00:00
Richard M. Stallman
2e34157cd9 Fix bugs with inappropriate mixing of Lisp_Object with int. 1997-07-04 20:44:52 +00:00
Richard M. Stallman
7cc0629653 (Fcopy_keymap): After copying a sub-char-table, do store the copy. 1997-06-04 21:21:53 +00:00
Richard M. Stallman
6418ea1619 (access_keymap, store_in_keymap): Don't look in a char-table
for a character that has modifier bits.
1997-05-23 17:33:32 +00:00
Richard M. Stallman
bee3fc83fc (copy_keymap_1): Do nothing if ELT isn't a keymap. 1997-05-18 19:06:16 +00:00
Kenichi Handa
4b9171878a Declare Fcopy_keymap as Lisp_Object in advance to
avoid compiler error.
1997-05-16 00:43:22 +00:00
Richard M. Stallman
542d7fd2ba (describe_vector): Identify charset row numbers clearly. 1997-05-14 05:47:07 +00:00
Richard M. Stallman
0403641fca (get_keyelt): Handle an indirect entry with meta char.
(describe_vector): Rewrite char-table handling.

(Fmake_keymap): Make a char-table.
(access_keymap, store_in_keymap): Likewise,
(describe_map, Fset_keymap_parent, Faccessible_keymaps): Likewise.
(Fwhere_is_internal, Fcopy_keymap): Handle a char-table.
(copy_keymap_1, accessible_keymaps_char_table): New subroutines.
(where_is_internal_1, where_is_internal_2): New functions.
(syms_of_keymap): Set up Qchar_table_extra_slots prop on Qkeymap.
1997-05-13 19:41:21 +00:00
Richard M. Stallman
cc3e64653b (describe_vector): Test for suppressed commands in
all cases.  Call get_keyelt with two arguments.
1997-04-19 22:59:20 +00:00
Richard M. Stallman
67fc16a3bf (Faccessible_keymaps): Convert PREFIX to a vector
at the beginning, if it has any definition.
1997-04-19 22:52:28 +00:00
Kenichi Handa
a1942d8859 (describe_vector): Adjusted for the new structure of Lisp_Char_Table. 1997-04-07 07:12:13 +00:00
Richard M. Stallman
97ae4b8947 (Faccessible_keymaps): When metizing, convert a
string to a vector.  But don't metize a character that is part of PREFIX.
1997-03-30 19:58:28 +00:00
Kenichi Handa
1df19f0203 (describe_vector): Adjusted for the change of CHAR_TABLE_ORDINARY_SLOTS.
(push_key_description): A key code less than 512 is printed with 3
octal numbers.  Print only entries of valid charsets.
1997-03-18 23:31:34 +00:00
Kenichi Handa
a20aa7210c (describe_vector): Do not descibe deeper char-table if
enable-multibyte-characters is nil.
1997-02-27 07:49:24 +00:00
Karl Heuer
a98f1d1dbc Include charset.h.
(push_key_description): If enable-multibyte-characters is t, use
octal representation for a code of range 128..255 as binary.
(Ftext_char_description): Handle multibyte characters.
(describe_vector): Provide prettier description of a char table
which contains multibyte characters.
1997-02-20 06:51:14 +00:00
Richard M. Stallman
b8cab0060c (push_key_description): Print C-j, not TAB. 1997-01-17 07:07:20 +00:00
Richard M. Stallman
91f64ec29e (describe_buffer_bindings): Pass 1 for PARTIAL
in some calls to describe_map_tree.
1996-10-26 16:01:22 +00:00
Erik Naggum
a3e99933ee (syms_of_keymap): staticpro global_map. 1996-09-17 16:19:07 +00:00
Richard M. Stallman
44bff95343 (syms_of_keymap): staticpro current_global_map; 1996-09-04 16:09:43 +00:00
Richard M. Stallman
2a5af1cf4f (Fset_keymap_parent): Return early if KEYMAP already has the proper parent. 1996-06-12 21:47:59 +00:00
Richard M. Stallman
3393c3f5d3 (fix_submap_inheritance): If parent_entry is not a keymap, use nil instead. 1996-06-10 18:19:25 +00:00
Richard M. Stallman
7d58ed9927 (Fkeymap_parent, Fset_keymap_parent): New functions.
(fix_submap_inheritance): New function.
(access_keymap): Use fix_submap_inheritance.
1996-06-06 20:25:48 +00:00
Richard M. Stallman
178f24298f (Fuse_global_map, Fuse_local_map): Don't call record_asynch_buffer_change. 1996-03-03 19:29:10 +00:00
Karl Heuer
c3f270649d (Faccessible_keymaps): Doc fix.
(describe_command): Sometimes use col 32 for desc.
Record that col in previous_description_column for hysteresis.
(describe_map): Clear out previous_description_column.
1996-01-24 23:42:32 +00:00
Erik Naggum
3b7ad313e0 Update FSF's address in the preamble. 1996-01-15 09:18:04 +00:00
Karl Heuer
279a482ab2 (describe_map): New arg nomenu.
(describe_map_tree): Pass that arg.
1996-01-09 23:39:59 +00:00
Karl Heuer
9cd8b13ac2 (Fapropos_internal): Fix previous change. 1996-01-09 03:16:51 +00:00
Erik Naggum
88539837f7 (Fkeymapp, Fdefine_prefix_command, Faccessible_keymaps,
Ftext_char_description, Fapropos_internal): Harmonize arguments with
documentation.
1996-01-09 00:33:04 +00:00