unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Kaushal Modi <kaushal.modi@gmail.com>
To: Help Gnu Emacs mailing list <help-gnu-emacs@gnu.org>
Subject: Do we need to bind to both RET and <return> variants?
Date: Wed, 23 Jan 2019 16:09:22 -0500	[thread overview]
Message-ID: <CAFyQvY2f219++9v67nD8qq6Ss6=rW804+Ed_QwoOvUenOhQLiw@mail.gmail.com> (raw)

Hello,

For the return key (for Emacs GUI) and the C-m variant RET (in nowindow
mode, terminal) to both work, should we be binding to both RET and <return>
variants?

I am sure that this issue comes up now and often, but I cannot find an
older thread with a definitive answer.

Recently this came up on Org mode thread. Earlier the <return> variant of
bindings were used, but then S-<return>, etc. did not work for a user using
Emacs in terminal mode, so the binding was changed to S-RET. But now ..
that doesn't work for Emacs GUI users :)

Ref: https://lists.gnu.org/r/emacs-orgmode/2019-01/msg00318.html

So what solution would make everyone happy?

--
Kaushal Modi


             reply	other threads:[~2019-01-23 21:09 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-23 21:09 Kaushal Modi [this message]
2019-01-23 22:33 ` Do we need to bind to both RET and <return> variants? Stefan Monnier
2019-01-23 23:11   ` Kaushal Modi
2019-01-24  1:51     ` Stefan Monnier
2019-01-24  3:15       ` Kaushal Modi
2019-01-24  4:27         ` Stefan Monnier

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='CAFyQvY2f219++9v67nD8qq6Ss6=rW804+Ed_QwoOvUenOhQLiw@mail.gmail.com' \
    --to=kaushal.modi@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /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).