From: Kazuhiro Ito Date: Wed, 5 May 2021 15:09:07 +0000 (+0200) Subject: Tweak how some Japanese punctuation chars are translated to ASCII X-Git-Tag: emacs-28.0.90~2603 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=f1c6a4c41e801b722cbde22d6c8c653dccb2fe85;p=emacs.git Tweak how some Japanese punctuation chars are translated to ASCII * lisp/language/japan-util.el (japanese-symbol-table): Tweak Japanese punctuation character translation (bug#47767). --- diff --git a/lisp/language/japan-util.el b/lisp/language/japan-util.el index 948bfef9f22..f3e3590645b 100644 --- a/lisp/language/japan-util.el +++ b/lisp/language/japan-util.el @@ -96,9 +96,9 @@ HANKAKU-KATAKANA belongs to `japanese-jisx0201-kana'.") (put-char-code-property jisx0201 'jisx0208 katakana))))) (defconst japanese-symbol-table - '((?\  ?\ ) (?, ?, ?、) (?. ?. ?。) (?、 ?, ?、) (?。 ?. ?。) (?・ nil ?・) + '((?\  ?\ ) (?, ?,) (?. ?.) (?、 nil ?、) (?。 nil ?。) (?・ nil ?・) (?: ?:) (?; ?\;) (?? ??) (?! ?!) (?゛ nil ?゙) (?゜ nil ?゚) - (?´ ?') (?` ?`) (?^ ?^) (?_ ?_) (?ー ?- ?ー) (?— ?-) (?‐ ?-) + (?´ ?') (?` ?`) (?^ ?^) (?_ ?_) (?ー nil ?ー) (?— ?-) (?‐ ?-) (?/ ?/) (?\ ?\\) (?〜 ?~) (?| ?|) (?‘ ?`) (?’ ?') (?“ ?\") (?” ?\") (?\( ?\() (?\) ?\)) (?\[ ?\[) (?\] ?\]) (?\{ ?{) (?\} ?}) (?〈 ?<) (?〉 ?>) (?\「 nil ?\「) (?\」 nil ?\」)