|
| From: | Kim F. Storm |
| Subject: | Re: A quick way of opening any file with given extension within a directory hierarchy? |
| Date: | Tue, 05 Jun 2007 23:00:12 +0200 |
| User-agent: | Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) |
Enselic <address@hidden> writes:
> Let's clarify with an example. I have the following source tree:
>
> root/file.cpp
> root/gtk/gtk.cpp
> root/msw/file2.cpp
>
> And call (after requred setup is made) func-i-look-for, then type "fi"
>
> I would now have file.cpp and file2.cpp listed in the buffer, and C-n
> <return> would get me to file2.cpp.
>
> Does anyone know if there is elisp code that does this somewhere?
Try ido mode.
Not exactly the interface you asked for, but you can do (in root/):
C-x C-f M-f fi RET
and then select the file you want with <- and -> (or C-s / C-r) RET
--
Kim F. Storm http://www.cua.dk
| [Prev in Thread] | Current Thread | [Next in Thread] |