From 994bca837303d1238f0b9ebe712804696d22e398 Mon Sep 17 00:00:00 2001 From: MORIOKA Tomohiko Date: Fri, 1 Oct 2021 22:33:42 +0900 Subject: [PATCH] =?utf8?q?(ideographic-structure-compare-functional-and-appa?= =?utf8?q?rent):=20Implement=20rule-640:=20=E2=BF=B5=E2=BF=B5EML=20->=20=E2=BF?= =?utf8?q?=B5E=E2=BF=B1ML.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- ids-find.el | 26 +++++++++++++++++++++++--- 1 file changed, 23 insertions(+), 3 deletions(-) diff --git a/ids-find.el b/ids-find.el index fa6ee5e..0ef26a5 100644 --- a/ids-find.el +++ b/ids-find.el @@ -1571,9 +1571,29 @@ COMPONENT can be a character or char-spec." new-str-c a-res (list ?⿲ (nth 1 enc2-str) new-str-c (nth 2 enc2-str)) - 630)) - ) - ))) + 630))) + ) + ((eq (car enc-str) ?⿵) + (unless conversion-only + (setq f-res (ids-find-chars-including-ids enc-str))) + (setq new-str (list ?⿱ + (nth 2 enc-str) + (nth 2 structure))) + (setq new-str-c + (if (setq ret (ideographic-structure-find-chars new-str)) + (car ret) + (list (cons 'ideographic-structure new-str)))) + (if conversion-only + (list ?⿵ (nth 1 enc-str) new-str-c) + (setq a-res (ids-find-chars-including-ids new-str)) + (list enc + f-res + new-str-c + a-res + (list ?⿵ (nth 1 enc-str) new-str-c) + 640)) + ) + )) ) ((eq (car structure) ?⿷) (setq enc (nth 1 structure)) -- 1.7.10.4