From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.devel Subject: RE: A wish, a plea Date: Fri, 22 Jun 2007 06:19:39 -0700 Message-ID: References: <871wg4s8mb.fsf@kanga.tapsellferrier.co.uk> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1182518508 5337 80.91.229.12 (22 Jun 2007 13:21:48 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 22 Jun 2007 13:21:48 +0000 (UTC) To: Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jun 22 15:21:47 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 1I1j56-00057c-E0 for ged-emacs-devel@m.gmane.org; Fri, 22 Jun 2007 15:21:44 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I1j55-0000jl-P3 for ged-emacs-devel@m.gmane.org; Fri, 22 Jun 2007 09:21:43 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1I1j51-0000jO-Rq for emacs-devel@gnu.org; Fri, 22 Jun 2007 09:21:39 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1I1j50-0000j0-D0 for emacs-devel@gnu.org; Fri, 22 Jun 2007 09:21:39 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I1j50-0000ix-5d for emacs-devel@gnu.org; Fri, 22 Jun 2007 09:21:38 -0400 Original-Received: from agminet01.oracle.com ([141.146.126.228]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1I1j4z-0002Yq-RJ for emacs-devel@gnu.org; Fri, 22 Jun 2007 09:21:38 -0400 Original-Received: from rgmgw3.us.oracle.com (rgmgw3.us.oracle.com [138.1.186.112]) by agminet01.oracle.com (Switch-3.2.4/Switch-3.1.7) with ESMTP id l5MDLYKd006078 for ; Fri, 22 Jun 2007 08:21:35 -0500 Original-Received: from acsmt350.oracle.com (acsmt350.oracle.com [141.146.40.150]) by rgmgw3.us.oracle.com (Switch-3.2.4/Switch-3.1.7) with ESMTP id l5MCn7Yd001500 for ; Fri, 22 Jun 2007 07:21:33 -0600 Original-Received: from dhcp-amer-csvpn-gw1-141-144-65-208.vpn.oracle.com by acsmt351.oracle.com with ESMTP id 2979475151182518381; Fri, 22 Jun 2007 06:19:41 -0700 X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) In-Reply-To: <871wg4s8mb.fsf@kanga.tapsellferrier.co.uk> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3138 X-Whitelist: TRUE X-Whitelist: TRUE X-Brightmail-Tracker: AAAAAQAAAAI= X-detected-kernel: Linux 2.4-2.6 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:73619 Archived-At: > > C-x C-c C-x works really well (it is still easy to type, and I've > > never hit it accidentally). > > I agree with this as well, I use F12 and I never hit it by accident > anymore. I used to quit emacs accidentally about 3 times a week. 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. 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)