GNU bug report logs - #8399
23.3; save-some-buffers ignores buffer names

Previous Next

Package: emacs;

Reported by: Uday S Reddy <u.s.reddy <at> cs.bham.ac.uk>

Date: Thu, 31 Mar 2011 21:34:02 UTC

Severity: minor

Tags: fixed

Found in version 23.3

Fixed in version 28.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Uday S Reddy <u.s.reddy <at> cs.bham.ac.uk>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: Uday S Reddy <u.s.reddy <at> cs.bham.ac.uk>, 8399 <at> debbugs.gnu.org
Subject: bug#8399: 23.3; save-some-buffers ignores buffer names
Date: Fri, 1 Apr 2011 09:39:06 +0100
Stefan Monnier writes:

> I think the file-name is only useful when you have buffer "file",
> "file<2>", "file<3>", ... so your check is going in the right direction
> but it should also use file-name when the buffer name matches
> (concat "\\<" (regexp-quote (file-name-nondirectory buffer-file-name))
> "<[0-9]+>\\'"), and it should never use file-names when uniquify
> is used.

Thanks Stefan.  I didn't think of the file<n> case.  I will submit a
revised patch.  Is uniquifying file-names something that Emacs does?
Or, were you just referring to the VM's cache folder names?

Cheers,
Uday




This bug report was last modified 4 years and 274 days ago.

Previous Next


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