(ids-dump-format-list): Don't convert representative glyph-objects of
authorMORIOKA Tomohiko <tomo.git@chise.org>
Thu, 19 Sep 2024 04:34:10 +0000 (13:34 +0900)
committerMORIOKA Tomohiko <tomo.git@chise.org>
Thu, 19 Sep 2024 05:33:19 +0000 (14:33 +0900)
Unicode 2.0 and ISO/IEC 10646-2:2001 into the corresponding UCS
abstract characters.

ids-dump.el

index e531c16..92c92bb 100644 (file)
@@ -1,8 +1,8 @@
 ;;; ids-dump.el --- Dump utility of IDS-* files
 
-;; Copyright (C) 2002,2003,2004,2005,2009,2011,2019,2022 MORIOKA Tomohiko
+;; Copyright (C) 2002,2003,2004,2005,2009,2011,2019,2022,2024 MORIOKA Tomohiko
 
-;; Author: MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
+;; Author: MORIOKA Tomohiko <tomo.git@chise.org>
 ;; Keywords: IDS, IDC, Ideographs, UCS, Unicode
 
 ;; This file is a part of IDS.
 
 (defun ids-dump-format-list (ids-list)
   (if ids-list
-      (let (ucs)
-       (mapconcat
-        (lambda (c)
-          (char-to-string
-           (if (setq ucs
-                     (unless (encode-char c '=ucs 'defined-only)
-                       (or (get-char-attribute c '=ucs@unicode)
-                           (get-char-attribute c '=ucs@iso))))
-               (decode-char '=ucs ucs)
-             c)))
-        (ids-format-list ids-list) ""))))
+      ;; (let (ucs)
+      ;;   (mapconcat
+      ;;    (lambda (c)
+      ;;      (char-to-string
+      ;;       (if (setq ucs
+      ;;                 (unless (encode-char c '=ucs 'defined-only)
+      ;;                   (or (get-char-attribute c '=ucs@unicode)
+      ;;                       (get-char-attribute c '=ucs@iso))))
+      ;;           (decode-char '=ucs ucs)
+      ;;         c)))
+      (ids-format-list ids-list) ; ""))
+      ))
 
 (defun ids-dump-insert-line (ccs line-spec code)
   (let ((chr (decode-char ccs code))