emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: A wish, a plea


From: Kim F. Storm
Subject: Re: A wish, a plea
Date: Fri, 22 Jun 2007 10:01:59 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux)

Hacksaw <address@hidden> writes:

> So I started writing, and I wrote for quite a while, it was really
> flowing well, and I thought, hey, I should save, because I don't want
> to lose this, but in my reverie, I hit the ^X^C first.

Since both C-x and C-c are prefix keys, and thus used a lot in
sequence with other keys, C-x C-c has always seemed like a
particularly dangerous binding to me.

One of the first things I changed when I started to use Emacs was
to change the "kill-emacs" binding to C-x C-c C-x

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

C-x C-c C-x works really well (it is still easy to type, and I've
never hit it accidentally).


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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]