Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

find-file completion tweak

0 views
Skip to first unread message

Eric Roode

unread,
Jul 19, 2008, 3:18:36 PM7/19/08
to help-gn...@gnu.org
Once upon a time, I could have sworn that find-file completion had a feature whereby if the first character you typed was a / or a ~, the entire default directory was erased and replaced with the / or ~.  This was terribly convenient.

Right now, if you want to open an absolute file name (or one relative to your home directory), you have to hit C-a C-k after you type C-x C-f and before you type / or ~.  Annoying.

Did I dream this feature?  Did it go away?  How can I make find-file behave this way again?

Thanks,
Eric

Bernardo Bacic

unread,
Jul 20, 2008, 2:48:08 AM7/20/08
to help-gn...@gnu.org
(file-name-shadow-mode 1) does something similar

it was a dark and stormy night when Eric Roode said,

Thr4wn

unread,
Jul 21, 2008, 5:22:08 PM7/21/08
to

What version of emacs are you using? I'm have version 22.2.1 on Debian
(compiled from source) and that's what mine does by default, which
makes me curious why yours isn't working.

-Thr4wn

Eric Roode

unread,
Jul 28, 2008, 2:21:53 PM7/28/08
to help-gn...@gnu.org
Strange.

I'm currently using 21.2.1 on cygwin/winXP, for what it's worth (using the version that cygwin's package manager installs).

-- Eric

Lowell Gilbert

unread,
Jul 28, 2008, 2:46:39 PM7/28/08
to
"Eric Roode" <eric.roo...@gmail.com> writes:

Hit <tab> to get emacs to complete it for you?

0 new messages