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

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Severity: minor; Reported by: Uday S Reddy <u.s.reddy@HIDDEN>; dated Thu, 31 Mar 2011 21:34:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at 8399 <at> debbugs.gnu.org:


Received: (at 8399) by debbugs.gnu.org; 1 Apr 2011 14:53:16 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Apr 01 10:53:16 2011
Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1Q5fiu-0002Zs-26
	for submit <at> debbugs.gnu.org; Fri, 01 Apr 2011 10:53:16 -0400
Received: from ironport2-out.teksavvy.com ([206.248.154.183]
	helo=ironport2-out.pppoe.ca)
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <monnier@HIDDEN>) id 1Q5fir-0002Zc-TQ
	for 8399 <at> debbugs.gnu.org; Fri, 01 Apr 2011 10:53:14 -0400
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AvsEAFXmlU1FxKsL/2dsb2JhbAClVniIebkwhWsEljSDTA
X-IronPort-AV: E=Sophos;i="4.63,282,1299474000"; d="scan'208";a="102484394"
Received: from 69-196-171-11.dsl.teksavvy.com (HELO pastel.home)
	([69.196.171.11])
	by ironport2-out.pppoe.ca with ESMTP/TLS/ADH-AES256-SHA;
	01 Apr 2011 10:53:08 -0400
Received: by pastel.home (Postfix, from userid 20848)
	id 13ABF58F8C; Fri,  1 Apr 2011 10:53:08 -0400 (EDT)
From: Stefan Monnier <monnier@HIDDEN>
To: Uday S Reddy <u.s.reddy@HIDDEN>
Subject: Re: bug#8399: 23.3; save-some-buffers ignores buffer names
Message-ID: <jwvvcyy58hz.fsf-monnier+emacs@HIDDEN>
References: <83y63vm0v4.fsf@HIDDEN>
	<jwvd3l67pr0.fsf-monnier+emacs@HIDDEN>
	<19861.36650.140000.470708@HIDDEN>
Date: Fri, 01 Apr 2011 10:53:08 -0400
In-Reply-To: <19861.36650.140000.470708@HIDDEN> (Uday S. Reddy's
	message of "Fri, 1 Apr 2011 09:39:06 +0100")
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -2.1 (--)
X-Debbugs-Envelope-To: 8399
Cc: 8399 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.11
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/pipermail/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -2.1 (--)

> 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?

Check uniquify-buffer-name-style.


        Stefan




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs@HIDDEN:
bug#8399; Package emacs. Full text available.

Message received at 8399 <at> debbugs.gnu.org:


Received: (at 8399) by debbugs.gnu.org; 1 Apr 2011 08:39:30 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Apr 01 04:39:30 2011
Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1Q5ZtC-0001pN-32
	for submit <at> debbugs.gnu.org; Fri, 01 Apr 2011 04:39:30 -0400
Received: from sun60.bham.ac.uk ([147.188.128.137])
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <u.s.reddy@HIDDEN>) id 1Q5ZtA-0001pA-0O
	for 8399 <at> debbugs.gnu.org; Fri, 01 Apr 2011 04:39:28 -0400
Received: from [147.188.128.127] (helo=bham.ac.uk)
	by sun60.bham.ac.uk with esmtp (Exim 4.72)
	(envelope-from <u.s.reddy@HIDDEN>)
	id 1Q5Zt3-0005w8-Mi; Fri, 01 Apr 2011 09:39:21 +0100
Received: from mx1.cs.bham.ac.uk ([147.188.192.53])
	by bham.ac.uk (envelope-from <u.s.reddy@HIDDEN>)
	with esmtps (TLSv1:DES-CBC3-SHA:168) (Exim 4.72) id 1Q5Zt2-0004yL-Fu 
	using interface smart1.bham.ac.uk; Fri, 01 Apr 2011 09:39:20 +0100
Received: from gromit.cs.bham.ac.uk ([147.188.193.16]
	helo=MARUTI.cs.bham.ac.uk)
	by mx1.cs.bham.ac.uk with esmtp (Exim 4.51)
	id 1Q5Zt2-0001PP-Hg; Fri, 01 Apr 2011 09:39:20 +0100
Message-ID: <19861.36650.140000.470708@HIDDEN>
Date: Fri, 1 Apr 2011 09:39:06 +0100
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
From: Uday S Reddy <u.s.reddy@HIDDEN>
To: Stefan Monnier <monnier@HIDDEN>
Subject: Re: bug#8399: 23.3; save-some-buffers ignores buffer names
In-Reply-To: <jwvd3l67pr0.fsf-monnier+emacs@HIDDEN>
References: <83y63vm0v4.fsf@HIDDEN>
	<jwvd3l67pr0.fsf-monnier+emacs@HIDDEN>
