GNU bug report logs - #7233
24.0.50; language-environments interact badly with LANG settings

Previous Next

Package: emacs;

Reported by: Miles Bader <miles <at> gnu.org>

Date: Sun, 17 Oct 2010 22:49:02 UTC

Severity: normal

Found in version 24.0.50

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 7233 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Miles Bader <miles <at> gnu.org>
Cc: 7233 <at> debbugs.gnu.org
Subject: Re: bug#7233: 24.0.50; language-environments interact badly with
 LANG settings
Date: Tue, 08 Dec 2020 17:38:06 +0100
Miles Bader <miles <at> gnu.org> writes:

> If you have an environment-specified language setting like LANG; for
> instance if you start Emacs by doing:
>
>    LANG=ja_JP.UTF-8  emacs
>
> but you _also_ have a customized language environment, e.g., your .emacs
> file does:
>
>    (custom-set-variables
>     '(current-language-environment "Japanese"))
>
> ... then the latter overrides the former, even when it probably
> shouldn't. 

(This bug report unfortunately got no response at the time.)

I think Emacs always (usually?) have in-Lisp settings override ones from
the environment?  I think anything else would be pretty surprising --
you should be able to call `current-language-environment' and have that
happen immediately, no matter what some environment variable said when
you started up Emacs?

So I think this works as designed, and I'm closing this bug report.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




This bug report was last modified 4 years and 168 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.