Subject: bug#20830: closed (Re: bug#20830: 25.0.50; `find-alternate-file': Provide buffer name in error msg)

From: [email-masked] (GNU bug Tracking System)
Date: Tue, 16 Jun 2015 20:55:04 +0000

Your bug report

#20830: 25.0.50; `find-alternate-file': Provide buffer name in error msg

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
20830: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=20830
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#20830: 25.0.50; `find-alternate-file': Provide buffer name in error msg
From: Nicolas Petton <[email-masked]>
To: Drew Adams <[email-masked]>, [email-masked], [email-masked]
Date: Tue, 16 Jun 2015 22:54:37 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Drew Adams <[email-masked]> writes:

> Please change the error message from this:
>
> (not (yes-or-no-p "Kill and replace the buffer without saving it? "))
>
> to something like this:
>
> (not (yes-or-no-p 
>       (format "Kill and replace buffer `%s' without saving it? "
>               (buffer-name)))

Done in commit 3986489.

Nico
-- 
Nicolas Petton
http://nicolas-petton.fr

Subject: 25.0.50; `find-alternate-file': Provide buffer name in error msg
From: Drew Adams <[email-masked]>
To: [email-masked]
Date: Tue, 16 Jun 2015 13:29:38 -0700 (PDT)
List-Id: <debbugs-submit.debbugs.gnu.org>

Please change the error message from this:

(not (yes-or-no-p "Kill and replace the buffer without saving it? "))

to something like this:

(not (yes-or-no-p 
      (format "Kill and replace buffer `%s' without saving it? "
              (buffer-name)))

In GNU Emacs 25.0.50.1 (i686-pc-mingw32)
 of 2014-10-20 on LEG570
Bzr revision: 118168 [email-masked]
Windowing system distributor `Microsoft Corp.', version 6.1.7601
Configured using:
 `configure --enable-checking=yes,glyphs CPPFLAGS=-DGLYPH_DEBUG=1'