From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.bugs Subject: bug#12487: 24.2.50; Inconsistent, so confusing, confirmation msgs for `find-alternate-file' Date: Sat, 22 Sep 2012 10:30:03 -0700 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1348335090 9441 80.91.229.3 (22 Sep 2012 17:31:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 22 Sep 2012 17:31:30 +0000 (UTC) To: 12487@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Sep 22 19:31:34 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1TFTY9-0004Ee-5W for geb-bug-gnu-emacs@m.gmane.org; Sat, 22 Sep 2012 19:31:29 +0200 Original-Received: from localhost ([::1]:34815 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TFTY4-0001Bi-Jm for geb-bug-gnu-emacs@m.gmane.org; Sat, 22 Sep 2012 13:31:24 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:36049) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TFTY0-0001A9-B4 for bug-gnu-emacs@gnu.org; Sat, 22 Sep 2012 13:31:22 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TFTXz-0006bG-76 for bug-gnu-emacs@gnu.org; Sat, 22 Sep 2012 13:31:20 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:39908) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TFTXz-0006bA-39 for bug-gnu-emacs@gnu.org; Sat, 22 Sep 2012 13:31:19 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TFTZe-0002nj-Fc for bug-gnu-emacs@gnu.org; Sat, 22 Sep 2012 13:33:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: "Drew Adams" Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 22 Sep 2012 17:33:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 12487 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: Original-Received: via spool by submit@debbugs.gnu.org id=B.134833512310694 (code B ref -1); Sat, 22 Sep 2012 17:33:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 22 Sep 2012 17:32:03 +0000 Original-Received: from localhost ([127.0.0.1]:49452 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TFTYh-0002mR-3f for submit@debbugs.gnu.org; Sat, 22 Sep 2012 13:32:03 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:43102) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TFTYf-0002m2-0Z for submit@debbugs.gnu.org; Sat, 22 Sep 2012 13:32:01 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TFTWx-0005pk-Vf for submit@debbugs.gnu.org; Sat, 22 Sep 2012 13:30:16 -0400 Original-Received: from lists.gnu.org ([208.118.235.17]:44329) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TFTWx-0005pW-RR for submit@debbugs.gnu.org; Sat, 22 Sep 2012 13:30:15 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:35758) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TFTWw-00011L-Oa for bug-gnu-emacs@gnu.org; Sat, 22 Sep 2012 13:30:15 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TFTWv-0005nC-IX for bug-gnu-emacs@gnu.org; Sat, 22 Sep 2012 13:30:14 -0400 Original-Received: from rcsinet15.oracle.com ([148.87.113.117]:23491) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TFTWv-0005mi-BB for bug-gnu-emacs@gnu.org; Sat, 22 Sep 2012 13:30:13 -0400 Original-Received: from ucsinet21.oracle.com (ucsinet21.oracle.com [156.151.31.93]) by rcsinet15.oracle.com (Sentrion-MTA-4.2.2/Sentrion-MTA-4.2.2) with ESMTP id q8MHUB8D014921 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Sat, 22 Sep 2012 17:30:12 GMT Original-Received: from acsmt356.oracle.com (acsmt356.oracle.com [141.146.40.156]) by ucsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id q8MHUAv0014718 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sat, 22 Sep 2012 17:30:11 GMT Original-Received: from abhmt108.oracle.com (abhmt108.oracle.com [141.146.116.60]) by acsmt356.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id q8MHUA7s013636 for ; Sat, 22 Sep 2012 12:30:10 -0500 Original-Received: from dradamslap1 (/10.159.221.98) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Sat, 22 Sep 2012 10:30:10 -0700 X-Mailer: Microsoft Office Outlook 11 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 Thread-Index: Ac2Y5+ahpQYgwiVYS2ul4klP7cVe9g== X-Source-IP: ucsinet21.oracle.com [156.151.31.93] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 1) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:64770 Archived-At: emacs -Q Visit an existing file foo. Make some changes, without saving. `C-x C-v RET', to re-visit foo, effectively reverting it. You are asked "Buffer foo is modified; save it first (yes or no)". (There is no question mark here, BTW.) You reply "no". Then you are asked "Kill and replace the buffer without saving it? (yes or no)". (This time there is a question mark, as there should be.) You ponder a minute, then reply "yes". This is a common use case when a user wants to abandon edits by using `C-x C-v'. Note that `revert-buffer' will not revert everything that `C-x C-v' reverts. Overlays etc. remain, so it can sometimes be useful to use `C-x C-v' here. Here's the problem: You changed the first message, flipping its sense, so now, if a user wants to discard the changes s?he has to first say "no", s?he does not want to save the changes, and then s?he has to say "yes", s?he really wants to replace the buffer. This inconsistency is confusing and thus error-prone. While your change was no doubt motivated by wanting to avoid user errors, it actually promotes them, at least in this scenario. Furthermore, why are you asking the second question, if the reply to the first is "no"? If the user does not want to save the changes, then why ask again, especially with a reversed sense for the question? In GNU Emacs 24.2.50.1 (i386-mingw-nt5.1.2600) of 2012-09-17 on MARVIN Bzr revision: 110062 cyd@gnu.org-20120917054104-r93rtwkrtva73ewe Windowing system distributor `Microsoft Corp.', version 5.1.2600 Configured using: `configure --with-gcc (4.7) --no-opt --enable-checking --cflags -ID:/devel/emacs/libs/libXpm-3.5.8/include -ID:/devel/emacs/libs/libXpm-3.5.8/src -ID:/devel/emacs/libs/libpng-dev_1.4.3-1/include -ID:/devel/emacs/libs/zlib-dev_1.2.5-2/include -ID:/devel/emacs/libs/giflib-4.1.4-1/include -ID:/devel/emacs/libs/jpeg-6b-4/include -ID:/devel/emacs/libs/tiff-3.8.2-1/include -ID:/devel/emacs/libs/gnutls-3.0.9/include -ID:/devel/emacs/libs/libiconv-1.13.1-1-dev/include -ID:/devel/emacs/libs/libxml2-2.7.8/include/libxml2'