emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Sorting Ignores Locale Environment Variables


From: Alexander Winston
Subject: Sorting Ignores Locale Environment Variables
Date: Wed, 24 Mar 2004 09:58:45 -0500

This bug report will be sent to the Free Software Foundation,
not to your local site managers!
Please write in English if possible, because the Emacs maintainers
usually do not have translators to read other languages for them.

Your bug report will be posted to the address@hidden mailing
list.

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

After running "M-x shell-command <RET> wget
http://www.cl.cam.ac.uk/%7Emgk25/ucs/examples/UTF-8-demo.txt <RET>" I
ran "M-x find-file <RET> UTF-8-demo.txt <RET>" followed by "M-x
set-mark-command <RET>". I then ran "M-x goto-line <RET> 213 <RET>" and
"M-x sort-lines <RET>".

Instead of acknowledging my locale, en_US.UTF-8, and sorting the text
accordingly, the text was sorted as if my locale were set to POSIX. When
using the sort application from coreutils that acknowledges my locale,
en_US.UTF-8, the SHA-1 hash sum of the sorted text is
ab5a47ade28af1ababa623dd33c5134e6188b0b7. When the text is sorted using
the "M-x sort-lines <RET>" command, the SHA-1 hash sum of the text is
4cd6f4f72b5129f631c2ae7c3ec0bc98c40cbc0e.


In GNU Emacs 21.3.50.1 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
 of 2004-03-24 on duende
configured using `configure  'CFLAGS=-ggdb3 -O0 -pipe''

Important settings:
  value of $LC_ALL: nil
  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: en_US.UTF-8
  locale-coding-system: utf-8
  default-enable-multibyte-characters: t

Major mode: Lisp Interaction

Minor modes in effect:
  encoded-kbd-mode: t
  menu-bar-mode: t
  unify-8859-on-encoding-mode: t
  line-number-mode: t

Recent input:
ESC x r e p o r t - e m a c s - b u g RET

Recent messages:
(./emacs)
Loading encoded-kb...done
For information about the GNU Project and its goals, type C-h C-p.
Loading emacsbug...done

Attachment: signature.asc
Description: This is a digitally signed message part


reply via email to

[Prev in Thread] Current Thread [Next in Thread]