aboutsummaryrefslogtreecommitdiffstats
path: root/src/keymap.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* (Fdefine_key): Minor doc fix.Richard M. Stallman2007-04-221-2/+2
|
* (Fdefine_key): Fix info ref in doc string.Glenn Morris2007-04-211-1/+2
|
* (Fcommand_remapping): New optional argument.Chong Yidong2007-04-011-20/+30
| | | | | (where_is_internal): Use new keymaps argument. (Fkey_binding): Caller changed.
* (where_is_internal): Scan provided keymaps for command remappingsChong Yidong2007-04-011-9/+16
| | | | rather than calling Fcommand_remapping.
* Fix a comment before `current_minor_maps'.Eli Zaretskii2007-03-241-2/+4
|
* (Fdescribe_buffer_bindings): Check that BUFFER is valid.Juanma Barranquero2007-03-091-0/+2
|
* *** empty log message ***David Kastrup2007-03-021-2/+2
|
* (describe_map): Don't consider prefix keys to be shadowed.Kim F. Storm2007-01-241-2/+6
|
* Add 2007 to copyright years.Glenn Morris2007-01-211-1/+1
|
* (Fdefine_key): Doc fix.Richard M. Stallman2006-12-301-1/+2
|
* (Flookup_key): Doc fix.Juanma Barranquero2006-12-101-14/+15
|
* * keymap.c (Fkey_binding): Check Lisp_Object types before doingChong Yidong2006-10-131-8/+8
| | | | XCAR and XINT.
* (Fdefine_key): Yet another int/Lisp_Object mixup (YAILOM).Stefan Monnier2006-09-281-1/+1
|
* (Fsingle_key_description): For an invalid char, retuenKenichi Handa2006-09-261-3/+9
| | | | "Invalid char code NNNNN".
* (Fsingle_key_description): Fix the last change.Kenichi Handa2006-09-251-1/+1
|
* (Fsingle_key_description): Return unique names forKenichi Handa2006-09-251-5/+12
| | | | generic characters.
* (Fmap_keymap): Docstring mentions about genericKenichi Handa2006-09-231-1/+4
| | | | character.
* Include alloca.h if available.Stefan Monnier2006-09-191-11/+9
| | | | | (Fkey_binding): Only use AREF after checking it's a vector. Remove unused var `window'.
* * NEWS: explain new behavior and arguments of `key-binding' andDavid Kastrup2006-09-151-47/+146
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `command-remapping'. * keymaps.texi (Active Keymaps): Adapt description to use `get-char-property' instead `get-text-property'. Explain how mouse events change this. Explain the new optional argument of `key-binding' and its mouse-dependent lookup. (Searching Keymaps): Adapt description similarly. Explain the new optional argument of `command-remapping'. * Makefile.in (keymap.o): Add "keymap.h" and "window.h" dependencies. * keymap.c: include "window.h". (Fcommand_remapping): New optional POSITION argument. (Fkey_binding): New optional POSITION argument. Completely rework handling of mouse clicks to get the same order of keymaps as `read-key-sequence' and heed POSITION. Also temporarily switch buffers to location of mouse click and back. * keyboard.c (command_loop_1): Adjust call of `Fcommand_remapping' for additional argument. (parse_menu_item): Adjust call of `Fkey_binding' for additional argument. (read_key_sequence): If there are both `local-map' and `keymap' text properties at some buffer position, heed both. * keymap.h: Declare additional optional arguments of `Fcommand_remapping' and `Fkey_binding'.
* * keymap.c (Fkey_binding): Use string position for string objects.Chong Yidong2006-09-111-7/+10
|
* (Fkey_binding): Fix last change.Kim F. Storm2006-09-111-8/+9
|
* * keymap.c (Fkey_binding): Check for local keymap for mouse clickChong Yidong2006-09-111-0/+27
| | | | events.
* (Fdefine_key): If the key binding definition looks like anStefan Monnier2006-07-221-0/+14
| | | | XEmacs-style key sequence, convert it to Emacs's format.
* (Fmap_keymap): Use xsignal1.Kim F. Storm2006-07-181-1/+1
|
* (Fdefine_key, Flookup_key): Use CHECK_VECTOR_OR_STRING.Kim F. Storm2006-07-121-4/+2
|
* * keymap.c (describe_map): Avoid generating duplicate entries ifChong Yidong2006-05-101-1/+3
| | | | the shadowed binding has the same definition.
* (push_key_description): Fix previous change.Kenichi Handa2006-05-091-1/+1
|
* (push_key_description): Handle invalid character key.Kenichi Handa2006-05-091-5/+11
|
* (Fdefine_key): Improve error message when KEY begins with a non-prefix key.Richard M. Stallman2006-04-301-2/+5
|
* (store_in_keymap): Change `def' arg to not be `register'.Stefan Monnier2006-04-261-1/+1
| | | | | Seems to trigger a bug in gcc-amd64 4.0.2 20051125 (Red Hat 4.0.2-8): keymap.c:895: error: address of register variable `def' requested.
* (describe_map): Make "shadowed" warning more verbose.Richard M. Stallman2006-04-181-1/+1
|
* (describe_map): Don't use XINT if we haven't checked INTEGERP.Stefan Monnier2006-04-081-1/+1
|
* (map_keymap): Set tail to Qnil before GCPRO it.Kenichi Handa2006-03-201-0/+1
|
* (describe_map): Shorten string to indicate shadowed binding.Richard M. Stallman2006-03-111-1/+1
|
* * data.c (Findirect_function): Add NOERROR arg. All callers changedKim F. Storm2006-02-101-15/+6
| | | | | | | | to pass Qnil for NOERROR. * keymap.c (current_minor_maps_error): Remove. (current_minor_maps): Pass Qt for NOERROR to Findirect_function instead of using internal_condition_case_1+current_minor_maps_error.
* Update years in copyright notice; nfc.Thien-Thi Nguyen2006-02-061-1/+1
|
* (Fmap_keymap): Doc fix.Richard M. Stallman2006-01-261-1/+1
|
* (Fmap_keymap): Doc fix.Richard M. Stallman2006-01-191-2/+4
|
* (describe_map_compare): Yet another int/Lisp_Object mixup.Stefan Monnier2006-01-031-2/+2
|
* (describe_map): Put sparse map elements into an array,Richard M. Stallman2005-12-301-21/+108
| | | | | | sort them, then output a sequence of identical bindings on one line. (struct describe_map_elt): New data type. (describe_map_compare): New function.
* (Vfunction_key_map): Docstring fix: mention that bindings can be functions.Stefan Monnier2005-12-191-0/+3
|
* (Fset_keymap_parent, store_in_keymap): Use CHECK_IMPURE.Richard M. Stallman2005-12-111-4/+8
| | | | | (Flookup_key): Doc fix. (syms_of_keymap) <function-key-map>: Doc fix.
* (Vminibuffer_local_filename_completion_map)Eli Zaretskii2005-12-021-0/+22
| | | | | | | (Vminibuffer_local_must_match_filename_map): New variables. (syms_of_keymap): DEFVAR_LISP them, initialize them, and set their parent to be Vminibuffer_local_completion_map and Vminibuffer_local_must_match_map, respectively.
* (shadow_lookup): Use make_number to pass a number to Fsubstring.Ken Raeburn2005-11-211-1/+2
|
* (shadow_lookup): If Flookup_key returns a number,Juri Linkov2005-11-091-1/+7
| | | | | call it again with a sub-key-sequence, and if its return value is non-nil (sub-key is bound), return nil.
* (Fdescribe_buffer_bindings): Reload `translate'Kim F. Storm2005-09-121-1/+4
| | | | after insert which runs signal_after_change.
* Update years in copyright notice; nfc.Thien-Thi Nguyen2005-08-071-2/+3
|
* (Fminor_mode_key_binding): Delete duplicate words.Juri Linkov2005-07-181-1/+1
|
* Update FSF's address.Lute Kamstra2005-07-041-2/+2
|
* (where_is_internal): Convert a string used as event type into "(any string)".Richard M. Stallman2005-04-101-2/+17
|