Subject: bug#7546: 23.2; [dired] leading spaces in directory names

From: Ken Brown <[email-masked]>
Date: Fri, 03 Dec 2010 18:13:21 -0500

On 12/3/2010 5:30 PM, Glenn Morris wrote:
> Andreas Schwab wrote:
>
>> The difference is probably ls --dired support.
>
> Then I can reiterate my comments from
>
> http://debbugs.gnu.org/cgi/bugreport.cgi?bug=5597#14
>
>      Indeed it fails if one sets dired-use-ls-dired to nil.
>
>      That variable is initialized in a funny way, via
>
>      (string-match "gnu" system-configuration)
>
>      I guess (?) many Mac users do indeed have access to GNU ls, despite
>      not having "gnu" in their `system-configuration'.

Wouldn't it make more sense to initialize dired-use-ls-dired based on 
system-type?  (See the initialization of dired-chown-program, for 
instance).  Cygwin is another system that has GNU ls but gets 
dired-use-ls-dired initialized to nil.