GNU bug report logs - #20879
find-file completion to suggest currently open buffers

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; Reported by: Ed Avis <eda@HIDDEN>; dated Tue, 23 Jun 2015 11:22:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

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


Received: (at submit) by debbugs.gnu.org; 23 Jun 2015 11:21:56 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Jun 23 07:21:56 2015
Received: from localhost ([127.0.0.1]:54938 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1Z7MH5-0002HB-O3
	for submit <at> debbugs.gnu.org; Tue, 23 Jun 2015 07:21:56 -0400
Received: from eggs.gnu.org ([208.118.235.92]:54784)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <geb-bug-gnu-emacs@HIDDEN>) id 1Z7MH3-0002Gz-OX
 for submit <at> debbugs.gnu.org; Tue, 23 Jun 2015 07:21:54 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <geb-bug-gnu-emacs@HIDDEN>) id 1Z7MGx-0004Rk-Sa
 for submit <at> debbugs.gnu.org; Tue, 23 Jun 2015 07:21:48 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: **
X-Spam-Status: No, score=2.4 required=5.0 tests=BAYES_20,FSL_HELO_BARE_IP_2,
 RCVD_NUMERIC_HELO autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:46236)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <geb-bug-gnu-emacs@HIDDEN>) id 1Z7MGx-0004Rf-QT
 for submit <at> debbugs.gnu.org; Tue, 23 Jun 2015 07:21:47 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:40050)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <geb-bug-gnu-emacs@HIDDEN>) id 1Z7MGu-0002a2-FQ
 for bug-gnu-emacs@HIDDEN; Tue, 23 Jun 2015 07:21:47 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <geb-bug-gnu-emacs@HIDDEN>) id 1Z7MGr-0004QZ-8l
 for bug-gnu-emacs@HIDDEN; Tue, 23 Jun 2015 07:21:44 -0400
Received: from plane.gmane.org ([80.91.229.3]:50499)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <geb-bug-gnu-emacs@HIDDEN>) id 1Z7MGq-0004QC-QU
 for bug-gnu-emacs@HIDDEN; Tue, 23 Jun 2015 07:21:41 -0400
Received: from list by plane.gmane.org with local (Exim 4.69)
 (envelope-from <geb-bug-gnu-emacs@HIDDEN>) id 1Z7MGn-0001I7-KB
 for bug-gnu-emacs@HIDDEN; Tue, 23 Jun 2015 13:21:37 +0200
Received: from 80.169.169.174 ([80.169.169.174])
 by main.gmane.org with esmtp (Gmexim 0.1 (Debian))
 id 1AlnuQ-0007hv-00
 for <bug-gnu-emacs@HIDDEN>; Tue, 23 Jun 2015 13:21:37 +0200
Received: from eda by 80.169.169.174 with local (Gmexim 0.1 (Debian))
 id 1AlnuQ-0007hv-00
 for <bug-gnu-emacs@HIDDEN>; Tue, 23 Jun 2015 13:21:37 +0200
X-Injected-Via-Gmane: http://gmane.org/
To: bug-gnu-emacs@HIDDEN
From: Ed Avis <eda@HIDDEN>
Subject: find-file completion to suggest currently open buffers
Date: Tue, 23 Jun 2015 11:21:32 +0000 (UTC)
Lines: 17
Message-ID: <loom.20150623T131817-933@HIDDEN>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Complaints-To: usenet@HIDDEN
X-Gmane-NNTP-Posting-Host: sea.gmane.org
User-Agent: Loom/3.14 (http://gmane.org/)
X-Loom-IP: 80.169.169.174 (Mozilla/5.0 (Windows NT 6.1; Win64; x64;
 rv:38.0) Gecko/20100101 Firefox/38.0 Cyberfox/38.0.6)
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
 recognized.
X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address
 (bad octet value).
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -2.0 (--)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/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: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.2 (---)

If a file is being visited in a buffer but does not exist on disk, then
tab completion in find-file will not suggest it.  For example:

- make sure there are no filenames in the current directory beginning with f.
- C-x C-f f o o RET
- C-x b RET to switch to some unrelated buffer
- C-x C-f f TAB

Expected results: although there are no files currently on disk beginning f,
I am visiting a buffer for the filename 'foo', so it should complete to 'foo'.
After all, if I type f o o RET manually then the effect is to switch to that
buffer - so it should be included as a choice in autocomplete.

GNU Emacs 24.4.1 (x86_64-redhat-linux-gnu, GTK+ Version 3.10.9)

-- 
Ed Avis <eda@HIDDEN>





Acknowledgement sent to Ed Avis <eda@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#20879; 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: Tue, 23 Jun 2015 11:30:05 UTC

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