[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#9577: 24.0.50; `find-alternate-file': Redundant confirmation message
bug#9577: 24.0.50; `find-alternate-file': Redundant confirmation message?
Thu, 22 Sep 2011 08:52:23 -0700
In `files.el' we have this:
(when (and (buffer-modified-p) buffer-file-name)
(if (yes-or-no-p (format "Buffer %s is modified; save it first? "
(unless (yes-or-no-p "Kill and replace the buffer without saving it? ")
I don't understand why we make the user answer twice that s?he really
wants to abandon the modified buffer. Surely, if s?he answers `no' to
the first question then the answer to the second is `yes', no?
This kind of double-confirmation questioning, especially using a
reversal of the sense of the question (no for the first means the same
as yes for the second) is not only annoying but error prone.
Am I missing something? Is there really a use case for answering no and
then no (beyond changing your mind or not understanding the first
In GNU Emacs 184.108.40.206 (i386-mingw-nt5.1.2600)
of 2011-09-19 on 3249CTO
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (4.5) --no-opt'
|[Prev in Thread]
||[Next in Thread]|
- bug#9577: 24.0.50; `find-alternate-file': Redundant confirmation message?,
Drew Adams <=