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


Message #31 received at 7546 <at> debbugs.gnu.org (full text, mbox):

From: Chong Yidong <cyd <at> stupidchicken.com>
To: Glenn Morris <rgm <at> gnu.org>
Cc: Dave Abrahams <dave <at> boostpro.com>, Andreas Schwab <schwab <at> linux-m68k.org>,
	"7546 <at> debbugs.gnu.org" <7546 <at> debbugs.gnu.org>,
	Ken Brown <kbrown <at> cornell.edu>
Subject: Re: bug#7546: 23.2; [dired] leading spaces in directory names
Date: Sat, 04 Dec 2010 17:10:43 -0500
Glenn Morris <rgm <at> gnu.org> writes:

> To me, it makes most sense to test what options ls actually supports:
>
> (with-temp-buffer
>  (call-process "ls" nil t nil "--help")
>  (and (re-search-backward "--dired" nil t) t))

It's better to check the exit code of `ls --dired'.  I've committed such
a fix to the trunk.




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.