From 9a77be216e1906412a9aeaee2ef2864372e00fc5 Mon Sep 17 00:00:00 2001 From: Kentaro Ohkouchi Date: Mon, 2 Sep 2024 00:35:06 +0900 Subject: [PATCH] Add SKK-JISYO.emoji-ja.utf8 --- .emacs.d/bin/skkdic-maintenance.sh | 4 ++++ .emacs.d/init.d/skk-init.el | 2 ++ 2 files changed, 6 insertions(+) diff --git a/.emacs.d/bin/skkdic-maintenance.sh b/.emacs.d/bin/skkdic-maintenance.sh index c249fba..65007b5 100755 --- a/.emacs.d/bin/skkdic-maintenance.sh +++ b/.emacs.d/bin/skkdic-maintenance.sh @@ -58,6 +58,9 @@ iconv -f euc-jisx0213 -t utf8 zipcode/SKK-JISYO.office.zipcode \ curl -O https://raw.githubusercontent.com/uasi/skk-emoji-jisyo/master/SKK-JISYO.emoji.utf8 cp -rp SKK-JISYO.emoji.utf8 "${ONEDRIVE_DIR}/SKK-JISYO.emoji.utf8" +curl -sS https://raw.githubusercontent.com/ymrl/SKK-JISYO.emoji-ja/master/SKK-JISYO.emoji-ja.utf8 | skkdic-sort > SKK-JISYO.emoji-ja.utf8 +cp -rp SKK-JISYO.emoji-ja.utf8 "${ONEDRIVE_DIR}/SKK-JISYO.emoji-ja.utf8" + # see https://github.com/eidera/skktools/blob/master/scripts/run.bash skkdic-expr2 \ @@ -79,6 +82,7 @@ skkdic-expr2 \ cat <(iconv -f euc-jisx0213 -t utf8 SKK-JISYO.all.euc-jisx0213) \ <(cat SKK-JISYO.emoji.utf8) \ + <(cat SKK-JISYO.emoji-ja.utf8) \ | skkdic-sort > SKK-JISYO.all.utf8 cd $CURRENT_DIR diff --git a/.emacs.d/init.d/skk-init.el b/.emacs.d/init.d/skk-init.el index 144d679..a80b835 100644 --- a/.emacs.d/init.d/skk-init.el +++ b/.emacs.d/init.d/skk-init.el @@ -7,6 +7,8 @@ (setq skk-jisyo-code 'utf-8) (add-to-list 'skk-extra-jisyo-file-list (concat external-directory "ddskk/SKK-JISYO.emoji.utf8")) +(add-to-list 'skk-extra-jisyo-file-list + (concat external-directory "ddskk/SKK-JISYO.emoji-ja.utf8")) (setq-default skk-kutouten-type 'en) (setq-default skk-kuten-touten-alist