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

From: Kevin Rodgers <[email-masked]>
Date: Fri, 03 Dec 2010 22:52:14 -0700

On 12/3/10 4:16 PM, Glenn Morris wrote:
> Ken Brown wrote:
>
>> Wouldn't it make more sense to initialize dired-use-ls-dired based on
>> system-type?
>
> To me, it makes most sense to test what options ls actually supports:

Agreed, but

> (with-temp-buffer
>   (call-process "ls" nil t nil "--help")
>   (and (re-search-backward "--dired" nil t) t))

perhaps should be

(equal (call-process "ls" nil nil nil "--dired" "--directory" ".") 0)

-- 
Kevin Rodgers
Denver, Colorado, USA