X-Mailer: VM 8.1.93a under 23.3.1 (i386-mingw-nt5.1.2600)
X-Spam-Score: -3.2 (---)
X-Debbugs-Envelope-To: 8399
Cc: Uday S Reddy <u.s.reddy@HIDDEN>, 8399 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.11
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/pipermail/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -3.2 (---)

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




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs@HIDDEN:
bug#8399; Package emacs. Full text available.

Message received at 8399 <at> debbugs.gnu.org:


Received: (at 8399) by debbugs.gnu.org; 1 Apr 2011 01:01:15 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Mar 31 21:01:14 2011
Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1Q5Sji-0000KI-HA
	for submit <at> debbugs.gnu.org; Thu, 31 Mar 2011 21:01:14 -0400
Received: from ironport2-out.teksavvy.com ([206.248.154.183]
	helo=ironport2-out.pppoe.ca)
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <monnier@HIDDEN>) id 1Q5Sjh-0000K6-2v
	for 8399 <at> debbugs.gnu.org; Thu, 31 Mar 2011 21:01:13 -0400
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AvsEAHwilU1FxKsL/2dsb2JhbAClWXiIebgqhWsEli2DTA
X-IronPort-AV: E=Sophos;i="4.63,279,1299474000"; d="scan'208";a="99403237"
Received: from 69-196-171-11.dsl.teksavvy.com (HELO pastel.home)
	([69.196.171.11])
	by ironport2-out.pppoe.ca with ESMTP/TLS/ADH-AES256-SHA;
	31 Mar 2011 21:01:06 -0400
Received: by pastel.home (Postfix, from userid 20848)
	id D417958F8C; Thu, 31 Mar 2011 21:01:05 -0400 (EDT)
From: Stefan Monnier <monnier@HIDDEN>
To: Uday S Reddy <u.s.reddy@HIDDEN>
Subject: Re: bug#8399: 23.3; save-some-buffers ignores buffer names
Message-ID: <jwvd3l67pr0.fsf-monnier+emacs@HIDDEN>
References: <83y63vm0v4.fsf@HIDDEN>
Date: Thu, 31 Mar 2011 21:01:05 -0400
In-Reply-To: <83y63vm0v4.fsf@HIDDEN> (Uday S. Reddy's message of "Thu, 
	31 Mar 2011 22:33:19 +0100")
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -2.1 (--)
X-Debbugs-Envelope-To: 8399
Cc: 8399 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.11
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/pipermail/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -2.1 (--)

> The attached patch (on Emacs-23 head) modifies the dialogue so that
> file-names are used in the dialogue only when they coincide with the
> buffer names.  Otherwise, buffer names are used preferentially.

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.
IMNSHO,


        Stefan




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs@HIDDEN:
bug#8399; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 31 Mar 2011 21:33:50 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Mar 31 17:33:49 2011
Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1Q5PUz-0004E0-0W
	for submit <at> debbugs.gnu.org; Thu, 31 Mar 2011 17:33:49 -0400
Received: from eggs.gnu.org ([140.186.70.92])
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <u.s.reddy@HIDDEN>) id 1Q5PUw-0004Dn-Ap
	for submit <at> debbugs.gnu.org; Thu, 31 Mar 2011 17:33:47 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <u.s.reddy@HIDDEN>) id 1Q5PUp-00032E-IU
	for submit <at> debbugs.gnu.org; Thu, 31 Mar 2011 17:33:41 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD,
	T_TVD_MIME_NO_HEADERS autolearn=unavailable version=3.3.1
Received: from lists.gnu.org ([199.232.76.165]:60739)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <u.s.reddy@HIDDEN>) id 1Q5PUp-00032A-EI
	for submit <at> debbugs.gnu.org; Thu, 31 Mar 2011 17:33:39 -0400
Received: from [140.186.70.92] (port=52287 helo=eggs.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1Q5PUn-0004lW-ML
	for bug-gnu-emacs@HIDDEN; Thu, 31 Mar 2011 17:33:39 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <u.s.reddy@HIDDEN>) id 1Q5PUl-00031q-Rr
	for bug-gnu-emacs@HIDDEN; Thu, 31 Mar 2011 17:33:37 -0400
