1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-20 10:23:57 +00:00
Commit Graph

91 Commits

Author SHA1 Message Date
David Kastrup
7468673682 (Searching Keymaps): Small clarification. 2006-09-19 08:01:33 +00:00
Richard M. Stallman
2a27a16b88 (Creating Keymaps): Explain that keymap prompt strings cause keyboard menus.
(Menu Keymaps): Likewise.
(Defining Menus, Keyboard Menus): Clarify.
2006-09-18 22:48:49 +00:00
Richard M. Stallman
74f526f33b (Remapping Commands, Searching Keymaps)
(Active Keymaps): Clean up previous change.
2006-09-15 18:29:06 +00:00
David Kastrup
b74e16a384 * 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'.
2006-09-15 07:19:15 +00:00
Richard M. Stallman
412aacf950 (Searching Keymaps): Clarification.
(Active Keymaps): Refer to Searching Keymaps instead of duplication.
2006-09-15 01:04:15 +00:00
Richard M. Stallman
4e963ca816 *** empty log message *** 2006-09-11 14:34:16 +00:00
Chong Yidong
3250aca208 * keymaps.texi (Active Keymaps): Mention that key-binding checks
local maps.
2006-09-11 02:39:16 +00:00
Richard M. Stallman
0007b8a660 (Extended Menu Items): Show format of cached bindings in extended menu items. 2006-08-16 05:11:54 +00:00
Richard M. Stallman
f044bf2711 (Translation Keymaps): New node.
Update xrefs from Translating Input to Translation Keymaps.
2006-07-31 18:37:18 +00:00
Richard M. Stallman
827b7ee7c2 Put period and comma inside quotes. 2006-07-18 00:08:15 +00:00
Eli Zaretskii
cdbd783c68 (Tool Bar): Remove @tindex. 2006-07-08 18:07:32 +00:00
Richard M. Stallman
fc0804c447 (Changing Key Bindings): Cleanup.
Add xref to Key Binding Conventions.
2006-07-05 17:07:29 +00:00
Chong Yidong
917b822756 * keymaps.texi (Key Sequences): Link to input events definition.
(Format of Keymaps): Delete material duplicated in Keymap Basics.
2006-05-27 14:56:11 +00:00
Richard M. Stallman
b3540319ff (Keymap Basics): New node, split out of Key Sequences.
(Keymaps): Update menu.
2006-05-25 17:03:30 +00:00
Chong Yidong
39a9bed31b * keymaps.texi (Key Sequences): Some clarifications. 2006-05-25 16:48:37 +00:00
Chong Yidong
08244b8144 * keymaps.texi (Key Sequences): Renamed from Keymap Terminology.
Explain string and vector representations of key sequences

	* keymaps.texi (Changing Key Bindings):
	* commands.texi (Interactive Codes, Interactive Codes):
	* help.texi (Describing Characters): Refer to it.
