XEmacs uses sisheng instead of chinese-sisheng.
authorhayashi <hayashi>
Mon, 9 Jul 2001 07:12:43 +0000 (07:12 +0000)
committerhayashi <hayashi>
Mon, 9 Jul 2001 07:12:43 +0000 (07:12 +0000)
ChangeLog
egg-cnv.el

index 33df510..4833de5 100644 (file)
--- 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 <yoshiki@xemacs.org>
 
index c828c17..745fe35 100644 (file)
@@ -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))