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

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

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


From: Kevin Rodgers
Subject: bug#7546: 23.2; [dired] leading spaces in directory names
Date: Fri, 03 Dec 2010 22:52:14 -0700
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.4; en-US; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6

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






reply via email to

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