unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Escaping from emacs is too easy :-)
@ 2002-08-23 15:24 Kim F. Storm
  2002-08-23 14:34 ` nferrier
                   ` (4 more replies)
  0 siblings, 5 replies; 8+ messages in thread
From: Kim F. Storm @ 2002-08-23 15:24 UTC (permalink / raw)



A long time ago, when I first started using emacs, one of the first
key bindings which I decided to change was: C-x C-c

Both C-x and C-c are used very frequently as prefix keys, and being
located right next to each other, I found it just too easy to hit
both by mistake.

Now that CUA has arrived, using C-x and C-c will become even more
frequent for some users...

I'm using C-x C-c C-x instead of C-x C-c to exit emacs:

(global-set-key "\C-x\C-c"	'nil)
(global-set-key "\C-x\C-c\C-x"	'save-buffers-kill-emacs)

I find it trivial to type that extra C-x, but contrary to the standard
binding, I've _NEVER_ entered the C-x C-c C-x sequence by mistake.


     So, I propose to change the default binding to C-x C-c C-x.
     ===========================================================


Naturally, changing a long-lived binding like that may aggrevate a lot
of old users, but my belief is that they will quickly adapt (or install
the old binding :-)


I guess we could help them on the way like this:

They enter C-x C-c   ... and they expect something to happen...

A few secs later, C-x C-c- appears in the echo area, so they'll know
they are expected to type another character.  

Of course, they wont know what to type next the first time they get
that far [unless they have read the NEWS file of course], but we could
bind C-x C-c C-h and C-x C-c ? to a message saying to use C-x C-c C-x
to exit emacs.

WDYT?

-- 
Kim F. Storm <storm@cua.dk> http://www.cua.dk

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

end of thread, other threads:[~2002-08-31  6:06 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-08-23 15:24 Escaping from emacs is too easy :-) Kim F. Storm
2002-08-23 14:34 ` nferrier
2002-08-23 15:04 ` Glenn Morris
2002-08-25  5:27 ` Richard Stallman
2002-08-29  3:02 ` Rafael Sepúlveda
2002-08-31  2:52 ` Colin Walters
2002-08-31  3:03   ` Miles Bader
2002-08-31  6:06     ` Eli Zaretskii

Code repositories for project(s) associated with this public inbox

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

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).