all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Dired confused by filenames starting with date-like strings
@ 2006-08-23 18:15 kg6mar
  2006-08-23 22:17 ` Miles Bader
       [not found] ` <mailman.5520.1156371436.9609.help-gnu-emacs@gnu.org>
  0 siblings, 2 replies; 24+ messages in thread
From: kg6mar @ 2006-08-23 18:15 UTC (permalink / raw)


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

^ permalink raw reply	[flat|nested] 24+ messages in thread

end of thread, other threads:[~2006-11-02 17:59 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-23 18:15 Dired confused by filenames starting with date-like strings kg6mar
2006-08-23 22:17 ` Miles Bader
2006-08-24 11:56   ` Peter Dyballa
2006-08-24 14:27     ` Kevin Rodgers
     [not found]   ` <mailman.5544.1156420601.9609.help-gnu-emacs@gnu.org>
2006-08-24 14:35     ` Miles Bader
2006-08-24 15:05       ` Peter Dyballa
2006-08-24 16:12         ` Dired doesn't decode UTF-8 file names (was: Dired confused by filenames starting with date-like strings) Kevin Rodgers
2006-08-24 19:48           ` Peter Dyballa
2006-08-28 15:02             ` Dired doesn't decode UTF-8 file names Kevin Rodgers
2006-08-28 15:44               ` Peter Dyballa
2006-08-28 20:52                 ` Kevin Rodgers
2006-08-28 21:29                   ` Peter Dyballa
     [not found]                   ` <mailman.5855.1156800592.9609.help-gnu-emacs@gnu.org>
2006-08-28 21:36                     ` David Kastrup
     [not found] ` <mailman.5520.1156371436.9609.help-gnu-emacs@gnu.org>
2006-08-24 17:43   ` Dired confused by filenames starting with date-like strings kg6mar
2006-08-24 23:35     ` Eli Zaretskii
2006-08-25  0:41     ` Miles Bader
     [not found]     ` <mailman.5588.1156462534.9609.help-gnu-emacs@gnu.org>
2006-08-25 23:28       ` B. T. Raven
2006-08-26 12:09         ` Eli Zaretskii
     [not found]         ` <mailman.5676.1156594178.9609.help-gnu-emacs@gnu.org>
2006-08-27  0:58           ` B. T. Raven
2006-08-27  1:41             ` Miles Bader
     [not found]             ` <mailman.5698.1156642923.9609.help-gnu-emacs@gnu.org>
2006-09-07  3:08               ` kg6mar
2006-09-07 13:44                 ` Miles Bader
2006-11-02 17:59               ` John Olson
2006-08-24 21:48   ` Jesse Alama

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.