[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: w3m-search-engine-alist thinks the default is Japanese
- From: jidanni@xxxxxxxxxxx
- Date: Mon, 16 Aug 2010 19:29:04 +0800
- X-ml-name: emacs-w3m
- X-mail-count: 11305
- References: <b4m7hjr5cpn.fsf@xxxxxxx>
KY> In [emacs-w3m : No.11301] jidanni@xxxxxxxxxxx wrote:
KY> It will happen only if the user option `w3m-language' is set to
KY> "Japanese". The default value of `w3m-language' is determined
KY> according to whether Emacs' language environment (actually the
KY> value of `current-language-environment') is "Japanese" or not.
There's more to it than just that.
I just filed an emacs bug;
"mule-cmds.el just _assumes_ all of Taiwan uses Big5 and not UTF-8"
current-language-environment is a variable defined in `mule-cmds.el'.
Its value is "Chinese-BIG5"
and w3m-search.el also is sensitive to that too.
Anyways no matter zh_TW.UTF-8 or zh_TW.*, zh != ja, so w3m-search.el should
refrain from 帝國主義!
KY> Even so, you can set `w3m-language' to nil
KY> in the ~/.emacs file (not the ~/.emacs-w3m.el file) before
KY> loading any emacs-w3m module.
That won't help, because it is already nil. defcustom
w3m-search-engine-alist looks at more that just w3m-language.