unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#20830: 25.0.50; `find-alternate-file': Provide buffer name in error msg
@ 2015-06-16 20:29 Drew Adams
  2015-06-16 20:54 ` Nicolas Petton
  0 siblings, 1 reply; 2+ messages in thread
From: Drew Adams @ 2015-06-16 20:29 UTC (permalink / raw)
  To: 20830

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@gnu.org-20141020195941-icp42t8ttcnud09g
Windowing system distributor `Microsoft Corp.', version 6.1.7601
Configured using:
 `configure --enable-checking=yes,glyphs CPPFLAGS=-DGLYPH_DEBUG=1'





^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#20830: 25.0.50; `find-alternate-file': Provide buffer name in error msg
  2015-06-16 20:29 bug#20830: 25.0.50; `find-alternate-file': Provide buffer name in error msg Drew Adams
@ 2015-06-16 20:54 ` Nicolas Petton
  0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Petton @ 2015-06-16 20:54 UTC (permalink / raw)
  To: Drew Adams, 20830, 20830-done

[-- Attachment #1: Type: text/plain, Size: 406 bytes --]

Drew Adams <drew.adams@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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 512 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-06-16 20:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-06-16 20:29 bug#20830: 25.0.50; `find-alternate-file': Provide buffer name in error msg Drew Adams
2015-06-16 20:54 ` Nicolas Petton

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).