commit 1aeb1819353418ebed635f18a009048700ba1ad0 (HEAD, refs/remotes/origin/master) Author: Eli Zaretskii Date: Wed Apr 8 12:52:18 2020 +0300 ; * lisp/international/mule-conf.el: Minor comment wording fix. diff --git a/lisp/international/mule-conf.el b/lisp/international/mule-conf.el index e5ea491a37..edda79ba4e 100644 --- a/lisp/international/mule-conf.el +++ b/lisp/international/mule-conf.el @@ -1517,8 +1517,9 @@ for decoding and encoding files, process I/O, etc." :charset-list '(unicode) :pre-write-conversion 'utf-7-pre-write-conversion :post-read-conversion 'utf-7-post-read-conversion) -;; FIXME: `define-coding-system' automatically sets :ascii-compatible-p, -;; but UTF-7 is not ASCII compatible; disable (bug#40407). +;; FIXME: 'define-coding-system' automatically sets :ascii-compatible-p, +;; to any encoding whose :coding-type is 'utf-8', but UTF-7 is not ASCII +;; compatible, so we override that here (bug#40407). (coding-system-put 'utf-7 :ascii-compatible-p nil) (define-coding-system 'utf-7-imap commit 4e109d1529624d028a3312715e9c7b3cc8ebefb3 Author: Eli Zaretskii Date: Wed Apr 8 12:50:57 2020 +0300 Support character composition for Hangul jamo * lisp/language/korean.el: Add composition rules for conjoining Hangul jamo. (Bug#40502) diff --git a/lisp/language/korean.el b/lisp/language/korean.el index 210d0fabaf..7e758159a4 100644 --- a/lisp/language/korean.el +++ b/lisp/language/korean.el @@ -84,6 +84,18 @@ and the following key bindings are available within Korean input methods: F9, Hangul_Hanja: hangul-to-hanja-conversion") )) +;; For auto-composing conjoining jamo. +(let* ((choseong "[\u1100-\u115F\uA960-\uA97C]") + (jungseong "[\u1160-\u11A7\uD7B0-\uD7C6]") + (jongseong "[\u11A8-\u11FF\uD7CB-\uD7FB]?") + (pattern (concat choseong jungseong jongseong))) + (set-char-table-range composition-function-table + '(#x1100 . #x115F) + (list (vector pattern 0 'font-shape-gstring))) + (set-char-table-range composition-function-table + '(#xA960 . #xA97C) + (list (vector pattern 0 'font-shape-gstring)))) + (provide 'korean) ;;; korean.el ends here