From: tomo Date: Mon, 15 Sep 2008 18:05:34 +0000 (+0000) Subject: (char-attribute-name<): Regard partial coded-charset which has X-Git-Tag: r21-4-21-chise-0_24-5^20~21 X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=621d6bda0e5f8bc54c875f267d6e08892448b45a;p=chise%2Fxemacs-chise.git- (char-attribute-name<): Regard partial coded-charset which has final-byte as ISO registered coded-charset. --- diff --git a/lisp/utf-2000/char-db-util.el b/lisp/utf-2000/char-db-util.el index 9a7e22b..b50c2ff 100644 --- a/lisp/utf-2000/char-db-util.el +++ b/lisp/utf-2000/char-db-util.el @@ -155,31 +155,58 @@ ) ((find-charset ka) (if (find-charset kb) - (if (<= (charset-id ka) 1) - (if (<= (charset-id kb) 1) + (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)) - (> (charset-id ka)(charset-id 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 (<= (charset-id kb) 1) + (if (or (<= (charset-id kb) 1) + (and (charset-final kb) + (>= (charset-final kb) ?@))) nil - (cond - ((and (charset-final ka) - (>= (charset-final ka) ?@)) - (if (and (charset-final kb) - (>= (charset-final kb) ?@)) - (< (charset-final ka)(charset-final kb)) - t)) - ((and (charset-final kb) - (>= (charset-final kb) ?@)) - nil) - (t - (< (charset-id ka)(charset-id kb)))))) + (< (charset-id ka)(charset-id kb)))) nil)) ((find-charset kb) t)