all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: XeCycle <xecycle@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: finding files not visited
Date: Wed, 21 Sep 2011 18:53:44 +0800	[thread overview]
Message-ID: <87ehza5fpj.fsf@gmail.com> (raw)
In-Reply-To: 4E79A437.3090102@gmail.com

[-- Attachment #1: Type: text/plain, Size: 1401 bytes --]

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 :)
>
> 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...
>
> 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?

Indeed I think it would bother you more if you enabled it globally.  It
may seem better to bind a key to include `-R' in the ls switches, if you
find adding it manually painful.

Perhaps you can write your own function to toggle the existence of `-R'
in `dired-ls-switches', and if it don't work immediately, try
`revert-buffer'.

-- 
Carl Lei (XeCycle)
Department of Physics, Shanghai Jiao Tong University
OpenPGP public key: 7795E591
Fingerprint: 1FB6 7F1F D45D F681 C845 27F7 8D71 8EC4 7795 E591

[-- Attachment #2: Type: application/pgp-signature, Size: 489 bytes --]

  parent reply	other threads:[~2011-09-21 10:53 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
2011-09-21 10:53     ` XeCycle [this message]
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=87ehza5fpj.fsf@gmail.com \
    --to=xecycle@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.