Mercurial > hg > xemacs-beta
comparison man/lispref/os.texi @ 5529:3d1f8f0e690f
Add `function-key-map-parent', for non-console-specific `function-key-map' bindings
src/ChangeLog addition:
2011-06-25 Aidan Kehoe <kehoea@parhasard.net>
* console.c:
* console.c (allocate_console):
* console.c (vars_of_console):
* console.c (complex_vars_of_console):
* lisp.h:
Add a new keymap variable, function-key-map-parent; use it as the
parent of each console-specific function-key-map. This is
appropriate for things like x-compose processing.
lisp/ChangeLog addition:
2011-06-25 Aidan Kehoe <kehoea@parhasard.net>
* gtk-init.el:
* gtk-init.el (make-device-late-gtk-entry-point):
* gtk-init.el (gtk-initialize-compose): Removed.
* keymap.el:
* keymap.el (function-key-map-parent):
* x-init.el (x-initialize-compose): Removed.
* x-init.el (make-device-late-x-entry-point):
Make the bindings for dead-acute and friends in
function-key-map-parent, rather than function-key-map; do this in
keymap.el rather than in window-system-specific code, since the
compose processing is generally useful and not X11-specific.
It's probably reasonable to rename x-compose.el to compose.el at
this point, but I haven't done that.
man/ChangeLog addition:
2011-06-25 Aidan Kehoe <kehoea@parhasard.net>
* lispref/os.texi (Translating Input):
Document the just-added function-key-map-parent.
author | Aidan Kehoe <kehoea@parhasard.net> |
---|---|
date | Sat, 25 Jun 2011 14:00:48 +0100 |
parents | 1537701f08a1 |
children | 9fae6227ede5 |
comparison
equal
deleted
inserted
replaced
5528:dc88f282ddc3 | 5529:3d1f8f0e690f |
---|---|
1299 @var{from}-@var{to} pairs may be specified. | 1299 @var{from}-@var{to} pairs may be specified. |
1300 @end defun | 1300 @end defun |
1301 @end ignore | 1301 @end ignore |
1302 | 1302 |
1303 @defvar function-key-map | 1303 @defvar function-key-map |
1304 This variable holds a keymap that describes the character sequences | 1304 This console-local variable holds a keymap that describes the character |
1305 sent by function keys on an ordinary character terminal. This keymap | 1305 sequences sent by function keys on an ordinary character terminal. This |
1306 uses the same data structure as other keymaps, but is used differently: it | 1306 keymap uses the same data structure as other keymaps, but is used |
1307 specifies translations to make while reading events. | 1307 differently: it specifies translations to make while reading events. |
1308 | 1308 |
1309 If @code{function-key-map} ``binds'' a key sequence @var{k} to a vector | 1309 If @code{function-key-map} ``binds'' a key sequence @var{k} to a vector |
1310 @var{v}, then when @var{k} appears as a subsequence @emph{anywhere} in a | 1310 @var{v}, then when @var{k} appears as a subsequence @emph{anywhere} in a |
1311 key sequence, it is replaced with the events in @var{v}. | 1311 key sequence, it is replaced with the events in @var{v}. |
1312 | 1312 |
1333 to make entries in @code{function-key-map} beyond those that can be | 1333 to make entries in @code{function-key-map} beyond those that can be |
1334 deduced from Termcap and Terminfo. @xref{Terminal-Specific}. | 1334 deduced from Termcap and Terminfo. @xref{Terminal-Specific}. |
1335 | 1335 |
1336 Emacs versions 18 and earlier used totally different means of detecting | 1336 Emacs versions 18 and earlier used totally different means of detecting |
1337 the character sequences that represent function keys. | 1337 the character sequences that represent function keys. |
1338 @end defvar | |
1339 | |
1340 @defvar function-key-map-parent | |
1341 The parent keymap of @code{function-key-map} is a non-console-local keymap, | |
1342 @code{function-key-map-parent}, and any additions to | |
1343 @code{function-key-map} that are not specific to a given console should | |
1344 normally go into @code{function-key-map-parent} rather than | |
1345 @code{function-key-map}. | |
1338 @end defvar | 1346 @end defvar |
1339 | 1347 |
1340 @defvar key-translation-map | 1348 @defvar key-translation-map |
1341 This variable is another keymap used just like @code{function-key-map} | 1349 This variable is another keymap used just like @code{function-key-map} |
1342 to translate input events into other events. It differs from | 1350 to translate input events into other events. It differs from |