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 12:54:57 +0100 Message-ID: <87r6o4p5ke.fsf@kanga.tapsellferrier.co.uk> References: <4679F561.4030600@hacksaw.org> <87y7icpgco.fsf@kfs-lx.testafd.dk> <87d4zopejb.fsf@nowhere.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1182513377 18691 80.91.229.12 (22 Jun 2007 11:56:17 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 22 Jun 2007 11:56:17 +0000 (UTC) Cc: emacs-devel@gnu.org To: wistanswick@linuxmail.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jun 22 13:56:15 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 1I1hkH-0002As-SI for ged-emacs-devel@m.gmane.org; Fri, 22 Jun 2007 13:56:10 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I1hkH-0002Yi-78 for ged-emacs-devel@m.gmane.org; Fri, 22 Jun 2007 07:56:09 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1I1hkD-0002TW-Ro for emacs-devel@gnu.org; Fri, 22 Jun 2007 07:56:05 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1I1hkC-0002Mx-6b for emacs-devel@gnu.org; Fri, 22 Jun 2007 07:56:05 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I1hkC-0002Me-0x for emacs-devel@gnu.org; Fri, 22 Jun 2007 07:56:04 -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 1I1hkB-0001ud-E6 for emacs-devel@gnu.org; Fri, 22 Jun 2007 07:56:03 -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 1I1hfC-0001mu-MI; Fri, 22 Jun 2007 12:50:54 +0100 Original-Received: by localhost (Postfix, from userid 1000) id 44CF6C06F1; Fri, 22 Jun 2007 12:54:57 +0100 (BST) In-Reply-To: <87d4zopejb.fsf@nowhere.org> (Glyn Millington's message of "Fri\, 22 Jun 2007 09\:41\:12 +0100") 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:73609 Archived-At: Glyn Millington writes: > Another way round - pretty sure this isn't mine!! > > ;;; Don't quit unless you mean it! > (defun maybe-save-buffers-kill-emacs (really) > "If REALLY is 'yes', call save-buffers-kill-emacs." > (interactive "sAre you sure about this? ") > (if (equal really "yes") > (save-buffers-kill-emacs))) > (global-set-key [(control x) (control c)] > 'maybe-save-buffers-kill-emacs) It doesn't work for me. My braind had trained me to skip the question (can't remember what response I was using, "no" presumably). So the effect was the same thing as just quit. -- Nic Ferrier http://www.tapsellferrier.co.uk