all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#20879: find-file completion to suggest currently open buffers
@ 2015-06-23 11:21 Ed Avis
  0 siblings, 0 replies; only message in thread
From: Ed Avis @ 2015-06-23 11:21 UTC (permalink / raw)
  To: 20879

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@waniasset.com>






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-06-23 11:21 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-06-23 11:21 bug#20879: find-file completion to suggest currently open buffers Ed Avis

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.