When ideographic-structure is compacted, display system-char-id of the
authorMORIOKA Tomohiko <tomo.git@chise.org>
Mon, 7 Sep 2020 12:41:52 +0000 (21:41 +0900)
committerMORIOKA Tomohiko <tomo.git@chise.org>
Mon, 7 Sep 2020 12:41:52 +0000 (21:41 +0900)
character object.

install-ids.el

index 5dea263..cbac096 100644 (file)
@@ -88,7 +88,8 @@
   (map-char-attribute
    (lambda (c v)
      (unless (equal (setq ret (ideographic-structure-compact v)) v)
-       (princ (format "Compact %c : %s -> %s\n"
+       (princ (format "Compact %04X (%c) : %s -> %s\n"
+                     (char-int c)
                      c
                      (ideographic-structure-to-ids v)
                      (ideographic-structure-to-ids ret)))