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
(put-char-attribute char '=ucs@jis/2004 ucs)))
)
(rep-char
- (unless (and (= ku 47)(= ten 64))
+ (unless (or (and (= ku 47)(= ten 64))
+ (and (= ku 67)(= ten 14)))
(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)
(lambda (c v)
(if (and (setq j-chr (decode-char '=ucs@JP v))
(not (eq j-chr c))
- (null (encode-char c '=ucs)))
+ (null (encode-char c '=ucs))
+ (not (eq (encode-char c '=ucs@jis)
+ (encode-char c '=ucs@JP/hanazono))))
(put-char-attribute c '=ucs@JP/hanazono nil))
nil)
'=ucs@unicode)
(map-char-attribute
(lambda (c v)
(if (and (setq j-chr (decode-char '==ucs@JP v))
- (not (eq j-chr c)))
+ (not (eq j-chr c))
+ (not (or (eq (encode-char c '==ucs@jis)
+ (encode-char c '==ucs@JP/hanazono))
+ (eq (encode-char c '==ucs@unicode)
+ (encode-char c '==ucs@JP/hanazono))
+ (eq (encode-char c '==ucs@cns)
+ (encode-char c '==ucs@JP/hanazono))
+ )))
(put-char-attribute c '==ucs@JP/hanazono nil))
nil)
'==ucs@unicode)
(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)