all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Drew Adams <drew.adams@oracle.com>
To: Hongyi Zhao <hongyi.zhao@gmail.com>,
	help-gnu-emacs <help-gnu-emacs@gnu.org>
Subject: RE: [External] : About the key binding convention: C-x is reserved by emacs itself whereas the C-c prefix is used for user defined keybindings.
Date: Tue, 21 Sep 2021 16:08:48 +0000	[thread overview]
Message-ID: <SJ0PR10MB5488ECE7718261F14E90461EF3A19@SJ0PR10MB5488.namprd10.prod.outlook.com> (raw)
In-Reply-To: <CAGP6POJwf4ffwXY_fM4X6NZHn3_nsXTLvhAfD5qFzekjiXC8PQ@mail.gmail.com>

> There is the convention that the C-x is reserved by emacs itself
> whereas the C-c prefix is used for user defined keybindings.

No, there is NO such convention regarding C-x.
No key bindings are "reserved by emacs [for] itself".

The only "reserved" bindings are those reserved for
users.  (And users can bind any keys they want;
they're not _limited_ to the keys reserved for them.)

This post of mine states the situation clearly (IMO):

https://emacs.stackexchange.com/a/42166/105

(It's the accepted answer to the question you cited.)

Wrt C-x, it says this:

  You'll note that there is no convention regarding
  C-x.  An unstated convention, or just good
  advice/practice is this one, however: If you
  replace some existing, standard Emacs binding
  (i.e., one that you get from Emacs as distributed,
  without loading any 3rd-party libraries) then that
  might confuse or annoy some users of your code.

  reply	other threads:[~2021-09-21 16:08 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-21  5:20 About the key binding convention: C-x is reserved by emacs itself whereas the C-c prefix is used for user defined keybindings Hongyi Zhao
2021-09-21 16:08 ` Drew Adams [this message]
2021-09-21 17:54   ` [External] : " 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=SJ0PR10MB5488ECE7718261F14E90461EF3A19@SJ0PR10MB5488.namprd10.prod.outlook.com \
    --to=drew.adams@oracle.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=hongyi.zhao@gmail.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.