From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: no-spam@cua.dk (Kim F. Storm) Newsgroups: gmane.emacs.devel Subject: Escaping from emacs is too easy :-) Date: 23 Aug 2002 17:24:16 +0200 Sender: emacs-devel-admin@gnu.org Message-ID: <5x65y138f3.fsf@kfs2.cua.dk> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1030112709 22921 127.0.0.1 (23 Aug 2002 14:25:09 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 23 Aug 2002 14:25:09 +0000 (UTC) Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 17iFN5-0005xZ-00 for ; Fri, 23 Aug 2002 16:25:07 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 17iFqU-0004aG-00 for ; Fri, 23 Aug 2002 16:55:30 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 17iFOJ-0006IZ-00; Fri, 23 Aug 2002 10:26:23 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 17iFLu-0005UW-00 for emacs-devel@gnu.org; Fri, 23 Aug 2002 10:23:54 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 17iFLr-0005U9-00 for emacs-devel@gnu.org; Fri, 23 Aug 2002 10:23:53 -0400 Original-Received: from mail.filanet.dk ([195.215.206.179]) by monty-python.gnu.org with esmtp (Exim 4.10) id 17iFLr-0005U2-00 for emacs-devel@gnu.org; Fri, 23 Aug 2002 10:23:51 -0400 Original-Received: from kfs2.cua.dk.cua.dk (kfs2.local.filanet.dk [192.168.1.182]) by mail.filanet.dk (Postfix) with SMTP id B59677C01C for ; Fri, 23 Aug 2002 14:23:50 +0000 (GMT) Original-To: emacs-devel@gnu.org Original-Lines: 45 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:6794 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:6794 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 http://www.cua.dk