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

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

language environment should not be derived from LC_CTYPE


From: Reiner Steib
Subject: language environment should not be derived from LC_CTYPE
Date: Wed, 22 Nov 2006 09:36:52 +0100
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.91 (gnu/linux)

[ I already sent this yesterday (via Gmane), but apparently it didn't
  make it to the list (<address@hidden>).
  Sorry if you get it twice. ]

`M-x report-emacs-bug' wrote:

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

I have the following locale settings [1]:

$ env|grep -e LC_ -e LANG
LANG=en_US
LC_COLLATE=POSIX
address@hidden

$ emacs -Q

`current-language-environment's value is "German" and I get the German
tutorial.  I expected to see the English version and an English
language environment:


,----[ (info "(libc)Locale Categories") ]
| `LC_CTYPE'
|      This category applies to classification and conversion of
|      characters, and to multibyte and wide characters; see *Note
|      Character Handling::, and *Note Character Set Handling::.
|
| [...]
|
| `LC_MESSAGES'
|      This category applies to selecting the language used in the user
|      interface for message translation (*note The Uniforum approach::;
|      *note Message catalogs a la X/Open::)  and contains regular
|      expressions for affirmative and negative responses.
| 
| `LC_ALL'
|      This is not an environment variable; it is only a macro that you
|      can use with `setlocale' to set a single locale for all purposes.
|      Setting this environment variable overwrites all selections by the
|      other `LC_*' variables or `LANG'.
| 
| `LANG'
|      If this environment variable is defined, its value specifies the
|      locale to use for all purposes except as overridden by the
|      variables above.
`----

> In GNU Emacs 22.0.91.1 (i686-pc-linux-gnu, GTK+ Version 2.8.3)
>  of 2006-11-21 on viandante
> X server distributor `The X.Org Foundation', version 11.0.60802000
> configured using `configure '--prefix=...' '--with-gtk' '--exec-prefix=...''

> Important settings:
>   value of $LC_ALL: nil
>   value of $LC_COLLATE: POSIX
>   value of $LC_CTYPE: address@hidden
>   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
>   locale-coding-system: iso-8859-15
>   default-enable-multibyte-characters: t

Bye, Reiner.

[1] If you wonder why I use a mixture of de_DE and en_US locales: I
    want to display the € in plain text files in xterm, but I prefer
    English program interfaces.  (Some of my systems offer
    en_US.iso885915, but IIRC not all.)
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/




reply via email to

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