From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Filipp Gunbin Newsgroups: gmane.emacs.help Subject: Re: finding files not visited Date: Wed, 14 Sep 2011 15:41:58 +0400 Message-ID: References: <4E708BA5.7060206@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1316001034 3957 80.91.229.12 (14 Sep 2011 11:50:34 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 14 Sep 2011 11:50:34 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Sep 14 13:50:25 2011 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1R3nyz-0001nt-ID for geh-help-gnu-emacs@m.gmane.org; Wed, 14 Sep 2011 13:50:25 +0200 Original-Received: from localhost ([::1]:45772 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R3nyz-00038c-71 for geh-help-gnu-emacs@m.gmane.org; Wed, 14 Sep 2011 07:50:25 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:33067) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R3nyn-000389-SK for help-gnu-emacs@gnu.org; Wed, 14 Sep 2011 07:50:19 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R3nyj-0005hk-Md for help-gnu-emacs@gnu.org; Wed, 14 Sep 2011 07:50:13 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:41186) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R3nyj-0005es-F1 for help-gnu-emacs@gnu.org; Wed, 14 Sep 2011 07:50:09 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1R3nyf-0001fl-10 for help-gnu-emacs@gnu.org; Wed, 14 Sep 2011 13:50:05 +0200 Original-Received: from 94.25.210.15 ([94.25.210.15]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 14 Sep 2011 13:50:05 +0200 Original-Received: from fgunbin by 94.25.210.15 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 14 Sep 2011 13:50:05 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 28 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 94.25.210.15 User-Agent: Gnus/5.110014 (No Gnus v0.14) Emacs/23.3 (cygwin) Cancel-Lock: sha1:4n4oAVZt81iXfF11S8cTB0M1ZOA= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 80.91.229.12 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:82223 Archived-At: Andrea Crotti writes: > I'm working on a code-base (python) which is very nested, in a Java-like > style, and there are really thousands of files. > > I would like to access easily to files even if they are not visited yet. > > My idea is that if I am on path X on disk pressing C-x C-f would show me > first the current files, then writing something which is not found could > look for (with find for example) in the subdirectories to find the file > that I wanted. > > Is it possible to achieve something like this? > > Thanks, > Andrea I didn't understand what is your idea/suggestion, but I work with large amount of Java files this way: 1. Open a dired buffer for each project (Maven module in my case) 2. Set dired switches (C-u s) to contain -R so it outputs all files recursively 3. Use file name incremental search (C-s) to find what I want. I also have (setq dired-isearch-filenames t) in .emacs for it to be more convenient. Filipp