GNU bug report logs - #7546
23.2; [dired] leading spaces in directory names

Previous Next

Package: emacs;

Reported by: Dave Abrahams <dave <at> boostpro.com>

Date: Fri, 3 Dec 2010 20:38:01 UTC

Severity: normal

Merged with 5349

Found in version 23.2

Done: Chong Yidong <cyd <at> stupidchicken.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Kevin Rodgers <kevin.d.rodgers <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: bug#7546: 23.2; [dired] leading spaces in directory names
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





This bug report was last modified 14 years and 230 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.