[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: dired-move-to-filename-regexp and iso dates in filenames
From: |
Miles Bader |
Subject: |
Re: dired-move-to-filename-regexp and iso dates in filenames |
Date: |
30 Jan 2003 17:26:41 +0900 |
Jens Petersen <address@hidden> writes:
> Dired has trouble dealing with filenames containing iso
> dates and whitespace. Not sure how easy it is fix in
> `dired-move-to-filename-regexp' without breaking other more
> common cases though. It seems to me that it is crying out
> for proper parsing of directory listings, but anyway...
>
> Any comments? I was informed of this bug by the bug report
> <http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=83068>.
The best thing to do is to (1) make sure you're using GNU ls, and (2) set
`dired-use-ls-dired' to non-nil (this will be done automatically if
(string-match "gnu" system-configuration) is true, which is the case on
debian systems at least).
This will make dired use `ls --dired' which completely avoids all the
problems with parsing ls output (because ls includes info about where the
filenames are in its output).
-Miles
--
`The suburb is an obsolete and contradictory form of human settlement'