From: Filipp Gunbin <fgunbin@fastmail.fm>
To: Andrea Crotti <andrea.crotti.0@gmail.com>
Cc: GNU Emacs List <help-gnu-emacs@gnu.org>
Subject: Re: finding files not visited
Date: Wed, 21 Sep 2011 14:20:39 +0400 [thread overview]
Message-ID: <r9kaa9y8adj.fsf@ws796-of-spb.ru.yotateam.com> (raw)
In-Reply-To: <4E79A437.3090102@gmail.com> (Andrea Crotti's message of "Wed, 21 Sep 2011 09:45:43 +0100")
Andrea Crotti <andrea.crotti.0@gmail.com> 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
next prev parent reply other threads:[~2011-09-21 10:20 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-09-14 11:10 finding files not visited Andrea Crotti
2011-09-14 11:41 ` Filipp Gunbin
2011-09-21 8:45 ` Andrea Crotti
2011-09-21 10:20 ` Filipp Gunbin [this message]
2011-09-21 10:53 ` XeCycle
2011-09-14 13:07 ` Peter Münster
2011-09-14 15:27 ` suvayu ali
2011-09-14 16:34 ` Andrea Crotti
2011-09-14 20:50 ` Jeffrey Spencer
2011-09-14 22:15 ` Suvayu Ali
2011-09-15 14:45 ` Richard Riley
2011-09-15 15:33 ` Jeffrey Spencer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=r9kaa9y8adj.fsf@ws796-of-spb.ru.yotateam.com \
--to=fgunbin@fastmail.fm \
--cc=andrea.crotti.0@gmail.com \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.