From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Juanma Barranquero" Newsgroups: gmane.emacs.devel Subject: Re: A wish, a plea Date: Fri, 22 Jun 2007 11:03:52 +0200 Message-ID: References: <4679F561.4030600@hacksaw.org> <87y7icpgco.fsf@kfs-lx.testafd.dk> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1182503044 16196 80.91.229.12 (22 Jun 2007 09:04:04 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 22 Jun 2007 09:04:04 +0000 (UTC) Cc: emacs-devel@gnu.org, Hacksaw To: "Kim F. Storm" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jun 22 11:04:01 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 1I1f3h-0002qC-CF for ged-emacs-devel@m.gmane.org; Fri, 22 Jun 2007 11:04:01 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I1f3g-0001Un-LS for ged-emacs-devel@m.gmane.org; Fri, 22 Jun 2007 05:04:00 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1I1f3b-0001U4-HM for emacs-devel@gnu.org; Fri, 22 Jun 2007 05:03:55 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1I1f3Z-0001Tp-Mt for emacs-devel@gnu.org; Fri, 22 Jun 2007 05:03:54 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I1f3Z-0001Tm-Hi for emacs-devel@gnu.org; Fri, 22 Jun 2007 05:03:53 -0400 Original-Received: from wx-out-0506.google.com ([66.249.82.229]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1I1f3Z-0002wz-0J for emacs-devel@gnu.org; Fri, 22 Jun 2007 05:03:53 -0400 Original-Received: by wx-out-0506.google.com with SMTP id h26so802207wxd for ; Fri, 22 Jun 2007 02:03:52 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=TPIKKUJ6g6jEbBCFZXmFKkU637i5pnbYA4pvhnEMWmAmMHjxQHhDTY7WmaihJ26XSgJZ8ffsKpRMy2mi9XCODeq7e3cjFTCBdyPexj0yauREnwYOpABrX4ha31gobrDE5GB3+diZpxYyKk/PSZ1CBINPY22dYAhU0wY0KsyADsA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=SVNtSZlGBmYQWxYMY3y7X5K47VWqzdKRE/c3O4LQQv+vVghTs7yQA3xTQWhjd+NCrzM+YfjLX2exiJL0r0sUmIG5JFviJ6/ZZoOZxRmiJ9quBsmQlrRjRhNXCs5o7jv6yiCFY5Skbq6MtqXnjB5ydNG23AqoDxVgAGloP/0yES8= Original-Received: by 10.90.113.18 with SMTP id l18mr2423305agc.1182503032522; Fri, 22 Jun 2007 02:03:52 -0700 (PDT) Original-Received: by 10.90.87.8 with HTTP; Fri, 22 Jun 2007 02:03:52 -0700 (PDT) In-Reply-To: <87y7icpgco.fsf@kfs-lx.testafd.dk> Content-Disposition: inline X-detected-kernel: Linux 2.4-2.6 (Google crawlbot) 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:73601 Archived-At: On 6/22/07, Kim F. Storm wrote: > 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) I wrapped save-buffers-kill-emacs in a little function that asks for confirmation. I don't mind being asked every time; it's not that frequent. But I hate exiting Emacs by accident. Juanma