From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.devel,gmane.emacs.help Subject: RE: Looking for interactive `locate-file' Date: Tue, 6 Mar 2007 06:29:11 -0800 Message-ID: References: <6dbd4d000703051753j23014087ob8beb4edf1741458@mail.gmail.com> NNTP-Posting-Host: dough.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1173191519 11266 80.91.229.10 (6 Mar 2007 14:31:59 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 6 Mar 2007 14:31:59 +0000 (UTC) Cc: emacs-devel@gnu.org To: "Denis Bueno" , "Help-Gnu-Emacs" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Mar 06 15:31:44 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by dough.gmane.org with esmtp (Exim 4.50) id 1HOahW-0003vX-B0 for ged-emacs-devel@m.gmane.org; Tue, 06 Mar 2007 15:31:44 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HOahN-00064p-7w for ged-emacs-devel@m.gmane.org; Tue, 06 Mar 2007 09:31:29 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HOagk-0005s3-Pc for emacs-devel@gnu.org; Tue, 06 Mar 2007 09:30:50 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HOagh-0005r7-Uu for emacs-devel@gnu.org; Tue, 06 Mar 2007 09:30:50 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HOagb-0005qV-8o; Tue, 06 Mar 2007 09:30:41 -0500 Original-Received: from agminet01.oracle.com ([141.146.126.228]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1HOagT-00077P-1s; Tue, 06 Mar 2007 09:30:34 -0500 Original-Received: from rgmgw3.us.oracle.com (rgmgw3.us.oracle.com [138.1.186.112]) by agminet01.oracle.com (Switch-3.2.4/Switch-3.1.7) with ESMTP id l26ETo3N004300; Tue, 6 Mar 2007 08:29:51 -0600 Original-Received: from rcsmt251.oracle.com (rcsmt251.oracle.com [148.87.90.196]) by rgmgw3.us.oracle.com (Switch-3.2.4/Switch-3.1.7) with ESMTP id l26DObEq003690; Tue, 6 Mar 2007 07:29:50 -0700 Original-Received: from dhcp-amer-whq-csvpn-gw3-141-144-82-57.vpn.oracle.com by rcsmt250.oracle.com with ESMTP id 2497954371173191351; Tue, 06 Mar 2007 07:29:11 -0700 X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) In-Reply-To: <6dbd4d000703051753j23014087ob8beb4edf1741458@mail.gmail.com> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028 X-Whitelist: TRUE X-Whitelist: TRUE X-Brightmail-Tracker: AAAAAQAAAAI= X-detected-kernel: Linux 2.4-2.6 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:67429 gmane.emacs.help:41716 Archived-At: > 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-emacs@gnu.org is probably the right list for this.