all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Use a different key from `C-M-c' for exit-recursive-edit?
@ 2006-11-05 18:41 Drew Adams
  2006-11-06  5:02 ` Richard Stallman
  0 siblings, 1 reply; 2+ messages in thread
From: Drew Adams @ 2006-11-05 18:41 UTC (permalink / raw)


For consideration after the release -

`C-M-c' is bound to `exit-recursive-edit', and that's been the case for
decades. I don't see any good reason for this binding, other than legacy. I
think it would be better to bind `exit-recursive-edit' to something else.

One possibility might be `C-}', which is similar to `C-]' for
`abort-recursive-edit' (same key, shifted, on many keyboards; and also a
closure bracket char). I don't have a strong opinion about which key is
used, however, other than `C-M-c'.

The reason I'd prefer not to use `C-M-c' for `exit-recursive-edit' is so
that users or libraries might use `C-M-c' as a prefix similar to `C-c'. For
mnemonic purposes, it could be useful to have parallel (analogous) bindings
on prefixes `C-c' and `C-M-c'. For example, `C-c a' and `C-M-c a' might have
analogous uses, and likewise `C-c b' and `C-M-c b', and so on.

I'm not sure I'd go so far as to propose reserving `C-M-c' for users, the
way that `C-c' is reserved, but not binding `C-M-c' by default would at
least leave more possibilities open.

WDOT?

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Use a different key from `C-M-c' for exit-recursive-edit?
  2006-11-05 18:41 Use a different key from `C-M-c' for exit-recursive-edit? Drew Adams
@ 2006-11-06  5:02 ` Richard Stallman
  0 siblings, 0 replies; 2+ messages in thread
From: Richard Stallman @ 2006-11-06  5:02 UTC (permalink / raw)
  Cc: emacs-devel

    One possibility might be `C-}', which is similar to `C-]' for
    `abort-recursive-edit' (same key, shifted, on many keyboards; and also a
    closure bracket char). I don't have a strong opinion about which key is
    used, however, other than `C-M-c'.

C-} does not exist on ttys, so I think this is a bad idea.
The command C-M-c has been used for this for decades
and I would not want to change it.  And certainly not
without polling the users.  So I think this need not be
discussed further.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-11-06  5:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-05 18:41 Use a different key from `C-M-c' for exit-recursive-edit? Drew Adams
2006-11-06  5:02 ` Richard Stallman

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.