2006-05-25 04:51:50 +00:00
Eli Zaretskii
e98a14ffeb (Active Keymaps): Fix pseudo-Lisp syntax.
(Searching Keymaps): Fix pseudo-Lisp description of keymap search.
2006-05-05 12:27:06 +00:00
Kim F. Storm
7e50c0333f (Tool Bar): Add tool-bar-border. 2006-03-02 22:34:58 +00:00
Richard M. Stallman
91055930f5 (Key Lookup): Clarify wrt commands vs other functions.
(Changing Key Bindings): Clarify when remapping is better than
substitute-key-definition.
2006-02-08 00:26:37 +00:00
Thien-Thi Nguyen
ceb4c4d303 Update years in copyright notice; nfc. 2006-02-06 12:31:40 +00:00
Richard M. Stallman
59e5873859 (Active Keymaps): Clarifications.
(Searching Keymaps): New node.
(Keymaps): Update menu.
2006-02-02 16:34:29 +00:00
Eli Zaretskii
7fdc81ab35 Fix typos. 2006-01-07 18:41:50 +00:00
Stefan Monnier
d64b177ae9 (Format of Keymaps): Remove mention of a quirk
in full keymaps, since the quirk has been fixed.
2005-12-05 19:42:10 +00:00
Thien-Thi Nguyen
651f374c99 Update years in copyright notice; nfc. 2005-08-10 14:29:01 +00:00
Richard M. Stallman
fdb4850865 (Menu Bar): Fix xref. 2005-08-09 23:31:36 +00:00
Richard M. Stallman
b68f60d703 (Key Binding Commands): Call binding BINDING rather than DEFINITION. 2005-07-03 16:36:23 +00:00
Richard M. Stallman
171920a661 (Creating Keymaps): Put make-sparse-keymap before make-keymap. 2005-06-28 18:51:02 +00:00
Richard M. Stallman
342fd6cd64 Fix formatting ugliness. 2005-06-18 13:57:17 +00:00
Luc Teirlinck
ca1b09140b (Active Keymaps): Add anchor. 2005-05-19 23:38:12 +00:00
Richard M. Stallman
bf58181a31 (Extended Menu Items): Menu item filter functions
can be called at any time.
2005-05-10 09:15:49 +00:00
Luc Teirlinck
c5568a11c0 (Prefix Keys): M-g is still a prefix key. 2005-03-28 03:17:53 +00:00
Luc Teirlinck
f141c9bb1c (Prefix Keys): facemenu-keymap is now on M-o. 2005-03-28 02:28:49 +00:00
Richard M. Stallman
35c14f98b1 (Menu Separators, Tool Bar): Get rid of "Emacs 21".
(Menu Bar): Fix when menu-bar-update-hook is called.
2005-03-06 18:17:08 +00:00
Richard M. Stallman
8a36c244a5 (Keymaps): Clarify.
(Format of Keymaps): Update lisp-mode-map example.
(Active Keymaps, Key Lookup): Clarify.
(Changing Key Bindings): Add xref to `kbd'.
(Key Binding Commands, Simple Menu Items): Clarify.
(Mouse Menus, Menu Bar): Clarify.
(Menu Example): Replace print example with menu-bar-replace-menu.
2005-02-27 00:00:41 +00:00
Luc Teirlinck
cd7e5dd67d (Changing Key Bindings): `suppress-keymap' now uses command remapping. 2005-01-17 02:44:58 +00:00
Luc Teirlinck
8ed9e36a4d (Active Keymaps): Correct typo. 2005-01-13 23:19:47 +00:00
Richard M. Stallman
d38edfc317 (Active Keymaps): Rewrite the text, and update the
descriptions of overriding-local-map and overriding-terminal-local-map.
2005-01-13 20:02:09 +00:00
Thien-Thi Nguyen
910f60b165 (Active Keymaps): Fix overriding-local-map description. 2005-01-13 08:02:42 +00:00
Luc Teirlinck
db8af011af Various changes in addition to:
(Keymap Terminology): `kbd' uses same syntax as Edit Macro mode.
Give more varied examples for `kbd'.
(Creating Keymaps): Char tables have slots for all characters
without modifiers.
(Active Keymaps): `overriding-local-map' and
`overriding-terminal-local-map' also override text property and
overlay keymaps.
(Functions for Key Lookup): Mention OLP arg to `current-active-maps'.
(Scanning Keymaps): `accessible-keymaps' uses `[]' instead of `""'
to denote a prefix of no events.
`map-keymap' includes parent's bindings _recursively_.
Clarify and correct description of `where-is-internal'.
Mention BUFFER-OR-NAME arg to `describe-bindings'.
(Menu Example): For menus intended for use with the keyboard, the
menu items should be bound to characters or real function keys.
2004-08-10 15:45:54 +00:00
Richard M. Stallman
402fe42394 (Keymap Terminology): Document `kbd'.
(Changing Key Bindings, Key Binding Commands): Use kbd in examples.
2004-06-24 20:16:02 +00:00
Jesper Harder
4810d170c9 Markup fixes. 2004-04-16 16:42:36 +00:00
Jesper Harder
f3544d1135 Markup fixes. 2004-04-14 14:37:17 +00:00
Richard M. Stallman
6d682d424e (Tool Bar): tool-bar-item => tool-bar-button. 2004-02-17 00:52:50 +00:00
Eli Zaretskii
ad800164c8 Replace @sc{foo} with @acronym{FOO}. 2003-11-02 06:29:59 +00:00
Dave Love
79dc1dfcc0 Non-ASCII in menus. 2003-10-06 16:41:55 +00:00
Richard M. Stallman
b0110b4a2c (Remapping Commands): Fix typo. 2003-09-22 15:47:21 +00:00
Miles Bader
ab5796a9f9 Add arch taglines 2003-09-01 15:45:59 +00:00
Richard M. Stallman
229644e7b1 (Format of Keymaps): Keymaps contain char tables, not vectors.
(Active Keymaps): Add emulation-mode-map-alists.
(Functions for Key Lookup): key-binding has new arg no-remap.
(Remapping Commands): New node.
(Scanning Keymaps): where-is-internal has new arg no-remap.
(Tool Bar): Add tool-bar-local-item-from-menu.
Clarify when to use tool-bar-add-item-from-menu.
2003-08-13 17:21:57 +00:00
Richard M. Stallman
0f2018645b (Functions for Key Lookup): Add current-active-maps.
(Scanning Keymaps): Add map-keymaps.
(Defining Menus): Add keymap-prompt.
2003-07-14 16:03:04 +00:00
Juanma Barranquero
177c0ea743 Trailing whitespace deleted. 2003-02-04 14:56:31 +00:00