GNU bug report logs -
#9039
24.0.50; dired "f" fails on directory that begins with a space
Previous Next
Reported by: merlyn <at> stonehenge.com
Date: Sun, 10 Jul 2011 02:22:02 UTC
Severity: normal
Merged with 3710,
4044,
5597
Found in version 24.0.50
Done: Glenn Morris <rgm <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
Message #26 received at 9039 <at> debbugs.gnu.org (full text, mbox):
>>>>> "Eli" == Eli Zaretskii <eliz <at> gnu.org> writes:
>> Why isn't GNU Emacs using readdir() and stat() internally? Why is it
>> depending on an external ls?
Eli> It was always like that with Dired on Posix platforms. If you want a
Eli> Lisp emulation of `ls', try loading ls-lisp, maybe you will find it
Eli> better for your taste.
As I said on the dev-list:
By the way, (directory-files-and-attributes "~") does the right thing
with respect to this directory. So it still looks like dired is doing
the Wrong Thing.
Not only would it be faster, it'd be more portable.
So that's the bug here. Dired should be using the low-level routines,
not forking a lot.
--
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn <at> 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
This bug report was last modified 13 years and 228 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.