Mercurial > emacs
comparison lisp/term/mac-win.el @ 49504:0ffb4e489776
2003-01-28 Benjamin Riefenstahl <Benjamin.Riefenstahl@epost.de>
* macterm.c (keycode_to_xkeysym_table): Add <tab>, <backspace>,
<escape>.
(keycode_to_xkeysym_table): Reformat and add more comments.
(XTread_socket): Drop special case for backspace.
* term/mac-win.el: Add entries in function-key-map for
[tab], [backspace], [escape].
author | Andrew Choi <akochoi@shaw.ca> |
---|---|
date | Tue, 28 Jan 2003 18:46:07 +0000 |
parents | 689e43474805 |
children | 5ade352e8d1c |
comparison
equal
deleted
inserted
replaced
49503:443e3f602fc2 | 49504:0ffb4e489776 |
---|---|
250 ;; (prefer-coding-system 'mac-roman) | 250 ;; (prefer-coding-system 'mac-roman) |
251 | 251 |
252 ;; Map certain keypad keys into ASCII characters that people usually expect | 252 ;; Map certain keypad keys into ASCII characters that people usually expect |
253 (define-key function-key-map [return] [?\C-m]) | 253 (define-key function-key-map [return] [?\C-m]) |
254 (define-key function-key-map [M-return] [?\M-\C-m]) | 254 (define-key function-key-map [M-return] [?\M-\C-m]) |
255 (define-key function-key-map [tab] [?\t]) | |
256 (define-key function-key-map [M-tab] [?\M-\t]) | |
257 (define-key function-key-map [backspace] [127]) | |
258 (define-key function-key-map [M-backspace] [?\M-\d]) | |
259 (define-key function-key-map [escape] [?\e]) | |
260 (define-key function-key-map [M-escape] [?\M-\e]) | |
261 | |
255 ;; Tell read-char how to convert special chars to ASCII | 262 ;; Tell read-char how to convert special chars to ASCII |
256 (put 'return 'ascii-character 13) | 263 (put 'return 'ascii-character 13) |
257 | 264 |
258 ;; | 265 ;; |
259 ;; Available colors | 266 ;; Available colors |