diff options
| author | Karoly Lorentey | 2005-06-27 02:08:34 +0000 |
|---|---|---|
| committer | Karoly Lorentey | 2005-06-27 02:08:34 +0000 |
| commit | 2a42d44084e05d60f28a51609aa7c12fb547fffe (patch) | |
| tree | cdaa000810271e1898e8adfeb9b7760710c9547d /README.multi-tty | |
| parent | e589efa546443ad7a61ec3867b46cda884d22de5 (diff) | |
| download | emacs-2a42d44084e05d60f28a51609aa7c12fb547fffe.tar.gz emacs-2a42d44084e05d60f28a51609aa7c12fb547fffe.zip | |
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
Diffstat (limited to 'README.multi-tty')
| -rw-r--r-- | README.multi-tty | 34 |
1 files changed, 26 insertions, 8 deletions
diff --git a/README.multi-tty b/README.multi-tty index f06500f4a73..f1e7277ed1e 100644 --- a/README.multi-tty +++ b/README.multi-tty | |||
| @@ -325,10 +325,16 @@ following: | |||
| 325 | alias gnus="connect-emacs gnus" | 325 | alias gnus="connect-emacs gnus" |
| 326 | 326 | ||
| 327 | 327 | ||
| 328 | CHANGELOG | ||
| 329 | --------- | ||
| 330 | |||
| 331 | See arch logs. | ||
| 332 | |||
| 333 | |||
| 328 | NEWS | 334 | NEWS |
| 329 | ---- | 335 | ---- |
| 330 | 336 | ||
| 331 | For the NEWS file: (Needs work) | 337 | For the NEWS file: (Needs much, much work) |
| 332 | 338 | ||
| 333 | ** Support for multiple terminal devices has been added. | 339 | ** Support for multiple terminal devices has been added. |
| 334 | 340 | ||
| @@ -346,12 +352,13 @@ For the NEWS file: (Needs work) | |||
| 346 | *** A make-frame-on-tty function has been added to make it easier to | 352 | *** A make-frame-on-tty function has been added to make it easier to |
| 347 | create frames on new terminals. | 353 | create frames on new terminals. |
| 348 | 354 | ||
| 349 | *** New functions: frame-tty-name, frame-tty-type for accessing | 355 | *** New functions: frame-tty-name, frame-tty-type, delete-tty, |
| 350 | terminal parameters, and delete-tty for closing the terminal | 356 | terminal-local-value, set-terminal-local-value |
| 351 | device. | ||
| 352 | 357 | ||
| 353 | *** talk.el has been extended for multiple tty support. | 358 | *** New variables: global-key-translation-map |
| 354 | 359 | ||
| 360 | *** The keymaps key-translation-map and function-key-map are now | ||
| 361 | terminal-local. | ||
| 355 | 362 | ||
| 356 | ** Support for simultaneous graphical and terminal frames has been | 363 | ** Support for simultaneous graphical and terminal frames has been |
| 357 | added. | 364 | added. |
| @@ -364,10 +371,8 @@ For the NEWS file: (Needs work) | |||
| 364 | *** The new `initial-window-system' variable contains the | 371 | *** The new `initial-window-system' variable contains the |
| 365 | `window-system' value for the first frame. | 372 | `window-system' value for the first frame. |
| 366 | 373 | ||
| 367 | CHANGELOG | 374 | *** talk.el has been extended for multiple tty support. |
| 368 | --------- | ||
| 369 | 375 | ||
| 370 | See arch logs. | ||
| 371 | 376 | ||
| 372 | * * * | 377 | * * * |
| 373 | 378 | ||
| @@ -1073,4 +1078,17 @@ DIARY OF CHANGES | |||
| 1073 | (Done, by making `function-key-map' terminal-local (i.e., part of | 1078 | (Done, by making `function-key-map' terminal-local (i.e., part of |
| 1074 | struct kboard). This has probably covered all the remaining problems.) | 1079 | struct kboard). This has probably covered all the remaining problems.) |
| 1075 | 1080 | ||
| 1081 | -- Make `function-key-map' and `key-translation-map' terminal-local. | ||
| 1082 | |||
| 1083 | (Done.) | ||
| 1084 | |||
| 1085 | -- Implement `terminal-local-value' and `set-terminal-local-value' to | ||
| 1086 | allow deterministic access to terminal local bindings. The | ||
| 1087 | encode-kb package can not set up `key-translation-map' without | ||
| 1088 | these. The terminal-local bindings seem to be independent of what | ||
| 1089 | frame is selected. | ||
| 1090 | |||
| 1091 | (Done.) | ||
| 1092 | |||
| 1076 | ;;; arch-tag: 8da1619e-2e79-41a8-9ac9-a0485daad17d | 1093 | ;;; arch-tag: 8da1619e-2e79-41a8-9ac9-a0485daad17d |
| 1094 | |||