Bug 83068
Summary: | dired glitch with filenames of form YYYY-MM-DD <space> foo.bar | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Ed Price <edp> |
Component: | emacs | Assignee: | Jens Petersen <petersen> |
Status: | CLOSED UPSTREAM | QA Contact: | Brock Organ <borgan> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 8.0 | ||
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i386 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2003-01-31 03:22:09 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Ed Price
2003-01-29 22:32:11 UTC
Reproduced. [FWIW xemacs dired works fine with filenames containing spaces.] Of course it only occurs because of the iso date in filename... Is there some particular application generating filenames of this form? `dired-move-to-filename-regexp' (dired.el) in cvs still has this problem according to my testing, at least in 21.2. to answer the question about whether some app was creating files with names of this form: no. it was a user-chosen file name. does emacs/dired have a test suite? if so i'd be happy to contribute a test case. otherwise, i'm not much of a regexp hacker, sorry :/ (i did look at dired.el... all i can say is it looks like it desperately *needs* a test suite!) Btw a workaround is to remove "iso" from the final regexp (assuming you're not using iso dates in dired that is), or change your filenames not to have a space or something. ;-) This whole problem is fixed in emacs cvs (using the --dired option of GNU ls) and should appear in 21,4 I think, which is still a while off I'm afraid. See all http://mail.gnu.org/archive/html/emacs-devel/2003-01/msg00828.html thx. i did try removing "iso" part of the regexp and it did workaround this particular problem, though as you point out it's hardly a general solution. i'll look forward to handling of "--dired" output, that would be great (at least for local listings......). thx again. |