X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=lisp%2Futf-2000%2Fmaps-conf.el;h=6670219982b0f851aae9b97133ec2de17c195923;hb=621b9dbd59c7b709a624a81d8fe22c1289c49983;hp=5d6eda2e614dc1df85cf547bcdef7fbbbba6cda6;hpb=fa28ea57f3069e8c0af75dad6b74fad3c4dae630;p=chise%2Fxemacs-chise.git.1 diff --git a/lisp/utf-2000/maps-conf.el b/lisp/utf-2000/maps-conf.el index 5d6eda2..6670219 100644 --- a/lisp/utf-2000/maps-conf.el +++ b/lisp/utf-2000/maps-conf.el @@ -232,13 +232,14 @@ (put-char-attribute char '=ucs@jis/2004 ucs))) ) (rep-char - (put-char-attribute rep-char '==jis-x0213-1@2000 code) - (remove-char-attribute rep-char '==jis-x0213-1) - (remove-char-attribute rep-char '==jis-x0213-1@2004) - (setq ucs (or (encode-char rep-char '==ucs@jis/2000) - ucs)) - (remove-char-attribute rep-char '==ucs@jis) - (remove-char-attribute rep-char '==ucs@jis/2004) + (unless (and (= ku 47)(= ten 64)) + (put-char-attribute rep-char '==jis-x0213-1@2000 code) + (remove-char-attribute rep-char '==jis-x0213-1) + (remove-char-attribute rep-char '==jis-x0213-1@2004) + (setq ucs (or (encode-char rep-char '==ucs@jis/2000) + ucs)) + (remove-char-attribute rep-char '==ucs@jis) + (remove-char-attribute rep-char '==ucs@jis/2004)) (when (setq rep-char (decode-char '==jis-x0213-1@2004 code)) (unless (eq (encode-char rep-char '==ucs@jis/2004) ucs) (put-char-attribute rep-char '==ucs@jis/2004 ucs))) @@ -347,7 +348,75 @@ (setq dest (cons fn dest)))) (setq dest (sort dest (lambda (a b) - (string< (symbol-name a)(symbol-name b))))) + (cond ((eq a '==daikanwa) + t) + ((eq a '==daikanwa/+p) + t) + ((eq a '==daikanwa/ho) + t) + ((eq a '==jis-x0208) + (cond ((memq b '(==daikanwa + ==daikanwa/+p ==daikanwa/ho)) + nil) + (t))) + ((eq a '==jis-x0208@1978) + (cond ((memq b '(==daikanwa + ==daikanwa/+p ==daikanwa/ho + ==jis-x0208)) + nil) + (t))) + ((eq a '==jis-x0208@1983) + (cond ((memq b '(==daikanwa + ==daikanwa/+p ==daikanwa/ho + ==jis-x0208 + ==jis-x0208@1978)) + nil) + (t))) + ((eq a '==jis-x0208@1990) + (cond ((memq b '(==daikanwa + ==daikanwa/+p ==daikanwa/ho + ==jis-x0208 + ==jis-x0208@1978 + ==jis-x0208@1983)) + nil) + (t))) + ((eq a '==jis-x0212) + (cond ((memq b '(==daikanwa + ==daikanwa/+p ==daikanwa/ho + ==jis-x0208 + ==jis-x0208@1978 + ==jis-x0208@1983 ==jis-x0208@1990)) + nil) + (t))) + ((eq a '==jis-x0213-1) + (cond ((memq b '(==daikanwa + ==daikanwa/+p ==daikanwa/ho + ==jis-x0208 + ==jis-x0208@1978 + ==jis-x0208@1983 ==jis-x0208@1990 + ==jis-x0212)) + nil) + (t))) + ((eq a '==jis-x0213-2) + (cond ((memq b '(==daikanwa + ==daikanwa/+p ==daikanwa/ho + ==jis-x0208 + ==jis-x0208@1978 + ==jis-x0208@1983 ==jis-x0208@1990 + ==jis-x0212 ==jis-x0213-1)) + nil) + (t))) + (t + (cond ((memq b '(==daikanwa + ==daikanwa/+p ==daikanwa/ho + ==jis-x0208 + ==jis-x0208@1978 + ==jis-x0208@1983 ==jis-x0208@1990 + ==jis-x0212 + ==jis-x0213-1 ==jis-x0213-2)) + nil) + (t + (string< (symbol-name a)(symbol-name b))))))))) (dolist (dg-fn dest) (setq rep-gi-fn (intern (format "=%s" dg-fn))) (when (find-charset rep-gi-fn)