X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=lisp%2Futf-2000%2Fmaps-conf.el;h=8b12263576f5ca066c27d9d758313a6c73984933;hb=c3cd708891dd33d498fa622524622fb097034479;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..8b12263 100644 --- a/lisp/utf-2000/maps-conf.el +++ b/lisp/utf-2000/maps-conf.el @@ -105,6 +105,13 @@ nil) '=gt-pj-1) +(let ((i 1) + chr) + (while (<= i 67547) + (when (setq chr (decode-char '=gt i)) + (put-char-attribute chr '=gt i)) + (setq i (1+ i)))) + (let ((default-coded-charset-priority-list '(=gt-pj-1 =gt-pj-2 @@ -232,13 +239,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 +355,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)