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

Previous Next

Package: emacs;

Reported by: Drew Adams <drew.adams <at> oracle.com>

Date: Tue, 16 Jun 2015 20:30:05 UTC

Severity: wishlist

Found in version 25.0.50

Done: Nicolas Petton <nicolas <at> petton.fr>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Nicolas Petton <nicolas <at> petton.fr>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#20830: closed (25.0.50; `find-alternate-file': Provide buffer
 name in error msg)
Date: Tue, 16 Jun 2015 20:55:03 +0000
[Message part 1 (text/plain, inline)]
Your message dated Tue, 16 Jun 2015 22:54:37 +0200
with message-id <87wpz39xwy.fsf <at> petton.fr>
and subject line Re: bug#20830: 25.0.50; `find-alternate-file': Provide buffer name in error msg
has caused the debbugs.gnu.org bug report #20830,
regarding 25.0.50; `find-alternate-file': Provide buffer name in error msg
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
20830: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=20830
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Drew Adams <drew.adams <at> oracle.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 25.0.50; `find-alternate-file': Provide buffer name in error msg
Date: Tue, 16 Jun 2015 13:29:38 -0700 (PDT)
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 rgm <at> gnu.org-20141020195941-icp42t8ttcnud09g
Windowing system distributor `Microsoft Corp.', version 6.1.7601
Configured using:
 `configure --enable-checking=yes,glyphs CPPFLAGS=-DGLYPH_DEBUG=1'


[Message part 3 (message/rfc822, inline)]
From: Nicolas Petton <nicolas <at> petton.fr>
To: Drew Adams <drew.adams <at> oracle.com>, 20830 <at> debbugs.gnu.org,
 20830-done <at> debbugs.gnu.org
Subject: Re: bug#20830: 25.0.50;
 `find-alternate-file': Provide buffer name in error msg
Date: Tue, 16 Jun 2015 22:54:37 +0200
[Message part 4 (text/plain, inline)]
Drew Adams <drew.adams <at> oracle.com> 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
[signature.asc (application/pgp-signature, inline)]

This bug report was last modified 10 years and 40 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.