Don't add `=gt' for isolated GT characters.
[chise/xemacs-chise.git.1] / lisp / utf-2000 / maps-conf.el
index 2c9be6f..b69d3dd 100644 (file)
@@ -68,7 +68,8 @@
        #x4749 #x4428 #x3A47 #x6E4E #x4269
        #x4043 #x6E56 #x6132 #x5C54 #x3557
        #x5827 #x4C68 #x505B #x514A #x5D27
-       #x5563))
+       #x5563 #x5D7A #x4575 #x5F7C #x3B38
+       #x3237 #x3B51))
 
 (map-char-attribute
  (lambda (c v)
        (put-char-attribute chr '=gt-k i)))
     (setq i (1+ i))))
 
-(let (gt)
-  (dolist (ccs '(=gt-pj-1
-                =gt-pj-2
-                =gt-pj-3
-                =gt-pj-4
-                =gt-pj-5
-                =gt-pj-6
-                =gt-pj-7
-                =gt-pj-8
-                =gt-pj-9
-                =gt-pj-10
-                =gt-pj-11))
-    (map-char-attribute
-     (lambda (c v)
-       (when (setq gt (encode-char c '=gt))
-        (put-char-attribute c '=gt gt)
-        (put-char-attribute (decode-char ccs v) '=gt gt))
-       nil)
-     ccs)))
+;; (let (gt ret)
+;;   (dolist (ccs '(=gt-pj-1
+;;                  =gt-pj-2
+;;                  =gt-pj-3
+;;                  =gt-pj-4
+;;                  =gt-pj-5
+;;                  =gt-pj-6
+;;                  =gt-pj-7
+;;                  =gt-pj-8
+;;                  =gt-pj-9
+;;                  =gt-pj-10
+;;                  =gt-pj-11))
+;;     (map-char-attribute
+;;      (lambda (c v)
+;;        (when (setq gt (encode-char c '=gt))
+;;          (put-char-attribute c '=gt gt)
+;;          (put-char-attribute (decode-char ccs v) '=gt gt))
+;;        nil)
+;;      ccs)))
 
 ;; (let (ret)
 ;;   (dolist (feature
          (put-char-attribute char '=ucs@jis/2004 ucs)))
       (unless (eq code #x332A)
        (when (setq char (decode-char '=>jis-x0208@1997 code 'defined-only))
-         (put-char-attribute char '=>jis-x0208 code)
-         (remove-char-attribute char '=>jis-x0208@1997)))
+         (unless (eq (encode-char char '=>>jis-x0208) code)
+           (put-char-attribute char '=>jis-x0208 code)
+           (remove-char-attribute char '=>jis-x0208@1997))))
       )))
 
 (map-char-attribute