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, 21 Sep 2011 14:20:39 +0400 Message-ID: References: <4E708BA5.7060206@gmail.com> <4E79A437.3090102@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1316665278 16136 80.91.229.12 (22 Sep 2011 04:21:18 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 22 Sep 2011 04:21:18 +0000 (UTC) Cc: GNU Emacs List To: Andrea Crotti Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Sep 22 06:21:14 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 1R6amf-0001M8-RV for geh-help-gnu-emacs@m.gmane.org; Thu, 22 Sep 2011 06:21:13 +0200 Original-Received: from localhost ([::1]:60718 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R6ama-00085t-0V for geh-help-gnu-emacs@m.gmane.org; Thu, 22 Sep 2011 00:21:08 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:56785) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R6Jv8-00057C-Ag for help-gnu-emacs@gnu.org; Wed, 21 Sep 2011 06:20:51 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R6Jv6-0005Gn-MG for help-gnu-emacs@gnu.org; Wed, 21 Sep 2011 06:20:50 -0400 Original-Received: from out1.smtp.messagingengine.com ([66.111.4.25]:52359) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R6Jv6-0005GG-Jy for help-gnu-emacs@gnu.org; Wed, 21 Sep 2011 06:20:48 -0400 Original-Received: from compute4.internal (compute4.nyi.mail.srv.osa [10.202.2.44]) by gateway2.nyi.mail.srv.osa (Postfix) with ESMTP id B0B34200FC; Wed, 21 Sep 2011 06:20:46 -0400 (EDT) Original-Received: from frontend1.nyi.mail.srv.osa ([10.202.2.160]) by compute4.internal (MEProxy); Wed, 21 Sep 2011 06:20:46 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=from:to:cc:subject:in-reply-to:references :date:message-id:mime-version:content-type; s=smtpout; bh=tZKYCG XhgdrD0rGUuY7bPLrxcLA=; b=bEKYgDFc9FPiKvRi+Tac/WeFIxnNtVqSe8zA+w KoSb9vimPLCRVFj+RrHc94yWei1FKYVPxn4rVDqc26JtTBvE6Hbu3FnaCNAKh7Dq aZyG7ct8s4VzrecQE/Ics9iKUdh+dfIve1eEujr23D0QIyX5i+Tyx2wV0ai2S8am +ewM8= X-Sasl-enc: VX6LUuiSIth6OcPEQ9PWRBMONNmz1uVF4kj8TSE7y+Hf 1316600446 Original-Received: from ws796-of-spb.ru.yotateam.com (unknown [94.25.210.15]) by mail.messagingengine.com (Postfix) with ESMTPSA id BDFDD82009B; Wed, 21 Sep 2011 06:20:45 -0400 (EDT) In-Reply-To: <4E79A437.3090102@gmail.com> (Andrea Crotti's message of "Wed, 21 Sep 2011 09:45:43 +0100") User-Agent: Gnus/5.110014 (No Gnus v0.14) Emacs/23.3 (cygwin) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 66.111.4.25 X-Mailman-Approved-At: Thu, 22 Sep 2011 00:21:03 -0400 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:82280 Archived-At: Andrea Crotti writes: > On 09/14/2011 12:41 PM, Filipp Gunbin wrote: >> 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 > > I'm happily using this solution actually :) I'm glad it's OK for you. > > The only problem is that I would like to enable it globally, but only > when the actual number of subdirectories is not huge, otherwise it > takes forever... For me, setting "-I .svn -I .git" etc. usually leaves not much of them. Is it really a problem considering that each directory needs to be opened only once in a single Emacs session (and particular subdirs can be rescanned individually by "l" in Dired)? > > I can't find, however, a variable to set up to give a limit of maximum > sub-directories to open... > Or how can I achieve that? If you do this then you won't know for sure that a given file exists or doesn't exist in a particular directory tree when you use C-s, so I think it's a bad idea. Filipp