emacs-devel
[Top][All Lists]
Advanced

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

Re: set-locale-environement: strange default detection


From: David Kastrup
Subject: Re: set-locale-environement: strange default detection
Date: Wed, 18 Jul 2007 12:50:53 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/23.0.51 (gnu/linux)

Sascha Wilde <address@hidden> writes:

> David Kastrup <address@hidden> wrote:
>> Sascha Wilde <address@hidden> writes:
>
>>> a friend of mine (unfortunately a vim user, but a nice guy otherwise),
>>> tried emacs on Gnu/Linux and was surprised that `C-h t' presented him
>>> the German version of the tutorial.
> [...]
>> The problem is that we don't have finegrained support.  For the
>> purpose of talking to the user, LC_MESSAGES is relevant.  But Emacs so
>> rarely has the opportunity to talk anything but English to the user
>> that we simply have no reasonable interface into this for now.
>
> So maybe we should check for LANG, LC_ALL and maybe LC_MESSAGES in
> tutorial.el itself.

Possibly.  I am not sure whether environment variables tell the whole
story, and in a readable way (there are locale system calls, too), but
they would probably cover 90% of the cases.

-- 
David Kastrup




reply via email to

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