[Top][All Lists]

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

bug#5597: Dired unable to properly recognize file names

From: Chong Yidong
Subject: bug#5597: Dired unable to properly recognize file names
Date: Sun, 21 Feb 2010 16:27:24 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.92 (gnu/linux)

Glenn Morris <address@hidden> 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".

reply via email to

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