comparison etc/NEWS @ 85106:fd282fb888de

Add new `input-decode-map' keymap and use it for temrinal escape sequences. * keyboard.h (struct kboard): Add Vinput_decode_map. Remove Vlocal_key_translation_map. * keyboard.c (read_key_sequence): Add support for input-decode-map. (init_kboard): Init input-decode-map. Replace local-key-translation-map back with key-translation-map. (syms_of_keyboard): Declare input-decode-map. Remove local-key-translation-map. Update docstrings. (mark_kboards): Mark Vinput_decode_map. Don't mark Vlocal_key_translation_map. * keymap.c (Fdescribe_buffer_bindings): Describe input-decode-map. Replace local-key-translation-map back with key-translation-map. * term.c (term_get_fkeys_1, CONDITIONAL_REASSIGN): Bind in input-decode-map rather than function-key-map.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Tue, 09 Oct 2007 05:05:39 +0000
parents c04703192cb6
children d900b8e10003
comparison
equal deleted inserted replaced
85105:ba4f1a829f83 85106:fd282fb888de
255 ** The function `dired-call-process' has been removed. 255 ** The function `dired-call-process' has been removed.
256 256
257 257
258 * Lisp Changes in Emacs 23.1 258 * Lisp Changes in Emacs 23.1
259 259
260 ** New keymap `input-decode-map' overrides like key-translation-map, but
261 applies before function-key-map. Also it is terminal-local contrary to
262 key-translation-map. Terminal-specific key-sequences are generally added to
263 this map rather than to function-key-map now.
264
260 ** Changes related to multiple tty support. 265 ** Changes related to multiple tty support.
261 266
262 *** $TERM is now set to `dumb' for subprocesses. If you want to know the 267 *** $TERM is now set to `dumb' for subprocesses. If you want to know the
263 $TERM inherited by Emacs you will have to look inside initial-environment. 268 $TERM inherited by Emacs you will have to look inside initial-environment.
264 269
287 respectively. The functions are called with the terminal id of the frame 292 respectively. The functions are called with the terminal id of the frame
288 being suspended/resumed as a parameter. 293 being suspended/resumed as a parameter.
289 294
290 *** New functions: `environment', `let-environment'. 295 *** New functions: `environment', `let-environment'.
291 296
292 *** New variables: `local-key-translation-map', `local-function-key-map'. 297 *** New variable: `local-function-key-map'.
293 These are in addition to the global key-translation-map and 298 This in addition to the global function-key-map variable that already existed.
294 function-key-map variables that already existed.
295
296 ??? How do the new variables relate to the old ones?
297 299
298 *** `initial-environment' holds the environment inherited from Emacs's parent. 300 *** `initial-environment' holds the environment inherited from Emacs's parent.
299 301
300 *** The `keyboard-translate-table' variable and the terminal and 302 *** The `keyboard-translate-table' variable and the terminal and
301 keyboard coding systems have been made terminal-local. 303 keyboard coding systems have been made terminal-local.