all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Enselic <enselic@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: A quick way of opening any file with given extension within a directory hierarchy?
Date: Tue, 05 Jun 2007 09:39:24 -0700	[thread overview]
Message-ID: <1181061564.502427.153140@g4g2000hsf.googlegroups.com> (raw)

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

             reply	other threads:[~2007-06-05 16:39 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-05 16:39 Enselic [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1181061564.502427.153140@g4g2000hsf.googlegroups.com \
    --to=enselic@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.