Received: from sun60.bham.ac.uk ([147.188.128.137]:51242)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <u.s.reddy@HIDDEN>) id 1Q5PUl-00031U-JT
	for bug-gnu-emacs@HIDDEN; Thu, 31 Mar 2011 17:33:35 -0400
Received: from [147.188.128.127] (helo=bham.ac.uk)
	by sun60.bham.ac.uk with esmtp (Exim 4.72)
	(envelope-from <u.s.reddy@HIDDEN>) id 1Q5PUi-0004HV-NR
	for bug-gnu-emacs@HIDDEN; Thu, 31 Mar 2011 22:33:32 +0100
Received: from mx1.cs.bham.ac.uk ([147.188.192.53])
	by bham.ac.uk (envelope-from <u.s.reddy@HIDDEN>)
	with esmtps (TLSv1:DES-CBC3-SHA:168) (Exim 4.72) id 1Q5PUi-0001oa-DO
	for bug-gnu-emacs@HIDDEN 
	using interface smart1.bham.ac.uk; Thu, 31 Mar 2011 22:33:32 +0100
Received: from gromit.cs.bham.ac.uk ([147.188.193.16]
	helo=MARUTI.cs.bham.ac.uk)
	by mx1.cs.bham.ac.uk with esmtp (Exim 4.51)
	id 1Q5PUi-0006PB-R2; Thu, 31 Mar 2011 22:33:33 +0100
From: Uday S Reddy <u.s.reddy@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 23.3; save-some-buffers ignores buffer names
Date: Thu, 31 Mar 2011 22:33:19 +0100
Message-ID: <83y63vm0v4.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="=-=-="
X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
X-Received-From: 199.232.76.165
X-Spam-Score: -5.2 (-----)
X-Debbugs-Envelope-To: submit
Cc: U.S.Reddy@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.11
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/pipermail/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -5.2 (-----)

--=-=-=

The save-some-buffers command queries the user as to which buffers
should be saved.  However, if the buffer has a file-name, it uses the
file-name in the dialogue instead of the buffer name.  If the buffer
name happens to differ from the buffer's file-name, this is confusing to
the users.  (It happens quite frequently in VM, which uses obscure
file-names for the caches of POP/IMAP folders, but the buffer names are
recognizable.)

The attached patch (on Emacs-23 head) modifies the dialogue so that
file-names are used in the dialogue only when they coincide with the
buffer names.  Otherwise, buffer names are used preferentially.

Cheers,
Uday



In GNU Emacs 23.3.1 (i386-mingw-nt5.1.2600)
 of 2011-03-10 on 3249CTO
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (4.5) --no-opt --cflags -Ic:/imagesupport/include'

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: ENU
  value of $XMODIFIERS: nil
  locale-coding-system: cp1252
  default enable-multibyte-characters: t

Major mode: VM Presentation

Minor modes in effect:
  diff-auto-refine-mode: t
  savehist-mode: t
  which-function-mode: t
  tooltip-mode: t
  mouse-wheel-mode: t
  use-hard-newlines: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  blink-cursor-mode: t
  auto-encryption-mode: t
  line-number-mode: t
  visual-line-mode: t
  transient-mark-mode: t

Recent input:
y C-x C-f C-g C-x o C-x C-f C-g C-x o C-x C-f <backspace> 
<backspace> <backspace> <backspace> <backspace> <backspace> 
<backspace> <backspace> - d e v / b z r . l o SPC <return> 
<next> <next> <next> <next> <prior> <next> <next> <next> 
<next> <next> <next> <next> <next> C-s f i l e s . 
e l C-a C-s 2 3 . 3 C-s C-s C-r C-r C-s C-s C-s C-r 
C-r C-r C-r C-r C-r C-r C-r C-r C-a <down-mouse-1> 
<mouse-movement> <mouse-1> C-x C-f <backspace> <backspace> 
<backspace> <backspace> <backspace> N E SPC W SPC <backspace> 
<backspace> <backspace> e t c / N E SPC <return> C-l 
<next> <next> <prior> <next> <next> <next> <next> <next> 
<next> <next> <next> <next> <next> <next> <next> <next> 
<next> <next> <next> <next> <next> <next> C-x k <return> 
C-x o C-x b f i l e s . SPC C-g C-x o C-x C-r C-x , 
C-x o C-x b f i l e s . SPC <return> C-x o M-x e d 
i f f - b u f <return> <return> <return> n n n <switch-frame> 
<down-mouse-1> <mouse-1> C-n C-b C-b C-b C-b C-b C-b 
C-b C-b C-b C-b C-b C-b C-b C-b C-b C-b C-b C-b C-b 
C-b C-b C-x o C-f C-f C-f C-f C-f C-f C-f C-f C-n C-f 
C-f C-f C-b C-b C-b C-b C-b C-a C-SPC C-n C-n C-n C-n 
C-n C-n C-n M-x u n t a b i f y <return> <switch-frame> 
<down-mouse-1> <mouse-1> q <switch-frame> <switch-frame> 
y C-x o M-x e d i f f - b u f <return> <return> <return> 
n n n b q <switch-frame> <switch-frame> y C-x o C-x 
C-s <escape> C-a <switch-frame> <down-mouse-1> <mouse-movement> 
<mouse-1> M-x r e p o r t - e m a c s - b u SPC <r
eturn>

