unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Benjamin Riefenstahl <Benjamin.Riefenstahl@epost.de>
Subject: Re: return and enter keys in emacs 21.3 on MacOSX 10.2
Date: 17 Jan 2003 16:45:00 +0100	[thread overview]
Message-ID: <m3lm1j3hmr.fsf@cicero.benny.turtle-trading.net> (raw)
In-Reply-To: c7f46aea.0301170352.1d2a7d50@posting.google.com

Hi Tiago,


tiagohenriques@lycos.co.uk (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

  parent reply	other threads:[~2003-01-17 15:45 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-01-16 17:41 return and enter keys in emacs 21.3 on MacOSX 10.2 Tiago Henriques
2003-01-16 20:02 ` Kai Großjohann
2003-01-17 11:52   ` Tiago Henriques
2003-01-17 15:19     ` Tiago Henriques
2003-01-17 15:45     ` Benjamin Riefenstahl [this message]
2003-01-19 22:12       ` Tiago Henriques

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m3lm1j3hmr.fsf@cicero.benny.turtle-trading.net \
    --to=benjamin.riefenstahl@epost.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).