From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "weber" Newsgroups: gmane.emacs.help Subject: Re: Looking for interactive `locate-file' Date: 6 Mar 2007 10:38:54 -0800 Organization: http://groups.google.com Message-ID: <1173206334.205417.218830@8g2000cwh.googlegroups.com> References: <6dbd4d000703051753j23014087ob8beb4edf1741458@mail.gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: sea.gmane.org 1173206544 9932 80.91.229.12 (6 Mar 2007 18:42:24 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 6 Mar 2007 18:42:24 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Mar 06 19:42:14 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HOebx-0002Lh-Uh for geh-help-gnu-emacs@m.gmane.org; Tue, 06 Mar 2007 19:42:10 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HOebx-000507-S0 for geh-help-gnu-emacs@m.gmane.org; Tue, 06 Mar 2007 13:42:09 -0500 Original-Path: shelby.stanford.edu!newshub.stanford.edu!postnews.google.com!8g2000cwh.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 25 Original-NNTP-Posting-Host: 200.213.54.31 Original-X-Trace: posting.google.com 1173206355 959 127.0.0.1 (6 Mar 2007 18:39:15 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Tue, 6 Mar 2007 18:39:15 +0000 (UTC) In-Reply-To: User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; pt-BR; rv:1.8.1.2) Gecko/20070219 Firefox/2.0.0.2,gzip(gfe),gzip(gfe) X-HTTP-Via: 1.1 fw.datacom-telematica.com.br:3128 (squid/2.5.STABLE6) Complaints-To: groups-abuse@google.com Injection-Info: 8g2000cwh.googlegroups.com; posting-host=200.213.54.31; posting-account=pG57fA0AAADtQ-4h1MyvjXjZpSNZC0zj Original-Xref: shelby.stanford.edu gnu.emacs.help:146122 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:41726 Archived-At: On 6 mar, 06:29, "Drew Adams" wrote: > > I would like to be able to interactive find a file inside a list of > > paths, interactively, and in a way that supports some basic pattern > > matching. (For reference, the reason I want this is that Eclipse has > > it, and I find it quite useful.) Currently, I have a first > > approximation [1], but, it sucks. All it does is ask for a (possibly > > non-existent) filename, then look for that in a default list of paths. > > > I want to set up a list of directories pertaining to a particular > > project. Then when I M-x find-resource, I want it to ask for the > > filename and look in those paths for it -- interactively, listing all > > matches as I type. So if I were to type "type*.jsp", a results buffer > > would list all the files matching that pattern. > > > Has anyone written something like what I'm looking for, before? > > Yes.http://www.emacswiki.org/cgi-bin/wiki/LocateFilesAnywhere > > P.S. help-gnu-em...@gnu.org is probably the right list for this. You may also want to take a lood at 'ido'. It makes easier to open buffers and files. cheers, weber