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
Karl Heuer
b31a42188c
(Flookup_key): Doc fix.
1996-01-04 23:02:52 +00:00
Karl Heuer
d964248c51
(Fkey_binding): Handle text-property keymaps.
...
Include puresize.h.
(store_in_keymap): Check PURE_P (def) and copy if nec.
1995-12-21 17:10:27 +00:00
Richard M. Stallman
b902ac2812
(describe_translation): Insert newline after key description.
1995-10-30 19:33:01 +00:00
Richard M. Stallman
c2b714dee0
(describe_map_tree): New arg always_title. Callers changed.
1995-10-19 00:17:11 +00:00
Richard M. Stallman
352e5dea1e
(describe_vector): Support nested char-tables.
1995-10-12 21:18:42 +00:00
Richard M. Stallman
b5585f5c18
(describe_vector): Use Flength to get length of vector.
1995-10-07 22:00:06 +00:00
Richard M. Stallman
d7bf9bf5e4
(describe_buffer_bindings): Print bindings from
...
Vfunction_key_map and from Vkey_translation_map.
(describe_translation): New function.
(describe_command): Handle vector like string.
(describe_map_tree): New arg TRANSL. Callers changed.
1995-07-28 02:57:41 +00:00
Karl Heuer
fbb908296b
(current_minor_maps): Catch errors in Findirect_function.
...
(current_minor_maps_error): New function.
1995-07-17 22:21:54 +00:00
Richard M. Stallman
107fd03d98
(Vdefine_key_rebound_commands): New variable.
...
(syms_of_keymap): Set up Lisp var.
(Fdefine_key): Put new definition onto Vdefine_key_rebound_commands.
1995-06-17 23:46:27 +00:00
Karl Heuer
e784236dea
(Fkey_binding, describe_buffer_bindings):
...
Check Voverriding_terminal_local_map before Voverriding_local_map.
1995-06-16 05:24:27 +00:00
Karl Heuer
41015a196c
(Flookup_key, Fdefine_key): Use Fevent_convert_list.
1995-06-09 01:15:14 +00:00