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

Full log


View this message in rfc822 format

From: Ed Avis <eda <at> waniasset.com>
To: 20879 <at> debbugs.gnu.org
Subject: bug#20879: 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>





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.