unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* dired cannot find file name properly when LANG=sv_SE
@ 2005-01-01 22:33 Sven Mattisson
  2005-01-05 14:02 ` Juri Linkov
  0 siblings, 1 reply; 2+ messages in thread
From: Sven Mattisson @ 2005-01-01 22:33 UTC (permalink / 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: dired cannot find file name properly when LANG=sv_SE
  2005-01-01 22:33 dired cannot find file name properly when LANG=sv_SE Sven Mattisson
@ 2005-01-05 14:02 ` Juri Linkov
  0 siblings, 0 replies; 2+ messages in thread
From: Juri Linkov @ 2005-01-05 14:02 UTC (permalink / raw)
  Cc: bug-gnu-emacs

Sven Mattisson <sven.mattisson@home.se> writes:
> 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 the report.  This was fixed in Emacs CVS.

-- 
Juri Linkov
http://www.jurta.org/emacs/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-01-05 14:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-01 22:33 dired cannot find file name properly when LANG=sv_SE Sven Mattisson
2005-01-05 14:02 ` Juri Linkov

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).