unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* dired directory fails when using swedish locale on redhat 9
@ 2003-05-19 11:02 joakim.verona
  0 siblings, 0 replies; only message in thread
From: joakim.verona @ 2003-05-19 11:02 UTC (permalink / raw)
  Cc: joakim

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.2.1 (i386-redhat-linux-gnu, X toolkit, Xaw3d scroll bars)
 of 2003-02-20 on porky.devel.redhat.com
configured using `configure  --host=i386-redhat-linux --build=i386-redhat-linux --target=i386-redhat-linux-gnu --program-prefix= --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/usr/com --mandir=/usr/share/man --infodir=/usr/share/info --with-gcc --with-pop --with-sound'
Important settings:
  value of $LC_ALL: sv_SE.UTF-8
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: sv_SE.UTF-8
  locale-coding-system: utf-8
  default-enable-multibyte-characters: t

Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:

When switching to the swedish locale on gnu/linux redhat 9, dired mode
fails.
it seems like this is because the localized ls command outputs months
in swedish format, and dired fails to recognize this. The dired
regexps to recognize a file or direcotry fails, so you cant "find
file" on a dired line(you cant press return or f to open a file on a
line because emacs doesnt consider the line to represent a file
because the regexps hasn't matched). 

i can switch to "lisp-ls" but that has other bugs(ls-lisp doesnt seem to care about the locale, and which is why it works). I also tried
aliasing my /bin/ls to a shellscript with "LANG=en;/bin/lsorg" where
lsorg was my initial ls command. This isnt flawless either.

I havent found where the dired generates its ls output yet, otherwise
I'd be able to give you a patch maybe.

The best solution would be if dired would respect the locale, but outputing the months in english is better than not working at all.

/joakim


Recent input:
1 <C-right> <left> <left> <left> <down-mouse-3> <mouse-3> 
<down-mouse-3> <mouse-3> <down-mouse-2> <mouse-2> <left> 
<C-left> C-s C-w C-w <C-left> C-s d e f u n SPC d i 
r e d - n o s e C-a C-g <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <up> 
C-e <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> 
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> 
<up> <up> <up> <up> <up> C-a <switch-frame> <switch-frame> 
<help-echo> <help-echo> <help-echo> <menu-bar> <help-menu> 
<report-emacs-bug>

Recent messages:
Mark set
mouse-yank-at-click: Buffer is read-only: #<buffer dired.el>
keyboard-quit: Quit
(make-frame-visible (#<frame emfttst 0x84b3300\ >))
(iconify-frame (#<frame Speedbar 0.14beta4 0x8a84b30\ >))
(iconify-frame (#<frame dired.el 0x897fef8\ >))
(iconify-frame (#<frame emfttst 0x84b3300\ >))
(make-frame-visible (#<frame dired.el 0x897fef8\ >))
(make-frame-visible (#<frame  SPEEDBAR 0x8a84b30\ >))
Loading emacsbug...done

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-05-19 11:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-05-19 11:02 dired directory fails when using swedish locale on redhat 9 joakim.verona

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