* dired-use-ls-dired docstring still not quite right
@ 2011-07-26 22:45 Randal L. Schwartz
2011-07-27 2:57 ` Eli Zaretskii
0 siblings, 1 reply; 2+ messages in thread
From: Randal L. Schwartz @ 2011-07-26 22:45 UTC (permalink / raw)
To: emacs-devel
The docstring for dired-use-ls-direcd includes:
Note that if you set this option to nil, either through choice or
because your "ls" program does not support "--dired", Dired
will fail to parse some "unusual" file names, e.g. those with leading
spaces. You might want to install ls from GNU Coreutils, which does
support this option. Alternatively, you might want to use Emacs's
own emulation of "ls", by using:
(setq ls-lisp-use-insert-directory-program nil)
(require 'ls-lisp)
This is used by default on MS Windows, which does not have an "ls"
program.
Note that `ls-lisp' does not support as many options as GNU ls, though.
For more details, see Info node `(emacs)ls in Lisp'.
I don't wish to force the loading of ls-lisp in my .emacs (it's already
slow enough), so there should be a hook in dired to load it when needed.
Can I get the authors of dired to consider that when dired-use-ls-dired
is already nil, to go ahead and load ls-lisp so that it works properly?
Or is there something I can add in .emacs that says "load ls-lisp when
dired is needed" directly?
Actually, it should probably be loaded whenever anyone wants to call ls
and try to pass it --dired. Can that be done instead?
--
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn@stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
See http://methodsandmessages.posterous.com/ for Smalltalk discussion
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-07-27 2:57 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-26 22:45 dired-use-ls-dired docstring still not quite right Randal L. Schwartz
2011-07-27 2:57 ` Eli Zaretskii
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.