Help us understand the problem. What is going on with this article?

Emacs 25.1 LANG Error

More than 3 years have passed since last update.

いつものように定期クリーンインストールをしてEmacsを使っていたら見知らぬエラーが出た。
HomebrewのEmacsを24.5から25.1にしたのが原因かもしれない。
(macOSは10.11)

perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
    LC_ALL = (unset),
    LANG = "en_JP.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").

対処

;;(getenv "LANG")                       ; => "en_JP.UTF-8"
(setenv "LANG" "en_US.UTF-8")

とりあえず、これでエラーは消えた。

ShingoFukuyama
[GitHub: https://goo.gl/gDtSXW] [Twitter: https://goo.gl/B6S8Zc]
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away