GNU bug report logs -
#39248
format-time-string ignores user's preferred locale
Previous Next
Full log
View this message in rfc822 format
> On 24 Jan 2020, at 8:04 am, Glenn Morris <rgm <at> 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?
This bug report was last modified 5 years and 172 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.