From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thien-Thi Nguyen Newsgroups: gmane.emacs.devel Subject: Re: 2 annoying questions for `find-alternate-file` Date: Thu, 19 Jul 2012 20:12:44 +0200 Message-ID: <87mx2vr55v.fsf@zigzag.favinet> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1342721586 27061 80.91.229.3 (19 Jul 2012 18:13:06 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 19 Jul 2012 18:13:06 +0000 (UTC) Cc: emacs-devel@gnu.org To: Damien Cassou Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jul 19 20:13:05 2012 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 1SrvDk-0001Nc-EF for ged-emacs-devel@m.gmane.org; Thu, 19 Jul 2012 20:13:04 +0200 Original-Received: from localhost ([::1]:45823 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SrvDj-0007nf-Lj for ged-emacs-devel@m.gmane.org; Thu, 19 Jul 2012 14:13:03 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:55996) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SrvDh-0007nO-I6 for emacs-devel@gnu.org; Thu, 19 Jul 2012 14:13:02 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SrvDg-0004Zw-B2 for emacs-devel@gnu.org; Thu, 19 Jul 2012 14:13:01 -0400 Original-Received: from smtp208.alice.it ([82.57.200.104]:32827) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SrvDg-00046n-4R for emacs-devel@gnu.org; Thu, 19 Jul 2012 14:13:00 -0400 Original-Received: from zigzag.favinet (79.21.65.127) by smtp208.alice.it (8.6.023.02) id 5006060B0051FA2D; Thu, 19 Jul 2012 20:12:38 +0200 Original-Received: from ttn by zigzag.favinet with local (Exim 4.72) (envelope-from ) id 1SrvDQ-00036c-HI; Thu, 19 Jul 2012 20:12:44 +0200 In-Reply-To: (Damien Cassou's message of "Thu, 19 Jul 2012 18:29:34 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 82.57.200.104 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:151764 Archived-At: () Damien Cassou () Thu, 19 Jul 2012 18:29:34 +0200 I propose to replace these 2 questions by just 1 which could be along the lines of "Do you really want to do what you asked for?". When the user confirms, his changes are lost. Why not ask this directly? "Current buffer modified. Continue, discarding changes?"