Mercurial > emacs
diff README.multi-tty @ 83325:9e41c80c6389
Work around nondeterministic binding of terminal-local variables. (Fixes national character input on ttys.)
* src/data.c (Fterminal_local_value, Fset_terminal_local_value): New functions.
(syms_of_data): Defsubr them.
* lisp/international/encoded-kb.el (encoded-kbd-setup-keymap): Add keymap
parameter. Use it instead of changing key-translation-map directly.
(encoded-kbd-setup-display): Use terminal-local-value and
set-terminal-local-value to access key-translation-map. Remove
debugging messages.
* lisp/international/mule.el (keyboard-coding-system): Test for
encoded-kbd-setup-display, not encoded-kbd-mode.
* src/keyboard.c (syms_of_keyboard): Expand docs of terminal-local
variables to warn about their random bindings.
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-365
author | Karoly Lorentey <lorentey@elte.hu> |
---|---|
date | Mon, 27 Jun 2005 02:08:34 +0000 |
parents | 666b48e39a5a |
children | f2eb4324cbaf |
line wrap: on
line diff
--- a/README.multi-tty Mon Jun 27 00:57:09 2005 +0000 +++ b/README.multi-tty Mon Jun 27 02:08:34 2005 +0000 @@ -325,10 +325,16 @@ alias gnus="connect-emacs gnus" +CHANGELOG +--------- + +See arch logs. + + NEWS ---- -For the NEWS file: (Needs work) +For the NEWS file: (Needs much, much work) ** Support for multiple terminal devices has been added. @@ -346,12 +352,13 @@ *** A make-frame-on-tty function has been added to make it easier to create frames on new terminals. -*** New functions: frame-tty-name, frame-tty-type for accessing - terminal parameters, and delete-tty for closing the terminal - device. +*** New functions: frame-tty-name, frame-tty-type, delete-tty, + terminal-local-value, set-terminal-local-value -*** talk.el has been extended for multiple tty support. +*** New variables: global-key-translation-map +*** The keymaps key-translation-map and function-key-map are now + terminal-local. ** Support for simultaneous graphical and terminal frames has been added. @@ -364,10 +371,8 @@ *** The new `initial-window-system' variable contains the `window-system' value for the first frame. -CHANGELOG ---------- +*** talk.el has been extended for multiple tty support. -See arch logs. * * * @@ -1073,4 +1078,17 @@ (Done, by making `function-key-map' terminal-local (i.e., part of struct kboard). This has probably covered all the remaining problems.) +-- Make `function-key-map' and `key-translation-map' terminal-local. + + (Done.) + +-- Implement `terminal-local-value' and `set-terminal-local-value' to + allow deterministic access to terminal local bindings. The + encode-kb package can not set up `key-translation-map' without + these. The terminal-local bindings seem to be independent of what + frame is selected. + + (Done.) + ;;; arch-tag: 8da1619e-2e79-41a8-9ac9-a0485daad17d +