[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
dired cannot find file name properly when LANG=sv_SE
From: |
Sven Mattisson |
Subject: |
dired cannot find file name properly when LANG=sv_SE |
Date: |
Sat, 01 Jan 2005 23:33:35 +0100 |
This bug report will be sent to the Free Software Foundation,
not to your local site managers!
Please write in English, because the Emacs maintainers do not have
translators to read other languages for them.
Your bug report will be posted to the bug-gnu-emacs@gnu.org mailing
list,
and to the gnu.emacs.bug news group.
In GNU Emacs 21.3.1 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
of 2004-09-23 on sven
configured using `configure --prefix=/usr --host=i686-pc-linux-gnu
--mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share
--sysconfdir=/etc --localstatedir=/var/lib --with-x --with-xpm
--with-jpeg --with-tiff --with-gif --with-png --with-x-toolkit=athena'
Important settings:
value of $LC_ALL: sv_SE
value of $LC_COLLATE: sv_SE
value of $LC_CTYPE: sv_SE
value of $LC_MESSAGES: sv_SE
value of $LC_MONETARY: sv_SE
value of $LC_NUMERIC: sv_SE
value of $LC_TIME: sv_SE
value of $LANG: sv_SE
locale-coding-system: iso-latin-1
default-enable-multibyte-characters: t
Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:
Hi,
When LANG is set to sv_SE the directory listing uses a period (".") to
delimit hours and minutes. The dired-move-to-filename-regexp
variable, defined in dired.el and used by dired-move-to-filename, only
allows colon (":") to delimit hours and minutes, and, consequently,
dired will only find file names older than one year. By changing the
"HH:MM" definition in dired-move-to-filename-regexp from
(HH:MM "[ 0-2][0-9]:[0-5][0-9]")
to
(HH:MM "[0-2][0-9][:.][0-5][0-9]")
dired works properly again. I'm using gentoo linux.
Thanks for your effort, sincerely
Sven
Sven Mattisson, sven.mattisson@home.se
Recent input:
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <menu-bar> <help-menu>
<report-emacs-bug>
Recent messages:
Loading font-lock...done
Loading /home/sven/.my-emacs...
Loading delsel...done
File "/home/sven/.hotlist" does not exist.
(New file)
File "/home/sven/.hotlist" does not exist.
Loading /home/sven/.my-emacs...done
Loading imenu...done
For information about the GNU Project and its goals, type C-h C-p.
Loading emacsbug...done
- dired cannot find file name properly when LANG=sv_SE,
Sven Mattisson <=