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: [PATCH] files.el: avoid asking whether to kill Emacs multiple times Date: Thu, 29 Jan 2015 06:35:23 -0800 (PST) Message-ID: References: <1422540409-4134-1-git-send-email-mpn@google.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1422542199 8003 80.91.229.3 (29 Jan 2015 14:36:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 29 Jan 2015 14:36:39 +0000 (UTC) To: Michal Nazarewicz , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jan 29 15:36:35 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YGqCx-0006ev-9O for ged-emacs-devel@m.gmane.org; Thu, 29 Jan 2015 15:36:35 +0100 Original-Received: from localhost ([::1]:60048 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YGqCw-0004Tz-AN for ged-emacs-devel@m.gmane.org; Thu, 29 Jan 2015 09:36:34 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33199) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YGqBw-0003yT-0I for emacs-devel@gnu.org; Thu, 29 Jan 2015 09:35:33 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YGqBq-000692-Ot for emacs-devel@gnu.org; Thu, 29 Jan 2015 09:35:31 -0500 Original-Received: from aserp1040.oracle.com ([141.146.126.69]:37471) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YGqBq-00068w-Hu for emacs-devel@gnu.org; Thu, 29 Jan 2015 09:35:26 -0500 Original-Received: from ucsinet21.oracle.com (ucsinet21.oracle.com [156.151.31.93]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id t0TEZOGl023323 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 29 Jan 2015 14:35:25 GMT Original-Received: from aserz7021.oracle.com (aserz7021.oracle.com [141.146.126.230]) by ucsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id t0TEZN29006121 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Thu, 29 Jan 2015 14:35:24 GMT Original-Received: from abhmp0005.oracle.com (abhmp0005.oracle.com [141.146.116.11]) by aserz7021.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id t0TEZNWM022500; Thu, 29 Jan 2015 14:35:23 GMT In-Reply-To: <1422540409-4134-1-git-send-email-mpn@google.com> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.8.2 (807160) [OL 12.0.6691.5000 (x86)] X-Source-IP: ucsinet21.oracle.com [156.151.31.93] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 141.146.126.69 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:181979 Archived-At: > If `confirm-kill-emacs' is set, but user has just been asked whether > they really want to kill Emacs (for example with a =E2=80=98Modified buff= ers > exist; exit anyway?=E2=80=99 prompt), do not ask them for another confirm= ation. =20 > However, apply this exception only if `confirm-kill-emacs' is > 'yes-or-no-p or 'y-or-n-p, otherwise this change might errenously > prevent some user defined function from being run (adding such a > function to `kill-emacs-query-functions' is probably better option, > but we don=E2=80=99t want to break any usage even if it=E2=80=99s incorre= ct). Related? http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D9577