[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Dired confused by filenames starting with date-like strings
From: |
kg6mar |
Subject: |
Dired confused by filenames starting with date-like strings |
Date: |
23 Aug 2006 11:15:34 -0700 |
User-agent: |
G2/0.2 |
Dired gets confused by certain filenames in which the beginning
resembles a date and there is an embedded space (my photograph naming
convention). It fails to assemble the entire filename.
Example:
-rw-rw-rw- 1 John root 1113559 Oct 12 2005 04 Project - Front
caulking.JPG
-r--r--r-- 1 John root 1924322 Sep 5 2005 2005-09-05 002.JPG
Dired correctly interprets the first filename as "04 Project - Front
caulking.JPG" but incorrectly thinks that the second file is named
"002.JPG" instead of "2005-09-05 002.JPG"
The behavior manifests itself in operations like Copy and Rename.
I googled my way to looking at dired-move-to-filename-regexp, but its
value is very complex relative to my regexp skill, and anything I do to
it will likely have unintended consequences. (Adding the -b flag to
dired-listing-switches did nothing.)
I'm going to dig into it the best I can, but I also want to put it out
here and see if someone else has been here before.
Emacs-version's value is "21.3.1" Operating system is Windows XP.
I'd rather not rename all my photographs (well, actually, I do, and
that's how I discovered this).
Thanks, and hail Emacs
-- John
- Dired confused by filenames starting with date-like strings,
kg6mar <=
- Re: Dired confused by filenames starting with date-like strings, Miles Bader, 2006/08/23
- Re: Dired confused by filenames starting with date-like strings, Peter Dyballa, 2006/08/24
- Message not available
- Re: Dired confused by filenames starting with date-like strings, Miles Bader, 2006/08/24
- Re: Dired confused by filenames starting with date-like strings, Peter Dyballa, 2006/08/24
- Dired doesn't decode UTF-8 file names (was: Dired confused by filenames starting with date-like strings), Kevin Rodgers, 2006/08/24
- Re: Dired doesn't decode UTF-8 file names (was: Dired confused by filenames starting with date-like strings), Peter Dyballa, 2006/08/24
- Re: Dired doesn't decode UTF-8 file names, Kevin Rodgers, 2006/08/28
- Re: Dired doesn't decode UTF-8 file names, Peter Dyballa, 2006/08/28
- Re: Dired doesn't decode UTF-8 file names, Kevin Rodgers, 2006/08/28