From: hayashi Date: Mon, 9 Jul 2001 07:12:43 +0000 (+0000) Subject: XEmacs uses sisheng instead of chinese-sisheng. X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=d20b97a73e52d311caa9243920ac12fa66d872d3;p=elisp%2Ftamago.git XEmacs uses sisheng instead of chinese-sisheng. --- diff --git a/ChangeLog b/ChangeLog index 33df510..4833de5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -2,6 +2,7 @@ * egg/wnn.el (wnn-accept-charset-alist): XEmacs uses sisheng instead of chinese-sisheng. + * egg-cnv.el (egg-separate-language): Ditto. 2001-07-09 Yoshiki Hayashi diff --git a/egg-cnv.el b/egg-cnv.el index c828c17..745fe35 100644 --- a/egg-cnv.el +++ b/egg-cnv.el @@ -405,6 +405,12 @@ mode, if non-NIL." (setq l (match-end 0) j (min j l) lang 'Chinese)) + ;; XEmacs has sisheng charset while Emacs has chinese-sisheng + ((eq cset 'sisheng) + (egg-string-match-charset 'sisheng str i) + (setq l (egg-string-match-charset-end 'sisheng str i) + j (min j l) + lang 'Chinese)) ((setq l (egg-chinese-syllable str i)) (setq j (+ i l) lang 'Chinese))