diff options
| author | Kenichi Handa | 1997-02-26 12:03:35 +0000 |
|---|---|---|
| committer | Kenichi Handa | 1997-02-26 12:03:35 +0000 |
| commit | 6eba8645d527f6314e71d846f3459fbee50343ef (patch) | |
| tree | 97b92c88611cf8d8237baa2f6efb6a7e1eea1e97 | |
| parent | 95aeae460aff497e377f59d483f6e02ddf1e7470 (diff) | |
| download | emacs-6eba8645d527f6314e71d846f3459fbee50343ef.tar.gz emacs-6eba8645d527f6314e71d846f3459fbee50343ef.zip | |
Remove prefix "coding-system-" from coding system symbol names.
Add a section for Lao.
| -rw-r--r-- | lisp/international/characters.el | 41 |
1 files changed, 39 insertions, 2 deletions
diff --git a/lisp/international/characters.el b/lisp/international/characters.el index ca29d3b7ab3..b5d627e2dc6 100644 --- a/lisp/international/characters.el +++ b/lisp/international/characters.el | |||
| @@ -25,7 +25,7 @@ | |||
| 25 | ;;; Commentary: | 25 | ;;; Commentary: |
| 26 | 26 | ||
| 27 | ;; This file contains multibyte characters. Save this file always in | 27 | ;; This file contains multibyte characters. Save this file always in |
| 28 | ;; `coding-system-iso-2022-7'. | 28 | ;; the coding system `iso-2022-7'. |
| 29 | 29 | ||
| 30 | ;;; Predefined categories. | 30 | ;;; Predefined categories. |
| 31 | 31 | ||
| @@ -46,6 +46,7 @@ | |||
| 46 | (define-category ?e "Ethiopic (Ge'ez)") | 46 | (define-category ?e "Ethiopic (Ge'ez)") |
| 47 | (define-category ?v "Vietnamese") | 47 | (define-category ?v "Vietnamese") |
| 48 | (define-category ?i "Indian") | 48 | (define-category ?i "Indian") |
| 49 | (define-category ?o "Lao") | ||
| 49 | 50 | ||
| 50 | ;; For each group (row) of 2-byte character sets. | 51 | ;; For each group (row) of 2-byte character sets. |
| 51 | 52 | ||
| @@ -68,7 +69,8 @@ | |||
| 68 | (define-category ?5 "vowel") | 69 | (define-category ?5 "vowel") |
| 69 | (define-category ?6 "digit") | 70 | (define-category ?6 "digit") |
| 70 | (define-category ?7 "vowel-modifying diacritical mark") | 71 | (define-category ?7 "vowel-modifying diacritical mark") |
| 71 | (define-category ?8 "vowel-signs.") | 72 | (define-category ?8 "vowel-signs") |
| 73 | (define-category ?9 "semivowel lower") | ||
| 72 | 74 | ||
| 73 | ;; For filling. | 75 | ;; For filling. |
| 74 | (define-category ?| "While filling, we can break a line at this character.") | 76 | (define-category ?| "While filling, we can break a line at this character.") |
| @@ -324,6 +326,41 @@ | |||
| 324 | (modify-category-entry (make-char 'korean-ksc5601 43) ?K) | 326 | (modify-category-entry (make-char 'korean-ksc5601 43) ?K) |
| 325 | (modify-category-entry (make-char 'korean-ksc5601 44) ?Y) | 327 | (modify-category-entry (make-char 'korean-ksc5601 44) ?Y) |
| 326 | 328 | ||
| 329 | ;; Lao character set | ||
| 330 | |||
| 331 | (modify-category-entry (make-char 'lao) ?o) | ||
| 332 | |||
| 333 | (let ((deflist '(;; chars syntax category | ||
| 334 | ("(1!(B-(1N(B" "w" ?0) ; consonant | ||
| 335 | ("(1PRS]`(B-(1d(B" "w" ?1) ; vowel base | ||
| 336 | ("(1QT(B-(1W[m(B" "w" ?2) ; vowel upper | ||
| 337 | ("(1XY(B" "w" ?3) ; vowel lower | ||
| 338 | ("(1h(B-(1l(B" "w" ?4) ; tone mark | ||
| 339 | ("(1\(B" "w" ?9) ; semivowel lower | ||
| 340 | ("(1p(B-(1y(B" "w" ?0) ; digit and misc | ||
| 341 | ("(1Of(B" "_" ?0) ; symbol | ||
| 342 | )) | ||
| 343 | elm chars len syntax category to ch i) | ||
| 344 | (while deflist | ||
| 345 | (setq elm (car deflist)) | ||
| 346 | (setq chars (car elm) | ||
| 347 | len (length chars) | ||
| 348 | syntax (nth 1 elm) | ||
| 349 | category (nth 2 elm) | ||
| 350 | i 0) | ||
| 351 | (while (< i len) | ||
| 352 | (if (= (aref chars i) ?-) | ||
| 353 | (setq i (1+ i) | ||
| 354 | to (sref chars i)) | ||
| 355 | (setq ch (sref chars i) | ||
| 356 | to ch)) | ||
| 357 | (while (<= ch to) | ||
| 358 | (modify-syntax-entry ch syntax) | ||
| 359 | (modify-category-entry ch category) | ||
| 360 | (setq ch (1+ ch))) | ||
| 361 | (setq i (+ i (char-bytes to)))) | ||
| 362 | (setq deflist (cdr deflist)))) | ||
| 363 | |||
| 327 | ;; Thai character set (TIS620) | 364 | ;; Thai character set (TIS620) |
| 328 | 365 | ||
| 329 | (modify-category-entry (make-char 'thai-tis620) ?t) | 366 | (modify-category-entry (make-char 'thai-tis620) ?t) |