From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Pierre Mallard" Newsgroups: gmane.emacs.help Subject: Re: find files in emacs Date: Sat, 20 May 2006 20:20:37 +0200 Message-ID: References: <446F4D17.1020603@mail.telepac.pt> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2138617062==" X-Trace: sea.gmane.org 1148149687 22756 80.91.229.2 (20 May 2006 18:28:07 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 20 May 2006 18:28:07 +0000 (UTC) Cc: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat May 20 20:28:04 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FhWBF-0007gx-AY for geh-help-gnu-emacs@m.gmane.org; Sat, 20 May 2006 20:28:01 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FhWBE-0000R1-E4 for geh-help-gnu-emacs@m.gmane.org; Sat, 20 May 2006 14:28:00 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FhW47-00061b-M5 for help-gnu-emacs@gnu.org; Sat, 20 May 2006 14:20:39 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FhW46-000613-NL for help-gnu-emacs@gnu.org; Sat, 20 May 2006 14:20:39 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FhW46-000610-KF for help-gnu-emacs@gnu.org; Sat, 20 May 2006 14:20:38 -0400 Original-Received: from [64.233.166.177] (helo=py-out-1112.google.com) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FhW7h-00025h-9M for help-gnu-emacs@gnu.org; Sat, 20 May 2006 14:24:21 -0400 Original-Received: by py-out-1112.google.com with SMTP id i49so1029322pyi for ; Sat, 20 May 2006 11:20:37 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=KQiPqaSg23lqD/47B47c6ed+ZPj0Xix5qfHOeiJFfkZNgouewMdgNbdXFhV5x9+io/ecun8vu3jBK9OjVSRpiUlrKy7Gu4PPpqKYpbV0U6zCXM+BUcP+L63EebGvU/IzXDn4hoUBeJHYNelDktH4l+7cHup3BNYkcCwgGri51xI= Original-Received: by 10.35.53.18 with SMTP id f18mr2291100pyk; Sat, 20 May 2006 11:20:37 -0700 (PDT) Original-Received: by 10.35.50.9 with HTTP; Sat, 20 May 2006 11:20:37 -0700 (PDT) Original-To: "Drew Adams" In-Reply-To: X-Mailman-Approved-At: Sat, 20 May 2006 14:27:43 -0400 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:35174 Archived-At: --===============2138617062== Content-Type: multipart/alternative; boundary="----=_Part_41377_7500496.1148149237327" ------=_Part_41377_7500496.1148149237327 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Well maybe a find-dired or find-grep-dired is enough for him ? On 5/20/06, Drew Adams wrote: > > I've a big java project that i'm doing in emacs with jdee and ecb. I > want to find a file that exists somewhere inside the project. Is ther= e > any quick way to do it? > > What do you know about the file - the name? part of the name? the > directory > name (path)? part of the directory name? > > You can use command `icicle-locate-file' to find (visit) any file on your > file system. It lets you use a regexp to match any parts of the file name= , > including any parts of its path. > > It's in Icicles: http://www.emacswiki.org/cgi-bin/wiki/Icicles and is > described here: > http://www.emacswiki.org/cgi-bin/wiki/Icicles_-_File-Name_Input. The > Icicles > libraries are here: > http://www.emacswiki.org/cgi-bin/wiki/Icicles_-_Libraries. > > Just download the libraries, byte-compile them, put them in your > `load-path', `M-x load-library icicles', `M-x icy-mode', `M-x C-u > icicle-locate-file' and type the root directory of your search. You can > then > type a regexp that matches what you know about the file name and its path= . > You can change the regexp input on the fly and see the resulting hits > updated incrementally in buffer *Completions*, if you like. > > If you do this often and you are searching a large file system, you can > use > a persistent cache to speed things up after the first time - see the doc. > > There are other packages that also let you locate files, in different > ways. > See http://www.emacswiki.org/cgi-bin/wiki/LocateFilesAnywhere. And you ca= n > of course use the various forms of the Unix or GNU/Linux `find' command > that > are available in Emacs - see the Emacs manual for that. > > > > _______________________________________________ > help-gnu-emacs mailing list > help-gnu-emacs@gnu.org > http://lists.gnu.org/mailman/listinfo/help-gnu-emacs > ------=_Part_41377_7500496.1148149237327 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Well maybe a find-dired or find-grep-dired is enough for him ?

= On 5/20/06, Drew = Adams <drew.adams@oracle.co= m > wrote:
    I've a big java project that i'm doing in emacs wi= th jdee and ecb. I
    want to find a file that exists somewhere inside th= e project. Is there
    any quick way to do it?
<= br>What do you know about the file - the name? part of the name? the direct= ory
name (path)? part of the directory name?

You can use command `icicle-locate-file' to find (visit) any file o= n your
file system. It lets you use a regexp to match any parts of the f= ile name,
including any parts of its path.

It's in Icicles: http://www.emacswiki.org/cgi-bin/wiki/Icicles and is
described here:=
http://www.emacswiki.org/cgi-bin/wiki/Icicles_-_File-Name_Input. T= he Icicles
libraries are here:
http://www.emacswiki.org/cgi-bin/wiki/Icicles_-_Libra= ries.

Just download the libraries, byte-compile them, put them i= n your
`load-path', `M-x load-library icicles', `M-x icy-mode', `M-x C-u
ic= icle-locate-file' and type the root directory of your search. You can then<= br>type a regexp that matches what you know about the file name and its pat= h.
You can change the regexp input on the fly and see the resulting hitsupdated incrementally in buffer *Completions*, if you like.

If you= do this often and you are searching a large file system, you can use
a persistent cache to speed things up after the first time - see the doc.
There are other packages that also let you locate files, in different= ways.
See http://www.emacswiki.org/cgi-bin/wiki/LocateFilesAnywhere. And you can<= br>of course use the various forms of the Unix or GNU/Linux `find' command = that
are available in Emacs - see the Emacs manual for that.



_______________________________________________
help-gnu-emacs m= ailing list
help-gnu-emacs@gnu= .org
http://lists.gnu.org/mailman/listinfo/help-gnu-emacs

------=_Part_41377_7500496.1148149237327-- --===============2138617062== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ help-gnu-emacs mailing list help-gnu-emacs@gnu.org http://lists.gnu.org/mailman/listinfo/help-gnu-emacs --===============2138617062==--