From: MORIOKA Tomohiko Date: Mon, 17 Jan 2022 05:19:31 +0000 (+0900) Subject: - Mount `hdic-ktb-entry-type' instead of `hdic-ktb-type'. X-Git-Url: http://git.chise.org/gitweb/?p=chise%2Fest.git;a=commitdiff_plain;h=dd7082c83e05bb4dca11526dec1a0d5925b755f7 - Mount `hdic-ktb-entry-type' instead of `hdic-ktb-type'. - Mount `hdic-ktb-ndl-pid'. - Mount `<-HDIC-SYP@KTB' instead of `<-same@SYP/KTB'. - Mount `->HDIC-SYP@KTB' instead of `->same@SYP/KTB'. (www-format-encode-string): Add settings for `===chise-hdic-ktb' and `=chise-hdic-ktb'. --- diff --git a/cwiki-common.el b/cwiki-common.el index 0e1f7c5..937afa5 100644 --- a/cwiki-common.el +++ b/cwiki-common.el @@ -69,12 +69,13 @@ (mount-char-attribute-table '=hdic-ktb-entry-id) (mount-char-attribute-table 'hdic-syp-description) (mount-char-attribute-table 'hdic-ktb-description) -(mount-char-attribute-table 'hdic-ktb-type) +(mount-char-attribute-table 'hdic-ktb-entry-type) (mount-char-attribute-table 'hdic-ktb-diff) (mount-char-attribute-table 'hdic-ktb-syp-id) (mount-char-attribute-table 'hdic-ktb-yy-id) -(mount-char-attribute-table '<-same@SYP/KTB) -(mount-char-attribute-table '->same@SYP/KTB) +(mount-char-attribute-table 'hdic-ktb-ndl-pid) +(mount-char-attribute-table '<-HDIC-SYP@KTB) +(mount-char-attribute-table '->HDIC-SYP@KTB) (defvar est-hide-cgi-mode nil) (defvar est-view-url-prefix "..") @@ -1176,6 +1177,20 @@ class=\"tooltiptext\">%s" t 'literal))) (goto-char (point-min)) + (while (re-search-forward "&\\(R-\\)?CHISE-HDIC-KTB\\([0-9A-F]+\\);" nil t) + (setq code (string-to-int (match-string 2) 16)) + (setq char (decode-char '===chise-hdic-ktb code)) + (when (setq ret (get-char-attribute char '=hdic-ktb-entry-id)) + (replace-match + (format + "
\"HDIC-KTB-%s\"%s
" + ret ret + (charset-description '===chise-hdic-ktb)) + t 'literal))) + + (goto-char (point-min)) (while (re-search-forward "&\\(o-\\|G-\\|g2-\\|R-\\)?AJ1-\\([0-9]+\\);" nil t) (setq code (string-to-int (match-string 2))) (replace-match