[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Fast completion with visible cue?
From: |
Kim F. Storm |
Subject: |
Re: Fast completion with visible cue? |
Date: |
27 Aug 2004 09:29:48 +0200 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 |
Simon Josefsson <address@hidden> writes:
> Is the following possible with some ad-on package? If so, would it
> make sense to enable the ad-on by default? If not, what do people
> think about adding this feature?
>
> I'm really sorry for the complicated explanation, there is probably a
> really simple term for this idea, and I suspect it is already
> implemented. But if so, I'd like to vote for having it on by default.
> Many GNOME and GTK programs have similar user experience.
>
> 1. CWD is ~. You wish to open a file
> ~/projects/src/foo/doc/drafts/template/help.txt, so you might press
> C-x C-f ~/proj TAB sr TAB f TAB doc TAB dr TAB tem TAB he TAB RET
>
> 2. You edit the file for a while, then close it with C-x C-k.
>
> 3. Hours pass and you edit lots of other files, however, consider for
> sake of example that all the files you edit are in ~/play/.
>
> 4. You wish to edit the first file again. You type
> C-x C-f ~/pro
Try ido-mode.
With that, you have several options here:
1) Since ido remembers the directories you have been editing, it
puts the most recent directory as the first choice for completion:
C-x C-f ~/pro RET RET RET RET ... RET
2) Since ido remembers the files you work on, this may also work:
C-x C-f help.txt M-s RET
--
Kim F. Storm <address@hidden> http://www.cua.dk
- Re: Fast completion with visible cue?, (continued)
Re: Fast completion with visible cue?, Andreas Schwab, 2004/08/26
Re: Fast completion with visible cue?, Jan D., 2004/08/27
Re: Fast completion with visible cue?,
Kim F. Storm <=