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

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

bug#39248: format-time-string ignores user's preferred locale


From: Paul W. Rankin
Subject: bug#39248: format-time-string ignores user's preferred locale
Date: Fri, 24 Jan 2020 13:17:11 +1000

> On 24 Jan 2020, at 8:04 am, Glenn Morris <rgm@gnu.org> wrote:
> 
> Eli Zaretskii wrote:
> 
>>> Or, given that the issue is isolated to Emacs.app when launched
>>> outside of the shell environment, does that narrow it down at all?
>> 
>> I guess that's yet another manifestation of the macOS deviant behavior
>> of Emacs.app, whereby it doesn't inherit environment variables from
>> the shell.
> 
> Rather, that macOS does not set up environment for applications
> launched from Finder. I don't think that is an Emacs problem.
> 
> On GNU/Linux, my window manager runss from a login shell and so has a
> correct environment for applications it launches.

It would probably be weird for macOS to ask the shell for environment variables 
when launched from the Finder. The relationship doesn't appear as the same as 
on GNU/Linux.

But OS-preferences aside, Emacs.app in macOS does correctly set the 
process-environment variable though, so these environment variables (including 
LANG) are available to Emacs, e.g. USER, TMPDIR, SHELL are a few that seem to 
be picked up without issue, so shouldn't the same be true of LANG?




reply via email to

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