aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteven Tamm2002-10-04 15:03:02 +0000
committerSteven Tamm2002-10-04 15:03:02 +0000
commite989b9bcaf49b784c015cd5e0f9a868f29877f4c (patch)
treee9772d201a0242b0e3849e83accd4c0208a222d5
parent52402e4fc50aae9c32f04ec22a1a873631a29bad (diff)
downloademacs-e989b9bcaf49b784c015cd5e0f9a868f29877f4c.tar.gz
emacs-e989b9bcaf49b784c015cd5e0f9a868f29877f4c.zip
Switching return to be treated like an X keysym
-rw-r--r--lisp/ChangeLog4
-rw-r--r--lisp/term/mac-win.el6
-rw-r--r--src/ChangeLog5
-rw-r--r--src/macterm.c2
4 files changed, 16 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index eb8bf3d0cf9..00e4d4979cf 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,7 @@
12002-10-04 Steven Tamm <steventamm@mac.com>
2
3 * term/mac-win.el: Add lines to handle the new [return] event.
4
12002-10-03 Stefan Monnier <monnier@cs.yale.edu> 52002-10-03 Stefan Monnier <monnier@cs.yale.edu>
2 6
3 * textmodes/fill.el (fill-paragraph): Give up if there's no 7 * textmodes/fill.el (fill-paragraph): Give up if there's no
diff --git a/lisp/term/mac-win.el b/lisp/term/mac-win.el
index ef5ce486cef..25c66103dd9 100644
--- a/lisp/term/mac-win.el
+++ b/lisp/term/mac-win.el
@@ -246,6 +246,12 @@ ascii:-*-Monaco-*-*-*-*-12-*-*-*-*-*-mac-roman")
246 246
247;; (prefer-coding-system 'mac-roman) 247;; (prefer-coding-system 'mac-roman)
248 248
249;; Map certain keypad keys into ASCII characters that people usually expect
250(define-key function-key-map [return] [?\C-m])
251(define-key function-key-map [M-return] [?\M-\C-m])
252;; Tell read-char how to convert special chars to ASCII
253(put 'return 'ascii-character 13)
254
249;; 255;;
250;; Available colors 256;; Available colors
251;; 257;;
diff --git a/src/ChangeLog b/src/ChangeLog
index 4608db9e3b6..50149a01f05 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,8 @@
12002-10-04 Steven Tamm <steventamm@mac.com>
2
3 * macterm.c (keycode_to_xkeysym_table): Change return to be
4 treated like an X keysym
5
12002-10-03 Jan D. <jan.h.d@swipnet.se> 62002-10-03 Jan D. <jan.h.d@swipnet.se>
2 7
3 * xterm.c (XTread_socket): For ConfigureNotify, with x and y == 0, 8 * xterm.c (XTread_socket): For ConfigureNotify, with x and y == 0,
diff --git a/src/macterm.c b/src/macterm.c
index 705b3ec537c..09b6b9faaeb 100644
--- a/src/macterm.c
+++ b/src/macterm.c
@@ -12534,7 +12534,7 @@ static unsigned char keycode_to_xkeysym_table[] = {
12534/* 0x00 - 0x3f */ 12534/* 0x00 - 0x3f */
12535 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 12535 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
12536 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 12536 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
12537 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 12537 0, 0, 0, 0, '\x0d', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
12538 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 12538 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
12539/* 0x40 */ 12539/* 0x40 */
12540 0, '\xae' /* kp. */, 0, '\xaa' /* kp* */, 12540 0, '\xae' /* kp. */, 0, '\xaa' /* kp* */,