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

Previous Next

Package: emacs;

Reported by: Ed Avis <eda <at> waniasset.com>

Date: Tue, 23 Jun 2015 11:22:02 UTC

Severity: wishlist

To reply to this bug, email your comments to 20879 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#20879; Package emacs. (Tue, 23 Jun 2015 11:22:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Ed Avis <eda <at> waniasset.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Tue, 23 Jun 2015 11:22:03 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Ed Avis <eda <at> waniasset.com>
To: bug-gnu-emacs <at> gnu.org
Subject: find-file completion to suggest currently open buffers
Date: Tue, 23 Jun 2015 11:21:32 +0000 (UTC)
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 <at> waniasset.com>





Severity set to 'wishlist' from 'minor' Request was from Stefan Kangas <stefan <at> marxist.se> to control <at> debbugs.gnu.org. (Sun, 29 Sep 2019 23:23:01 GMT) Full text and rfc822 format available.

This bug report was last modified 5 years and 315 days ago.

Previous Next


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