GNU bug report logs - #5597
Dired unable to properly recognize file names

Previous Next

Package: emacs;

Reported by: "Otto Maddox" <ottomaddox <at> fastmail.fm>

Date: Thu, 18 Feb 2010 15:43:02 UTC

Severity: normal

Merged with 3710, 4044, 9039

Found in version 24.0.50

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


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

From: Chong Yidong <cyd <at> stupidchicken.com>
To: Glenn Morris <rgm <at> gnu.org>
Cc: 5597 <at> debbugs.gnu.org, Stefan Monnier <monnier <at> iro.umontreal.ca>,
	Otto Maddox <ottomaddox <at> fastmail.fm>
Subject: Re: bug#5597: Dired unable to properly recognize file names
Date: Sun, 21 Feb 2010 16:27:24 -0500
Glenn Morris <rgm <at> gnu.org> writes:

> Stefan Monnier wrote:
>
>> I think it depends on whether your `ls' supports --dired.
>
> Indeed it fails if one sets dired-use-ls-dired to nil.

The trouble is that directory-listing-before-filename-regexp matches
that last possible string that looks like a date.  It has to do this
because, without knowing anything else about the locale, we can't
distinguish (say) user-names from month names.

However, when we are using the iso date format, it's possible to be
stricter, and I have changed the regexp accordingly.  This fixes the bug
for the current specific case.  Though I'm not sure how to fix it for,
say, files named "Aug  7 2009 foo".




This bug report was last modified 13 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.