From: tomo Date: Sun, 5 Aug 2001 08:22:43 +0000 (+0000) Subject: (char-db-insert-char-reference): Regard integer value of :char as UCS X-Git-Tag: r21-2-38-utf-2000-0_17-1~70 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=dc6e13eb34013b5568cbdced4bb6d0ec3c3f0275;p=chise%2Fxemacs-chise.git.1 (char-db-insert-char-reference): Regard integer value of :char as UCS code point. (insert-char-attributes): Use current-column to detect short or long; format `ideographic-structure' as sequence of character-references. --- diff --git a/lisp/utf-2000/char-db-util.el b/lisp/utf-2000/char-db-util.el index c88ddcc..a4a55dc 100644 --- a/lisp/utf-2000/char-db-util.el +++ b/lisp/utf-2000/char-db-util.el @@ -241,6 +241,8 @@ (setq value (pop plist)) (cond ((eq name :char) (insert ":char\t") + (if (numberp value) + (setq value (decode-char 'ucs value))) (char-db-insert-char-spec value readable) (insert line-breaking)) (t @@ -306,7 +308,7 @@ (when (and (memq 'name attributes) (setq value (get-char-attribute char 'name))) (insert (format - (if (> (length value) 47) + (if (> (+ (current-column) (length value)) 48) "(name . %S)%s" "(name . %S)%s") value line-breaking)) @@ -591,7 +593,8 @@ ->synonyms ->radical <-radical ->bopomofo <-bopomofo - ->ideographic <-ideographic)) + ->ideographic <-ideographic + ideographic-structure)) (insert (format "(%-18s%s " name line-breaking)) (setq lbs (concat "\n" (make-string (current-column) ?\ )) separator nil)