1. 10 May, 2002 2 commits
    • Kim F. Storm's avatar
      (current_minor_maps): Fixed resizing of cmm_maps; · cd6db61a
      Kim F. Storm authored
      only update cmm_size if realloc actually succeeds.
      Testing with initial size of 2 elements revealed that using
      realloc on GNU/Linux would cause a random trap in xmalloc
      later on, so I rewrote the code to use malloc/bcopy/free instead
      of realloc.
      cd6db61a
    • Kim F. Storm's avatar
      (Vemulation_mode_map_alists): New variable. · 99cbcaca
      Kim F. Storm authored
      (syms_of_keymap): DEFVAR_LISP it.
      (current_minor_maps): Process keymap alists in that list before
      minor-mode-overriding-map-alist and minor-mode-map-alist.
      99cbcaca
  2. 24 Feb, 2002 1 commit
  3. 23 Feb, 2002 1 commit
    • Kim F. Storm's avatar
      The following changes rework my patch of 2002-02-06 which · a1df473f
      Kim F. Storm authored
      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.
      a1df473f
  4. 07 Feb, 2002 1 commit
  5. 06 Feb, 2002 1 commit
    • Kim F. Storm's avatar
      (Fdefine_key): Allow symbol as KEY argument for · 0c412762
      Kim F. Storm authored
      defining command remapping.  Doc updated.
      (Flookup_key): Remap command through keymap if KEY is a symbol.
      (is_command_symbol): New function.
      (Fkey_binding): Use it.  New optional argument NO-REMAP.  Doc
      updated.  Callers changed.  Perform command remapping via
      recursive call unless that arg is non-nil.
      (where_is_internal): New argument no_remap.  Callers changed.
      Call recursively to find original key bindings for a remapped
      comand unless that arg is non-nil.
      (Fwhere_is_internal): New optional argument NO-REMAP.  Doc
      updated.  Callers changed.  Pass arg to where_is_internal.
      0c412762
  6. 03 Jan, 2002 1 commit
  7. 29 Dec, 2001 1 commit
  8. 28 Dec, 2001 2 commits
  9. 20 Dec, 2001 1 commit
  10. 26 Nov, 2001 1 commit
  11. 23 Nov, 2001 1 commit
  12. 19 Nov, 2001 1 commit
    • Stefan Monnier's avatar
      (Fdescribe_vector): Add `describer' parameter. · d55627cc
      Stefan Monnier authored
      (describe_command, describe_translation): Add dummy second param.
      (describe_map): Call elt_describer with two arguments.
      (describe_vector_princ): Add `fun' parameter.
      Call it instead of the hardcoded `princ'.
      (describe_vector): Add arg `args'.
      Pass it as a new second argument to elt_describer.
      d55627cc
  13. 13 Nov, 2001 1 commit
  14. 07 Nov, 2001 2 commits
  15. 02 Nov, 2001 1 commit
  16. 01 Nov, 2001 1 commit
  17. 28 Oct, 2001 1 commit
  18. 18 Oct, 2001 1 commit
  19. 16 Oct, 2001 1 commit
  20. 14 Oct, 2001 1 commit
  21. 12 Oct, 2001 1 commit
    • Stefan Monnier's avatar
      (Fkey_description): Use empty_string. · 2b6748c0
      Stefan Monnier authored
      (Fdescribe_bindings_internal, describe_buffer_bindings): Remove.
      (syms_of_keymap): Setup inheritance between maps.
      Don't export Sdescribe_bindings_internal any more.
      2b6748c0
  22. 08 Oct, 2001 4 commits
  23. 24 Aug, 2001 1 commit
  24. 22 Aug, 2001 1 commit
  25. 21 Aug, 2001 1 commit
  26. 29 May, 2001 1 commit
  27. 28 May, 2001 1 commit
  28. 16 May, 2001 1 commit
  29. 26 Feb, 2001 2 commits
  30. 24 Feb, 2001 1 commit
  31. 31 Jan, 2001 1 commit
  32. 29 Jan, 2001 2 commits