[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] emacs-24 r116945: Fix bug #17243 with case table entries f
From: |
Eli Zaretskii |
Subject: |
[Emacs-diffs] emacs-24 r116945: Fix bug #17243 with case table entries for Coptic letters |
Date: |
Sat, 12 Apr 2014 08:42:34 +0000 |
User-agent: |
Bazaar (2.6b2) |
------------------------------------------------------------
revno: 116945
revision-id: address@hidden
parent: address@hidden
fixes bug: http://debbugs.gnu.org/17243
committer: Eli Zaretskii <address@hidden>
branch nick: emacs-24
timestamp: Sat 2014-04-12 11:41:39 +0300
message:
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)
modified:
lisp/ChangeLog changelog-20091113204419-o5vbwnq5f7feedwu-1432
lisp/international/characters.el
characters.el-20091113204419-o5vbwnq5f7feedwu-1037
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog 2014-04-12 04:07:53 +0000
+++ b/lisp/ChangeLog 2014-04-12 08:41:39 +0000
@@ -1,3 +1,8 @@
+2014-04-12 Eli Zaretskii <address@hidden>
+
+ * 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 <address@hidden>
* progmodes/octave.el (completion-table-with-cache): Define if not
=== modified file 'lisp/international/characters.el'
--- a/lisp/international/characters.el 2014-04-04 08:26:00 +0000
+++ b/lisp/international/characters.el 2014-04-12 08:41:39 +0000
@@ -791,6 +791,21 @@
(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)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] emacs-24 r116945: Fix bug #17243 with case table entries for Coptic letters,
Eli Zaretskii <=