From: Lars Ingebrigtsen <larsi@gnus.org>
To: Miles Bader <miles@gnu.org>
Cc: 7233@debbugs.gnu.org
Subject: bug#7233: 24.0.50; language-environments interact badly with LANG settings
Date: Tue, 08 Dec 2020 17:38:06 +0100 [thread overview]
Message-ID: <87a6uofe35.fsf@gnus.org> (raw)
In-Reply-To: <8739s41lh1.fsf@catnip.gol.com> (Miles Bader's message of "Mon, 18 Oct 2010 07:51:54 +0900")
Miles Bader <miles@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
prev parent reply other threads:[~2020-12-08 16:38 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-17 22:51 bug#7233: 24.0.50; language-environments interact badly with LANG settings Miles Bader
2020-12-08 16:38 ` Lars Ingebrigtsen [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87a6uofe35.fsf@gnus.org \
--to=larsi@gnus.org \
--cc=7233@debbugs.gnu.org \
--cc=miles@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.