unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: no-spam@cua.dk (Kim F. Storm)
Subject: Escaping from emacs is too easy :-)
Date: 23 Aug 2002 17:24:16 +0200	[thread overview]
Message-ID: <5x65y138f3.fsf@kfs2.cua.dk> (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

             reply	other threads:[~2002-08-23 15:24 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-08-23 15:24 Kim F. Storm [this message]
2002-08-23 14:34 ` Escaping from emacs is too easy :-) 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

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=5x65y138f3.fsf@kfs2.cua.dk \
    --to=no-spam@cua.dk \
    /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 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).