unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* A quick way of opening any file with given extension within a directory hierarchy?
@ 2007-06-05 16:39 Enselic
  2007-06-05 17:22 ` A quick way of opening any file with given extension within adirectory hierarchy? Drew Adams
                   ` (3 more replies)
  0 siblings, 4 replies; 11+ messages in thread
From: Enselic @ 2007-06-05 16:39 UTC (permalink / raw)
  To: help-gnu-emacs

Hello

I am wondering if this functionality has been written by someone.

1. I call func-i-look-for.

2. The mini buffer switches to "What file do you want?: "

3. When I start typing, there is a buffer that shows all files within
a given directory hierarchy whose filenames start with what I have
written.

4. I can cycle between available completions with C-n C-p (without
messing up what I have written in the minibuffer) and <return> takes
me to chosen buffer.

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?

Thank you,
- Martin Nordholts

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2007-06-14 18:31 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-06-05 16:39 A quick way of opening any file with given extension within a directory hierarchy? Enselic
2007-06-05 17:22 ` A quick way of opening any file with given extension within adirectory hierarchy? Drew Adams
     [not found] ` <mailman.1584.1181064234.32220.help-gnu-emacs@gnu.org>
2007-06-05 19:14   ` Peter Tury
2007-06-05 20:07     ` Eli Zaretskii
2007-06-05 20:30     ` Lennart Borgman (gmail)
2007-06-05 20:43     ` A quick way of opening any file with given extension withinadirectory hierarchy? Drew Adams
2007-06-05 21:00 ` A quick way of opening any file with given extension within a directory hierarchy? Kim F. Storm
2007-06-05 21:17   ` Dieter Wilhelm
2007-06-06  8:20     ` Kim F. Storm
2007-06-07  1:40       ` Dieter Wilhelm
2007-06-14 18:31 ` Enselic

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).