help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How speedup find-dired?


From: Eli Zaretskii
Subject: Re: How speedup find-dired?
Date: Mon, 17 Jan 2011 17:57:01 -0500

> From: Oleksandr Gavenko <gavenkoa@gmail.com>
> Date: Mon, 17 Jan 2011 23:59:31 +0200
> 
> I use Cygwin/Windows combination.
> 
> Default value of 'find-ls-option' is:
> 
>    ("-ls" . "-gilsb")
> 
> or which in my case:
> 
>    ("-exec ls -ld {} \\;" . "-ld")
> 
> Invoking ls for every file is too slow (~= 3 file per sec).

I lost you right here: doesn't `("-ls" . "-gilsb")' work for you?
That should cause Emacs to invoke "find ... -ls", instead of invoking
a separate `ls' program for each file.

Also, if your `find' and `ls' ports are slow, I would look for faster
ports rather than for "portable" tweaks of Emacs.  Tweaks that seek to
fix platform-specific bugs or misfeatures can never be portable, in my
experience.

> I try set
> 
>    (setq find-ls-option '("-print" . ""))

Did you try

  (setq find-ls-option '("-ls" . "-gilsb"))

?  If you did, what happened?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]