Re: Problem with xemacs21-mule-canna-wnn (21.1.12-2) in woody
At 11 Dec 2000 13:54:16 -0500,
James LewisMoss <dres@phoenixdsl.com> wrote:
>
> >>>>> On Tue, 12 Dec 2000 01:45:04 +0900, Fumitoshi UKAI <ukai@debian.or.jp> said:
>
> Fumitoshi> At Tue, 12 Dec 2000 01:21:32 +0900 (JST),
> Fumitoshi> wen@japan.email.ne.jp wrote:
>
> ukai> I think it could be fixed by changing auto-language-alist (in
> ukai> xemacs21-21.1.12/lisp/mule/mule-init.el) as follows:
> ukai>
> ukai> (defvar auto-language-alist '(("^ja" . "Japanese")
> ukai> ("^zh_.*.GB.*" . "Chinese-GB") ("^zh_.*.BIG5.*"
> ukai> . "Chinese-BIG5") ("^ko" . "Korean"))
> >>
> >> Thank you so much for your very useful information. I think you
> >> are right. Is it possible to fix it by correct a compiled file
> >> mule-init.elc directly? I have tried it but it does not work.
> >> When XEmacs is started from the environment of LANG=zh_CN.GB2312,
> >> the error message "Language environment not defined: 'Chinese'"
> >> still appears. Maybe I have to correct the source of mule-init.el.
>
> Fumitoshi> AFAIK, these *.el files are compiled and dumped into
> Fumitoshi> xemacs executable binary. So you need to rebuild xemacs.
>
> And I'll see if I can't get a fix for this done shortly.
I rebuild xemacs21 and confirm it. please apply this patch.
--- xemacs21-21.1.12.orig/lisp/mule/mule-init.el Wed Feb 17 22:59:34 1999
+++ xemacs21-21.1.12/lisp/mule/mule-init.el Wed Dec 13 00:22:49 2000
@@ -76,7 +76,8 @@
(defvar auto-language-alist
'(("^ja" . "Japanese")
- ("^zh" . "Chinese")
+ ("^zh.*.GB.*" . "Chinese-GB")
+ ("^zh.*.BIG5.*" . "Chinese-BIG5")
("^ko" . "Korean"))
"Alist of LANG patterns vs. corresponding language environment.
Each element looks like (REGEXP . LANGUAGE-ENVIRONMENT).
Thanks,
Fumitoshi UKAI
Reply to: