unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Sven Mattisson <sven.mattisson@home.se>
Subject: dired cannot find file name properly when LANG=sv_SE
Date: Sat, 01 Jan 2005 23:33:35 +0100	[thread overview]
Message-ID: <1104618815.8634.16.camel@sven> (raw)

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

             reply	other threads:[~2005-01-01 22:33 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-01 22:33 Sven Mattisson [this message]
2005-01-05 14:02 ` dired cannot find file name properly when LANG=sv_SE Juri Linkov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1104618815.8634.16.camel@sven \
    --to=sven.mattisson@home.se \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).