)
((find-charset ka)
(if (find-charset kb)
- (if (or (<= (charset-id ka) 1)
- (and (charset-final ka)
- (>= (charset-final ka) ?@)))
- (if (or (<= (charset-id kb) 1)
- (and (charset-final kb)
- (>= (charset-final kb) ?@)))
- (cond
- ((= (charset-dimension ka)
- (charset-dimension kb))
- (if (and (<= (charset-id ka) 1)
- (<= (charset-id kb) 1))
- (> (charset-id ka)(charset-id kb))
- (if (and (charset-final ka)
- (charset-final kb))
- (cond
- ((= (charset-final ka)(charset-final kb))
- (if (<= (charset-id ka) 1)
- (if (<= (charset-id kb) 1)
- (> (charset-id ka)(charset-id kb))
- t)
- (if (<= (charset-id kb) 1)
- nil
- (< (charset-id ka)(charset-id kb))))
- )
- ((< (charset-final ka)(charset-final kb))
- ))
- (if (<= (charset-id ka) 1)
- (if (<= (charset-id kb) 1)
- (> (charset-id ka)(charset-id kb))
- t)
- (if (<= (charset-id kb) 1)
- nil
- (cond ((and (charset-final ka)
- (>= (charset-final ka) ?@))
- t)
- ((and (charset-final kb)
- (>= (charset-final kb) ?@))
- nil)
- (t
- (< (charset-id ka)(charset-id kb))
- ))))))
- )
- (t
- (> (charset-dimension ka)
- (charset-dimension kb))
- ))
- t)
- (if (or (<= (charset-id kb) 1)
- (and (charset-final kb)
- (>= (charset-final kb) ?@)))
- nil
- (< (charset-id ka)(charset-id kb))))
- nil))
- ((find-charset kb)
- t)
+ (let (a-ir b-ir)
+ (if (and (setq a-ir (charset-property ka 'iso-ir))
+ (if (= a-ir 177)
+ (if (= (charset-id ka) -177)
+ t
+ (setq a-ir nil))
+ t))
+ (if (and (setq b-ir (charset-property kb 'iso-ir))
+ (if (= b-ir 177)
+ (if (= (charset-id kb) -177)
+ t
+ (setq b-ir nil))
+ t))
+ (cond
+ ((= a-ir b-ir)
+ (< (charset-id ka)(charset-id kb))
+ )
+ ;; ((= a-ir 177)
+ ;; t)
+ ;; ((= b-ir 177)
+ ;; nil)
+ ((= (charset-dimension ka)
+ (charset-dimension kb))
+ (< a-ir b-ir)
+ )
+ ((> (charset-dimension ka)
+ (charset-dimension kb))
+ ))
+ t)
+ (if (and (setq b-ir (charset-property kb 'iso-ir))
+ (if (= b-ir 177)
+ (if (= (charset-id kb) -177)
+ t
+ (setq b-ir nil))
+ t))
+ nil
+ (< (charset-id ka)(charset-id kb)))))
+ nil)
+ )
+ ((find-charset kb))
((symbolp ka)
(cond ((symbolp kb)
(string< (symbol-name ka)
=daikanwa@rev2
;; =gt-k
=jis-x0208@1997
- )))
+ ))
+ ;; (string-match "=ucs@" (symbol-name ccs))
+ )
(setq ccs (charset-name ccs))
(null (assq ccs char-spec))
(setq ret (encode-char char ccs 'defined-only)))