I'm running OS X Yosemite and Emacs 24.3 from Homebrew.
The locale
setting for my user is:
LANG="en_AU.UTF-8"
LC_COLLATE="en_AU.UTF-8"
LC_CTYPE="en_AU.UTF-8"
LC_MESSAGES="en_AU.UTF-8"
LC_MONETARY="en_AU.UTF-8"
LC_NUMERIC="en_AU.UTF-8"
LC_TIME="en_AU.UTF-8"
LC_ALL=
Yet, when I launch Emacs.app via the launcher (or the OS X UI generally), and run locale
in ansi-term, I get:
LANG=
LC_COLLATE="C"
LC_CTYPE="C"
LC_MESSAGES="C"
LC_MONETARY="C"
LC_NUMERIC="C"
LC_TIME="C"
LC_ALL=
How can I ensure that I get my user's locale when launching Emacs.app via the OS X UI?
(Note: Launching Emacs.app from a shell does pickup the correct locale, but that is not the solution I'm looking for).
LANG
variable should be set according to the selected locale. – Lindydancer Feb 19 '16 at 15:04