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

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

bug#9039: 24.0.50; dired "f" fails on directory that begins with a space


From: Randal L. Schwartz
Subject: bug#9039: 24.0.50; dired "f" fails on directory that begins with a space
Date: Sat, 09 Jul 2011 20:08:45 -0700
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (berkeley-unix)

>>>>> "Eli" == Eli Zaretskii <eliz@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@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





reply via email to

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