[Date Prev][Date Next][Thread Prev][][Date Index][Thread Index]

Re: w3m-search-engine-alist thinks the default is Japanese



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.