GNU bug report logs -
#20879
find-file completion to suggest currently open buffers
Previous Next
Full log
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
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.