Recent messages:
Processing difference regions ... done
Refining difference region 1 ...
Refining difference region 2 ...
Refining difference region 3 ...
Saving old diff region #3 of buffer A.  To recover, type `ra' [2 times]
Only white-space differences in region 3 
Quit this Ediff session? (y or n) 
Saving file d:/gnu/emacs-23-dev/lisp/files.el...
Wrote d:/gnu/emacs-23-dev/lisp/files.el
Mark set

Load-path shadows:
d:/Home/udr/share/emacs/sml-mode hides d:/gnu/emacs-23.3/../site-lisp/sml-mode
d:/Home/udr/share/emacs/savehist-20+ hides d:/gnu/emacs-23.3/../site-lisp/savehist-20+
d:/gnu/emacs-23.3/../site-lisp/longlines hides d:/gnu/emacs-23.3/lisp/longlines
d:/gnu/vm/trunk/lisp/cus-load hides d:/gnu/emacs-23.3/lisp/cus-load
d:/gnu/emacs-23.3/../packages/org-7.4/lisp/org hides d:/gnu/emacs-23.3/lisp/org/org
d:/gnu/emacs-23.3/../packages/org-7.4/lisp/org-xoxo hides d:/gnu/emacs-23.3/lisp/org/org-xoxo
d:/gnu/emacs-23.3/../packages/org-7.4/lisp/org-wl hides d:/gnu/emacs-23.3/lisp/org/org-wl
d:/gnu/emacs-23.3/../packages/org-7.4/lisp/org-w3m hides d:/gnu/emacs-23.3/lisp/org/org-w3m
d:/gnu/emacs-23.3/../packages/org-7.4/lisp/org-vm hides d:/gnu/emacs-23.3/lisp/org/org-vm
d:/gnu/emacs-23.3/../packages/org-7.4/lisp/org-timer hides d:/gnu/emacs-23.3/lisp/org/org-timer
d:/gnu/emacs-23.3/../packages/org-7.4/lisp/org-table hides d:/gnu/emacs-23.3/lisp/org/org-table
d:/gnu/emacs-23.3/../packages/org-7.4/lisp/org-src hides d:/gnu/emacs-23.3/lisp/org/org-src
d:/gnu/emacs-23.3/../packages/org-7.4/lisp/org-rmail hides d:/gnu/emacs-23.3/lisp/org/org-rmail
d:/gnu/emacs-23.3/../packages/org-7.4/lisp/org-remember hides d:/gnu/emacs-23.3/lisp/org/org-remember
d:/gnu/emacs-23.3/../packages/org-7.4/lisp/org-publish hides d:/gnu/emacs-23.3/lisp/org/org-publish
d:/gnu/emacs-23.3/../packages/org-7.4/lisp/org-protocol hides d:/gnu/emacs-23.3/lisp/org/org-protocol
d:/gnu/emacs-23.3/../packages/org-7.4/lisp/org-plot hides d:/gnu/emacs-23.3/lisp/org/org-plot
d:/gnu/emacs-23.3/../packages/org-7.4/lisp/org-mouse hides d:/gnu/emacs-23.3/lisp/org/org-mouse
d:/gnu/emacs-23.3/../packages/org-7.4/lisp/org-mobile hides d:/gnu/emacs-23.3/lisp/org/org-mobile
d:/gnu/emacs-23.3/../packages/org-7.4/lisp/org-mhe hides d:/gnu/emacs-23.3/lisp/org/org-mhe
d:/gnu/emacs-23.3/../packages/org-7.4/lisp/org-mew hides d:/gnu/emacs-23.3/lisp/org/org-mew
d:/gnu/emacs-23.3/../packages/org-7.4/lisp/org-macs hides d:/gnu/emacs-23.3/lisp/org/org-macs
d:/gnu/emacs-23.3/../packages/org-7.4/lisp/org-mac-message hides d:/gnu/emacs-23.3/lisp/org/org-mac-message
d:/gnu/emacs-23.3/../packages/org-7.4/lisp/org-list hides d:/gnu/emacs-23.3/lisp/org/org-list
d:/gnu/emacs-23.3/../packages/org-7.4/lisp/org-latex hides d:/gnu/emacs-23.3/lisp/org/org-latex
d:/gnu/emacs-23.3/../packages/org-7.4/lisp/org-jsinfo hides d:/gnu/emacs-23.3/lisp/org/org-jsinfo
d:/gnu/emacs-23.3/../packages/org-7.4/lisp/org-irc hides d:/gnu/emacs-23.3/lisp/org/org-irc
d:/gnu/emacs-23.3/../packages/org-7.4/lisp/org-install hides d:/gnu/emacs-23.3/lisp/org/org-install
d:/gnu/emacs-23.3/../packages/org-7.4/lisp/org-inlinetask hides d:/gnu/emacs-23.3/lisp/org/org-inlinetask
d:/gnu/emacs-23.3/../packages/org-7.4/lisp/org-info hides d:/gnu/emacs-23.3/lisp/org/org-info
d:/gnu/emacs-23.3/../packages/org-7.4/lisp/org-indent hides d:/gnu/emacs-23.3/lisp/org/org-indent
d:/gnu/emacs-23.3/../packages/org-7.4/lisp/org-id hides d:/gnu/emacs-23.3/lisp/org/org-id
d:/gnu/emacs-23.3/../packages/org-7.4/lisp/org-icalendar hides d:/gnu/emacs-23.3/lisp/org/org-icalendar
d:/gnu/emacs-23.3/../packages/org-7.4/lisp/org-html hides d:/gnu/emacs-23.3/lisp/org/org-html
d:/gnu/emacs-23.3/../packages/org-7.4/lisp/org-habit hides d:/gnu/emacs-23.3/lisp/org/org-habit
d:/gnu/emacs-23.3/../packages/org-7.4/lisp/org-gnus hides d:/gnu/emacs-23.3/lisp/org/org-gnus
d:/gnu/emacs-23.3/../packages/org-7.4/lisp/org-freemind hides d:/gnu/emacs-23.3/lisp/org/org-freemind
d:/gnu/emacs-23.3/../packages/org-7.4/lisp/org-footnote hides d:/gnu/emacs-23.3/lisp/org/org-footnote
d:/gnu/emacs-23.3/../packages/org-7.4/lisp/org-feed hides d:/gnu/emacs-23.3/lisp/org/org-feed
d:/gnu/emacs-23.3/../packages/org-7.4/lisp/org-faces hides d:/gnu/emacs-23.3/lisp/org/org-faces
d:/gnu/emacs-23.3/../packages/org-7.4/lisp/org-exp hides d:/gnu/emacs-23.3/lisp/org/org-exp
d:/gnu/emacs-23.3/../packages/org-7.4/lisp/org-exp-blocks hides d:/gnu/emacs-23.3/lisp/org/org-exp-blocks
d:/gnu/emacs-23.3/../packages/org-7.4/lisp/org-docbook hides d:/gnu/emacs-23.3/lisp/org/org-docbook
d:/gnu/emacs-23.3/../packages/org-7.4/lisp/org-datetree hides d:/gnu/emacs-23.3/lisp/org/org-datetree
d:/gnu/emacs-23.3/../packages/org-7.4/lisp/org-crypt hides d:/gnu/emacs-23.3/lisp/org/org-crypt
d:/gnu/emacs-23.3/../packages/org-7.4/lisp/org-compat hides d:/gnu/emacs-23.3/lisp/org/org-compat
d:/gnu/emacs-23.3/../packages/org-7.4/lisp/org-colview hides d:/gnu/emacs-23.3/lisp/org/org-colview
d:/gnu/emacs-23.3/../packages/org-7.4/lisp/org-clock hides d:/gnu/emacs-23.3/lisp/org/org-clock
d:/gnu/emacs-23.3/../packages/org-7.4/lisp/org-bibtex hides d:/gnu/emacs-23.3/lisp/org/org-bibtex
d:/gnu/emacs-23.3/../packages/org-7.4/lisp/org-bbdb hides d:/gnu/emacs-23.3/lisp/org/org-bbdb
d:/gnu/emacs-23.3/../packages/org-7.4/lisp/org-attach hides d:/gnu/emacs-23.3/lisp/org/org-attach
d:/gnu/emacs-23.3/../packages/org-7.4/lisp/org-ascii hides d:/gnu/emacs-23.3/lisp/org/org-ascii
d:/gnu/emacs-23.3/../packages/org-7.4/lisp/org-archive hides d:/gnu/emacs-23.3/lisp/org/org-archive
d:/gnu/emacs-23.3/../packages/org-7.4/lisp/org-agenda hides d:/gnu/emacs-23.3/lisp/org/org-agenda
d:/Home/udr/share/emacs/rnews hides d:/gnu/emacs-23.3/lisp/obsolete/rnews

