diff options
author | Eli Zaretskii <eliz@gnu.org> | 2014-04-12 11:41:39 +0300 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2014-04-12 11:41:39 +0300 |
commit | 56460fe744cf0f412edd65d20d396192e2f96b07 (patch) | |
tree | 68afdec1894828e7887404e5a08f8a3da08c8edc | |
parent | 8485ea7e83c9cc355288de71e2d99c9a70f86fff (diff) | |
download | emacs-56460fe744cf0f412edd65d20d396192e2f96b07.tar.gz |
Fix bug #17243 with case table entries for Coptic letters
lisp/international/characters.el <standard-case-table>: Add entries
for letters from the Coptic block u+2C80-u+2CFF. (Bug#17243)
-rw-r--r-- | lisp/ChangeLog | 5 | ||||
-rw-r--r-- | lisp/international/characters.el | 15 |
2 files changed, 20 insertions, 0 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 1fb5cabfbe8..bbb1496a301 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2014-04-12 Eli Zaretskii <eliz@gnu.org> + + * international/characters.el <standard-case-table>: Add entries + for letters from the Coptic block u+2C80-u+2CFF. (Bug#17243) + 2014-04-12 Leo Liu <sdl.web@gmail.com> * progmodes/octave.el (completion-table-with-cache): Define if not diff --git a/lisp/international/characters.el b/lisp/international/characters.el index 54ab362df04..e76fef9fd3e 100644 --- a/lisp/international/characters.el +++ b/lisp/international/characters.el @@ -791,6 +791,21 @@ with L, LRE, or LRO Unicode bidi character type.") (modify-category-entry (+ c 26) ?l) (setq c (1+ c))) + ;; Coptic + (let ((pair-ranges '((#x2C80 . #x2CE2) + (#x2CEB . #x2CF2)))) + (dolist (elt pair-ranges) + (let ((from (car elt)) (to (cdr elt))) + (while (< from to) + (set-case-syntax-pair from (1+ from) tbl) + ;; There's no Coptic category. However, Coptic letters that + ;; are part of the Greek block above get the Greek category, + ;; and those in this block are derived from Greek letters, + ;; so let's be consistent about their category. + (modify-category-entry from ?g) + (modify-category-entry (1+ from) ?g) + (setq from (+ from 2)))))) + ;; Fullwidth Latin (setq c #xff21) (while (<= c #xff3a) |