Re: return and enter keys in emacs 21.3 on MacOSX 10.2

From:

Benjamin Riefenstahl

Subject:

Re: return and enter keys in emacs 21.3 on MacOSX 10.2

Date:

17 Jan 2003 16:45:00 +0100

User-agent:

Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

Hi Tiago,
address@hidden (Tiago Henriques) writes:
> C-h c <return>:
> <return> is undefined
>
> C-h c <keypad enter>:
> RET (translated from <kp-enter>) runs the command newline
>
> After I type these 2 commands, C-h l shows:
> (...) C-h c <return> C-h c <kp-enter> C-h l
>
> It seems that the return key is unassigned. How can I assign it to run
> the command newline, similarly to the keypad-enter key?
Been there recently. I think this should help:
(define-key function-key-map [return] [?\C-m])
OTOH, I copied this line from lisp/term/mac-win.el, and that file
should be loaded on Emacs startup, as I understand it.
so long, benny