Features:
(shadow sort message ecomplete mml mml-sec password-cache mm-decode
mm-bodies mm-encode mailcap nnheader gmm-utils mailheader canlock
hashcash mail-utils warnings emacsbug tabify smerge-mode diff-mode
noutline outline multi-isearch ediff-merg ediff-diff ediff-wind
ediff-help ediff-util ediff-mult ediff-init ediff cl-specs edebug
find-func help-mode view vm-pop vm-mark vm-delete bbdb-hooks mail-parse
rfc2231 rfc2047 rfc2045 qp ietf-drums mm-util mail-prsvr longlines
easy-mmode w3m-form w3m browse-url doc-view dired-x dired-aux mydired
dired image-mode w3m-hist w3m-fb bookmark-w3m w3m-ems wid-edit w3m-ccl
ccl w3m-favicon w3m-image w3m-proc w3m-util vm-w3m tapestry vm-sort
vm-thread vm-crypto vm-imap easymenu u-vm-color my-vm vc-bzr sha1
hex-util etags ps-print ps-def lpr vm-save vm-ps-print vm-rfaddons
vm-menu vm-window vm-toolbar vm-folder vm-mime vm-undo vm-virtual
vm-summary-faces vm-mouse vm-page vm-minibuf vm-message vm-misc vm-macro
bbdb-vm vm-summary vm-motion vm-autoload bbdb-snarf mail-extr rfc822
bbdb-com advice help-fns advice-preload mailabbrev cl cl-19 vm server
w3m-load bbdb-autoloads bbdb timezone vm-autoloads vm-version vm-vars
org-install savehist tex-site tex-mik telnet movement natural-space
NatSpeak sendmail auth-source gnus-util netrc time-date epa-file epa epg
epg-config ange-ftp regexp-opt comint ring echistory chistory ehelp
electric derived which-func imenu edmacro kmacro jka-compr tooltip
ediff-hook vc-hooks lisp-float-type mwheel dos-w32 disp-table ls-lisp
w32-win w32-vars tool-bar dnd fontset image fringe lisp-mode register
page menu-bar rfn-eshadow timer select scroll-bar mldrag mouse jit-lock
font-lock syntax facemenu font-core frame cham georgian utf-8-lang
misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew
greek romanian slovak czech european ethiopic indian cyrillic chinese
case-table epa-hook jka-cmpr-hook help simple abbrev loaddefs button
minibuffer faces cus-face files text-properties overlay md5 base64
format env code-pages mule custom widget hashtable-print-readable
backquote make-network-process multi-tty emacs)

-- 


--=-=-=
Content-Type: text/x-patch
Content-Disposition: attachment; filename=save-some-buffers.diff
Content-Description: patch for save-some-buffers in files.el

=== modified file 'lisp/files.el'
--- lisp/files.el	2011-03-11 12:19:08 +0000
+++ lisp/files.el	2011-03-31 21:23:03 +0000
@@ -4511,7 +4511,10 @@
                     (if arg
                         t
                       (setq queried t)
-                      (if (buffer-file-name buffer)
+                      (if (and (buffer-file-name buffer)
+                               (equal (buffer-name buffer)
+                                      (file-name-nondirectory 
+                                       (buffer-file-name buffer))))
                           (format "Save file %s? "
                                   (buffer-file-name buffer))
                         (format "Save buffer %s? "


--=-=-=--




Acknowledgement sent to Uday S Reddy <u.s.reddy@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs@HIDDEN:
bug#8399; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Fri, 31 Oct 2014 17:00:04 UTC

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