It turns out this was a configuration problem on my end; see
below for more details.
Stephen J. Turnbull writes:
Mark> On my Mandrake 9.0 system, dired occassionally includes
the
Mark> date as part of the file name in creating the extents.
Mark> (It's easy to see when this happens by sliding the mouse
Mark> down the filenames and watching the highlighting.) This
Mark> means none of the file operations (such as visiting or
Mark> deleting) work because they try to operate on a file with a
Mark> name like "Apr 23 2002 dired-mob.elc" rather than
Mark> "dired-mob.elc".
The problem is dired-re-month-and-time can also match the link count -
owner - size field group, and does in your example:
------------------------------------------------------------------------
4 -rw-r--r-- 1 root 2943 Apr 23 2002 dired-mob.elc
------------------------------------------------------------------------
But this can only happen for a "few" sizes. Ie, the year expression
is [12][90][0-9][0-9] which matches 2943.
Note that the group is missing -- is that the way ls -l works on
Mandrake? That absence is crucial, because the regexp will almost
never match the owner - group - size field group. (The owner would
have to be numerical in the range 0--39, and group symbolic. Could
happen via eg tar or a networked file system, but unlikely.) And
that's why it only happens in cooked examples on Red Hat and Debian.
It turns out one of our local files that I'm loading was
setting dired-listing-switches to "-alLsg" for some reason. The -g is
the offending flag; on Mandrake, -g means:
-g like -l, but do not list owner
while on Redhat -g means:
-g (ignored)
So that's why I'm seeing the problem only on Mandrake.
Anyway, this wasn't an XEmacs, dired, or Mandrake bug after all. (You
want to mention in the docs for dired-listing-switches that -g might
cause problems.) Sorry to bother you all, and thank you for your
assistance in resolving the problem.
--
^.-.^ Mark Purtill <mpurtill(a)softwarerevolution.com> (425)284-2770
((")) Software Revolution 11332 NE 122nd Way Kirkland WA 98034-6931