[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
dired problem on AIX
From: |
Hunziker, Scott |
Subject: |
dired problem on AIX |
Date: |
Thu, 13 Sep 2001 15:57:00 -0700 |
This relates to dired in GNU Emacs 20.7.2.
The regular expression that dired uses for locating file names in `ls'
output does not quite work for IBM's AIX 4.3.0. For old files they put
2 spaces after the year, which dired-move-to-filename-regexp does not
handle and dired winds up thinking that there's a space at the beginning
of these file names. Here's an example listing:
-rwxr-xr-x 1 ksh0536 jast 16570 Aug 27 16:40 config.status
-rwxr-xr-x 1 ksh0536 jast 19236 Feb 21 1997 config.sub
I believe this can be fixed by changing line 1385 of dired.el
(concat ".*[0-9]" s "\\(" western "\\|" japanese "\\)" s))
to instead be
(concat ".*[0-9]" s "\\(" western "\\|" japanese "\\)" s "+"))
The "+" at the end then matches one or more spaces after the year.
Thanks,
K. Scott Hunziker
Boeing Military Aircraft & Missile Systems
JSF Air Vehicle AIT
Flutter & Dynamics
M/S 4C-40
206-655-1398
- dired problem on AIX,
Hunziker, Scott <=