From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Sven Mattisson Newsgroups: gmane.emacs.bugs Subject: dired cannot find file name properly when LANG=sv_SE Date: Sat, 01 Jan 2005 23:33:35 +0100 Message-ID: <1104618815.8634.16.camel@sven> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1104618927 20358 80.91.229.6 (1 Jan 2005 22:35:27 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 1 Jan 2005 22:35:27 +0000 (UTC) Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jan 01 23:35:22 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CkrqE-0006Dm-00 for ; Sat, 01 Jan 2005 23:35:22 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1Cks1I-0001VS-3b for geb-bug-gnu-emacs@m.gmane.org; Sat, 01 Jan 2005 17:46:48 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1Cks1E-0001Uf-Pu for bug-gnu-emacs@gnu.org; Sat, 01 Jan 2005 17:46:44 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1Cks1D-0001U2-Li for bug-gnu-emacs@gnu.org; Sat, 01 Jan 2005 17:46:44 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1Cks1D-0001Tz-HZ for bug-gnu-emacs@gnu.org; Sat, 01 Jan 2005 17:46:43 -0500 Original-Received: from [81.228.8.181] (helo=av10-1-sn2.hy.skanova.net) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CkroW-0002a3-Ky for bug-gnu-emacs@gnu.org; Sat, 01 Jan 2005 17:33:37 -0500 Original-Received: by av10-1-sn2.hy.skanova.net (Postfix, from userid 502) id E72F937EF7; Sat, 1 Jan 2005 23:33:34 +0100 (CET) Original-Received: from smtp4-1-sn2.hy.skanova.net (smtp4-1-sn2.hy.skanova.net [81.228.8.92]) by av10-1-sn2.hy.skanova.net (Postfix) with ESMTP id D95B437E5B for ; Sat, 1 Jan 2005 23:33:34 +0100 (CET) Original-Received: from sven (h126n2fls31o985.telia.com [213.67.213.126]) by smtp4-1-sn2.hy.skanova.net (Postfix) with ESMTP id BF9E137E43 for ; Sat, 1 Jan 2005 23:33:34 +0100 (CET) Original-To: bug-gnu-emacs@gnu.org X-Mailer: Ximian Evolution 1.4.6 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.bugs:10277 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:10277 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: 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