[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
file coding problem for .emacs file
From: |
ishi soichi |
Subject: |
file coding problem for .emacs file |
Date: |
Thu, 23 Jun 2011 09:49:03 +0900 |
Emacs23.2MacOSX SnowLeopard
Hi. I normally set Emacs to that it can show Japanese characters, and it was fine until yesterday.
The comments in .emacs file are in Japanese. And these comments have suddenly become corrupt. All Japanese fonts are messed up and unable to read
I changed many settings but I am not sure what exactly caused this problem.
So I tried...
1. commented the entire .emacs file. But no change. The mode-line shows "-=:-- .emacs " so file-coding system must be wrong.
2. I uncommented a part of the regular setting,
(set-language-environment 'Japanese)
(prefer-coding-system 'utf-8)
and rebooted Emacs. But it still gives the same problem.
3. I implemented "set-buffer-file-coding-system" (default was nil). Then I changed that to shift-jis and utf-8. It does no improve the situation at all.
Could anyone guess what the problem is ?
Thanks in advance.
soichi
When .emacs file is loaded, it looks like Emacs reads some cached (?) data hidden somewhere, which I cannot find.
- file coding problem for .emacs file,
ishi soichi <=