aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKenichi Handa2007-06-16 02:14:19 +0000
committerKenichi Handa2007-06-16 02:14:19 +0000
commitd807d0c70491c6fd84a17a66ef1962a1a3de9662 (patch)
treeb1100e8952178c7bf7dc83e0e6e44d9200d51820
parent6aab1f9973c22f9628ba4651fd7136a4ab425aad (diff)
downloademacs-d807d0c70491c6fd84a17a66ef1962a1a3de9662.tar.gz
emacs-d807d0c70491c6fd84a17a66ef1962a1a3de9662.zip
Setup syntax/category table for Tai Viet.
(script-list): Add tai-viet.
-rw-r--r--lisp/international/characters.el26
1 files changed, 25 insertions, 1 deletions
diff --git a/lisp/international/characters.el b/lisp/international/characters.el
index f19c331e5cf..bf3f4a9a248 100644
--- a/lisp/international/characters.el
+++ b/lisp/international/characters.el
@@ -72,7 +72,7 @@
72(define-category ?1 "base (independent) vowel") 72(define-category ?1 "base (independent) vowel")
73(define-category ?2 "upper diacritical mark (including upper vowel)") 73(define-category ?2 "upper diacritical mark (including upper vowel)")
74(define-category ?3 "lower diacritical mark (including lower vowel)") 74(define-category ?3 "lower diacritical mark (including lower vowel)")
75(define-category ?4 "tone mark") 75(define-category ?4 "combining tone mark")
76(define-category ?5 "symbol") 76(define-category ?5 "symbol")
77(define-category ?6 "digit") 77(define-category ?6 "digit")
78(define-category ?7 "vowel-modifying diacritical mark") 78(define-category ?7 "vowel-modifying diacritical mark")
@@ -427,6 +427,29 @@
427 (if lc (modify-category-entry lc ?v))) 427 (if lc (modify-category-entry lc ?v)))
428 (setq i (1+ i)))) 428 (setq i (1+ i))))
429 429
430;; Tai Viet
431(let ((deflist '(;; chars syntax category
432 ((?ꪀ. ?ꪯ) "w" ?0) ; cosonant
433 ("ꪱꪵꪶ" "w" ?1) ; vowel base
434 ((?ꪹ . ?ꪽ) "w" ?1) ; vowel base
435 ("ꪰꪲꪳꪷꪸꪾ" "w" ?2) ; vowel upper
436 ("ꪴ" "w" ?3) ; vowel lower
437 ("ꫀꫂ" "w" ?1) ; non-combining tone-mark
438 ("꪿꫁" "w" ?4) ; combining tone-mark
439 ((?ꫛ . ?꫟) "_" ?5) ; symbol
440 )))
441 (dolist (elm deflist)
442 (let ((chars (car elm))
443 (syntax (nth 1 elm))
444 (category (nth 2 elm)))
445 (if (consp chars)
446 (progn
447 (modify-syntax-entry chars syntax)
448 (modify-category-entry chars category))
449 (mapc #'(lambda (x)
450 (modify-syntax-entry x syntax)
451 (modify-category-entry x category))
452 chars)))))
430 453
431;; Latin 454;; Latin
432 455
@@ -1043,6 +1066,7 @@
1043 (#x31A0 #x31BF bopomofo) 1066 (#x31A0 #x31BF bopomofo)
1044 (#x3400 #x9FAF han) 1067 (#x3400 #x9FAF han)
1045 (#xA000 #xA4CF yi) 1068 (#xA000 #xA4CF yi)
1069 (#xAA80 #xAADF tai-viet)
1046 (#xAC00 #xD7AF hangul) 1070 (#xAC00 #xD7AF hangul)
1047 (#xF900 #xFAFF han) 1071 (#xF900 #xFAFF han)
1048 (#xFB1D #xFB4F hebrew) 1072 (#xFB1D #xFB4F hebrew)