aboutsummaryrefslogtreecommitdiffstats
path: root/src/ChangeLog
diff options
context:
space:
mode:
authorDavid Kastrup2006-09-15 07:19:15 +0000
committerDavid Kastrup2006-09-15 07:19:15 +0000
commitb74e16a384ddbded12eb7e8c7250253614554641 (patch)
tree287d09b973259b6101ae03baec0e0c91c848232a /src/ChangeLog
parent6266eb4a51f75b4e31895cd8d8be1ddd5a18e076 (diff)
downloademacs-b74e16a384ddbded12eb7e8c7250253614554641.tar.gz
emacs-b74e16a384ddbded12eb7e8c7250253614554641.zip
* NEWS: explain new behavior and arguments of `key-binding' and
`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'.
Diffstat (limited to 'src/ChangeLog')
-rw-r--r--src/ChangeLog22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index fbd2e8e38be..b6bbcb8401b 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,25 @@
12006-09-15 David Kastrup <dak@gnu.org>
2
3 * Makefile.in (keymap.o): Add "keymap.h" and "window.h"
4 dependencies.
5
6 * keymap.c: include "window.h".
7 (Fcommand_remapping): New optional POSITION argument.
8 (Fkey_binding): New optional POSITION argument. Completely rework
9 handling of mouse clicks to get the same order of keymaps as
10 `read-key-sequence' and heed POSITION. Also temporarily switch
11 buffers to location of mouse click and back.
12
13 * keyboard.c (command_loop_1): Adjust call of `Fcommand_remapping'
14 for additional argument.
15 (parse_menu_item): Adjust call of `Fkey_binding' for additional
16 argument.
17 (read_key_sequence): If there are both `local-map' and `keymap'
18 text properties at some buffer position, heed both.
19
20 * keymap.h: Declare additional optional arguments of
21 `Fcommand_remapping' and `Fkey_binding'.
22
12006-09-15 Juanma Barranquero <lekktu@gmail.com> 232006-09-15 Juanma Barranquero <lekktu@gmail.com>
2 24
3 * indent.c (Fcurrent_column, Findent_to): Fix typos in docstring. 25 * indent.c (Fcurrent_column, Findent_to): Fix typos in docstring.