From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nic James Ferrier Newsgroups: gmane.emacs.devel Subject: Re: A wish, a plea Date: Fri, 22 Jun 2007 14:33:10 +0100 Message-ID: <87lkecp10p.fsf@kanga.tapsellferrier.co.uk> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1182519270 8201 80.91.229.12 (22 Jun 2007 13:34:30 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 22 Jun 2007 13:34:30 +0000 (UTC) Cc: emacs-devel@gnu.org To: "Drew Adams" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jun 22 15:34:28 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1I1jHL-0007ze-5L for ged-emacs-devel@m.gmane.org; Fri, 22 Jun 2007 15:34:23 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I1jHK-0005uJ-FU for ged-emacs-devel@m.gmane.org; Fri, 22 Jun 2007 09:34:22 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1I1jHG-0005u4-Kq for emacs-devel@gnu.org; Fri, 22 Jun 2007 09:34:18 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1I1jHE-0005tr-5i for emacs-devel@gnu.org; Fri, 22 Jun 2007 09:34:17 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I1jHE-0005to-0L for emacs-devel@gnu.org; Fri, 22 Jun 2007 09:34:16 -0400 Original-Received: from owls-tree.tapsellferrier.co.uk ([81.187.188.218] helo=owls-house.tapsellferrier.co.uk) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1I1jHD-00047f-Ix for emacs-devel@gnu.org; Fri, 22 Jun 2007 09:34:15 -0400 Original-Received: from nicferrier.tapsellferrier.co.uk ([172.31.50.1] helo=localhost) by owls-house.tapsellferrier.co.uk with esmtp (Exim 4.60 #1 (Debian)) id 1I1jCF-00024W-HR; Fri, 22 Jun 2007 14:29:07 +0100 Original-Received: by localhost (Postfix, from userid 1000) id 609A2C06F1; Fri, 22 Jun 2007 14:33:10 +0100 (BST) In-Reply-To: (Drew Adams's message of "Fri\, 22 Jun 2007 06\:19\:39 -0700") X-detected-kernel: Genre and OS details not recognized. X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:73620 Archived-At: "Drew Adams" writes: > If some who are quite used to Emacs hit that key sequence by accident 3 > times a week (if you start Emacs once a day, that's a lot!), then perhaps > the default binding should be changed. I'm not just quite used to Emacs. I've used it for several hours a day, everyday for more than 10 years. I code in it, I write in it, I read my email in it, etc... And still I couldn't train myself to not kill Emacs that way. > Any key binding can be hit accidentally, especially one with repetition such > as C-x C-c C-x. If response is slow for some reason, a user might hit the > same key again, thinking it wasn't received. If we're going to opt for a > 3-stroke exit, then why not `C-x C-c y'? That is, why not show the user a > message asking whether to exit? > > I use a `kill-emacs-query-functions' y-or-n-p confirmation: > (add-hook 'kill-emacs-query-functions > (lambda () (y-or-n-p "Do you really want to exit Emacs? ")) > 'append) As I said on an earlier thread. My brain just trained me to answer whatever was the quickest way to get myself into trouble. The problem didn't go away for me until I unbound kill-emacs from any kind of "normal Emacs" key combo. I like somebody's suggestion of Alt+F4... but I use F12 bound inside Emacs. -- Nic Ferrier http://www.tapsellferrier.co.uk