From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Looking for interactive `locate-file' Date: Mon, 05 Mar 2007 21:37:08 -0500 Message-ID: References: <6dbd4d000703051753j23014087ob8beb4edf1741458@mail.gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1173148656 407 80.91.229.12 (6 Mar 2007 02:37:36 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 6 Mar 2007 02:37:36 +0000 (UTC) Cc: emacs-devel@gnu.org To: "Denis Bueno" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Mar 06 03:37:29 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HOPYO-0004F6-VD for ged-emacs-devel@m.gmane.org; Tue, 06 Mar 2007 03:37:29 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HOPYO-0005CO-O7 for ged-emacs-devel@m.gmane.org; Mon, 05 Mar 2007 21:37:28 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HOPYC-0005C5-TA for emacs-devel@gnu.org; Mon, 05 Mar 2007 21:37:16 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HOPYB-0005Bo-HS for emacs-devel@gnu.org; Mon, 05 Mar 2007 21:37:16 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HOPYB-0005Bl-Cf for emacs-devel@gnu.org; Mon, 05 Mar 2007 21:37:15 -0500 Original-Received: from tomts20.bellnexxia.net ([209.226.175.74] helo=tomts20-srv.bellnexxia.net) by monty-python.gnu.org with esmtp (Exim 4.52) id 1HOPYA-0008E3-0i for emacs-devel@gnu.org; Mon, 05 Mar 2007 21:37:14 -0500 Original-Received: from pastel.home ([74.12.206.221]) by tomts20-srv.bellnexxia.net (InterMail vM.5.01.06.13 201-253-122-130-113-20050324) with ESMTP id <20070306023708.LMLX1637.tomts20-srv.bellnexxia.net@pastel.home> for ; Mon, 5 Mar 2007 21:37:08 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id A74777F37; Mon, 5 Mar 2007 21:37:08 -0500 (EST) In-Reply-To: <6dbd4d000703051753j23014087ob8beb4edf1741458@mail.gmail.com> (Denis Bueno's message of "Mon\, 5 Mar 2007 20\:53\:13 -0500") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.93 (gnu/linux) X-detected-kernel: Solaris 8 (1) 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:67393 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? Have you tried M-x load-library while using partial-completion-mode? It sounds fairly close to what you describe, Stefan