all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Omar Polo <op@omarpolo.com>
To: novim <laszlomail@protonmail.com>, novim <laszlomail@protonmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: What is the point of binding C-m to RET, C-i to TAB etc on a GUI frame?
Date: Wed, 30 Dec 2020 12:12:38 +0100	[thread overview]
Message-ID: <87eej7h7ix.fsf@omarpolo.com> (raw)
In-Reply-To: <CPIclBYOBRVtdIRC2YO_S0bwXCEAFM2y1raJm1WSBgQyqOcyHhqd2CmzU09Bk7_NibvbhNgGgKszOeXEzyaTjTv1ub_BT0YoxVL23yD1Ygs=@protonmail.com>


novim via Users list for the GNU Emacs text editor <help-gnu-emacs@gnu.org> writes:

> AFAIK, it is needed only in terminals, but it has not purpose on GUI. I don't think there are many people who, for example, press C-m instead of RET.
>
> Wouldn't it make more sense to define these in input-decode-map only if emacs runs in a terminal and on GUI letting the user freely rebind them?

I don't think I ever used C-m, but I do sometime use C-i instead of
TAB.  Many window manager and desktop environment binds alt-tab, the same
default binding for completion-at-point.  I suppose there are people who
use M-C-i instead of "alt-tab" at least for that.

(Also, even if you have tab-always-indent set to 'complete, you may
still need M-C-i for instance in yasnippet, given how it hijacks TAB)

my two cents

P.S.: it would be cool to have a setting to explicitly say "I don't care
about tty-compatible keybindings".  But, OTOH, I've just discovered
input-decode-map thanks to this thread so I may play with it.



  reply	other threads:[~2020-12-30 11:12 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-30  8:37 What is the point of binding C-m to RET, C-i to TAB etc on a GUI frame? novim via Users list for the GNU Emacs text editor
2020-12-30 11:12 ` Omar Polo [this message]
2020-12-30 12:23   ` novim
2020-12-30 17:19   ` Eric S Fraga
2020-12-30 18:10     ` Omar Polo
2020-12-30 12:25 ` Kévin Le Gouguec
2020-12-31  0:37 ` Emanuel Berg via Users list for the GNU Emacs text editor

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

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

  git send-email \
    --in-reply-to=87eej7h7ix.fsf@omarpolo.com \
    --to=op@omarpolo.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=laszlomail@protonmail.com \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.