GNU bug report logs - #9039
24.0.50; dired "f" fails on directory that begins with a space

Previous Next

Package: emacs;

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 #47 received at 9039 <at> debbugs.gnu.org (full text, mbox):

From: merlyn <at> stonehenge.com (Randal L. Schwartz)
To: Glenn Morris <rgm <at> gnu.org>
Cc: 9039 <at> debbugs.gnu.org, Eli Zaretskii <eliz <at> gnu.org>
Subject: Re: bug#9039: 24.0.50;
	dired "f" fails on directory that begins with a space
Date: Wed, 13 Jul 2011 11:11:56 -0700
>>>>> "GM" == Glenn Morris <rgm <at> gnu.org> writes:

GM> Randal L. Schwartz wrote:
>> What I'm confused about is if setting the other switch always does the
>> right thing (and faster, without forking), why would dired *ever* use
>> "ls --dired"?

GM> In the doc of dired-use-ls-dired, I mention that ls-lisp does not
GM> support as many options as GNU ls.

So what features of dired break?  All I see in the docs for that var is:

    dired-use-ls-dired is a variable defined in `dired.el'.
    Its value is unspecified

    Documentation:
    Non-nil means Dired should use "ls --dired".
    The special value of `unspecified' means to check explicitly, and
    save the result in this variable.  This is performed the first
    time `dired-insert-directory' is called.

    You can customize this variable.

Ahh, in ls-lisp.el, I see

    ;; RESTRICTIONS ======================================================

    ;; * A few obscure ls switches are still ignored: see the docstring of
    ;; `insert-directory'.

    ;; TO DO =============================================================

    ;; Complete handling of F switch (if/when possible).

    ;; FJW: May be able to sort much faster by consing the sort key onto
    ;; the front of each list element, sorting and then stripping the key
    ;; off again!

Is that what you're talking about?

-- 
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.