diff options
| author | Juanma Barranquero | 2003-02-04 13:24:35 +0000 |
|---|---|---|
| committer | Juanma Barranquero | 2003-02-04 13:24:35 +0000 |
| commit | a1506d2977a8c2eb982ad0b59416009cdfaa6f51 (patch) | |
| tree | 3cbb868ad6eb3b188d5064389538c490c124d8be /lisp/language | |
| parent | f1180544bb5ff44cdb45b8734734294b0a2fa7a4 (diff) | |
| download | emacs-a1506d2977a8c2eb982ad0b59416009cdfaa6f51.tar.gz emacs-a1506d2977a8c2eb982ad0b59416009cdfaa6f51.zip | |
Trailing whitepace deleted.
Diffstat (limited to 'lisp/language')
| -rw-r--r-- | lisp/language/chinese.el | 2 | ||||
| -rw-r--r-- | lisp/language/cyril-util.el | 2 | ||||
| -rw-r--r-- | lisp/language/devan-util.el | 298 | ||||
| -rw-r--r-- | lisp/language/ethio-util.el | 26 | ||||
| -rw-r--r-- | lisp/language/ethiopic.el | 2 | ||||
| -rw-r--r-- | lisp/language/european.el | 4 | ||||
| -rw-r--r-- | lisp/language/ind-util.el | 74 | ||||
| -rw-r--r-- | lisp/language/japan-util.el | 2 | ||||
| -rw-r--r-- | lisp/language/lao-util.el | 6 | ||||
| -rw-r--r-- | lisp/language/thai-util.el | 2 | ||||
| -rw-r--r-- | lisp/language/thai.el | 2 | ||||
| -rw-r--r-- | lisp/language/tibet-util.el | 4 | ||||
| -rw-r--r-- | lisp/language/tibetan.el | 8 | ||||
| -rw-r--r-- | lisp/language/vietnamese.el | 14 |
14 files changed, 223 insertions, 223 deletions
diff --git a/lisp/language/chinese.el b/lisp/language/chinese.el index 6f67f66d129..14546edbf89 100644 --- a/lisp/language/chinese.el +++ b/lisp/language/chinese.el | |||
| @@ -64,7 +64,7 @@ | |||
| 64 | 64 | ||
| 65 | 65 | ||
| 66 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 66 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
| 67 | ;;; Chinese GB2312 (simplified) | 67 | ;;; Chinese GB2312 (simplified) |
| 68 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 68 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
| 69 | 69 | ||
| 70 | (make-coding-system | 70 | (make-coding-system |
diff --git a/lisp/language/cyril-util.el b/lisp/language/cyril-util.el index 394400cda97..3c9839eea21 100644 --- a/lisp/language/cyril-util.el +++ b/lisp/language/cyril-util.el | |||
| @@ -113,7 +113,7 @@ If the argument is nil, we return the display table to its standard state." | |||
| 113 | (aset standard-display-table ?,Lm(B [?e?']) | 113 | (aset standard-display-table ?,Lm(B [?e?']) |
| 114 | (aset standard-display-table ?,Ln(B [?y?u]) | 114 | (aset standard-display-table ?,Ln(B [?y?u]) |
| 115 | (aset standard-display-table ?,Lo(B [?y?a]) | 115 | (aset standard-display-table ?,Lo(B [?y?a]) |
| 116 | 116 | ||
| 117 | (aset standard-display-table ?,L0(B [?A]) | 117 | (aset standard-display-table ?,L0(B [?A]) |
| 118 | (aset standard-display-table ?,L1(B [?B]) | 118 | (aset standard-display-table ?,L1(B [?B]) |
| 119 | (aset standard-display-table ?,L2(B [?V]) | 119 | (aset standard-display-table ?,L2(B [?V]) |
diff --git a/lisp/language/devan-util.el b/lisp/language/devan-util.el index cbc5b19a56e..e4353548b7c 100644 --- a/lisp/language/devan-util.el +++ b/lisp/language/devan-util.el | |||
| @@ -52,7 +52,7 @@ | |||
| 52 | "[$,15U(B-$,15y68(B-$,16?(B]") | 52 | "[$,15U(B-$,15y68(B-$,16?(B]") |
| 53 | 53 | ||
| 54 | (defconst devanagari-composable-pattern | 54 | (defconst devanagari-composable-pattern |
| 55 | (concat | 55 | (concat |
| 56 | "\\([$,15E(B-$,15T6@6A(B][$,15A5B(B]?\\)\\|$,15C(B" | 56 | "\\([$,15E(B-$,15T6@6A(B][$,15A5B(B]?\\)\\|$,15C(B" |
| 57 | "\\|\\(" | 57 | "\\|\\(" |
| 58 | "\\(?:\\(?:[$,15U(B-$,15y68(B-$,16?(B]$,16-(B\\)?\\(?:[$,15U(B-$,15y68(B-$,16?(B]$,16-(B\\)?\\(?:[$,15U(B-$,15y68(B-$,16?(B]$,16-(B\\)?[$,15U(B-$,15y68(B-$,16?(B]$,16-(B\\)?" | 58 | "\\(?:\\(?:[$,15U(B-$,15y68(B-$,16?(B]$,16-(B\\)?\\(?:[$,15U(B-$,15y68(B-$,16?(B]$,16-(B\\)?\\(?:[$,15U(B-$,15y68(B-$,16?(B]$,16-(B\\)?[$,15U(B-$,15y68(B-$,16?(B]$,16-(B\\)?" |
| @@ -67,7 +67,7 @@ | |||
| 67 | (narrow-to-region from to) | 67 | (narrow-to-region from to) |
| 68 | (goto-char (point-min)) | 68 | (goto-char (point-min)) |
| 69 | (while (re-search-forward devanagari-composable-pattern nil t) | 69 | (while (re-search-forward devanagari-composable-pattern nil t) |
| 70 | (devanagari-compose-syllable-region (match-beginning 0) | 70 | (devanagari-compose-syllable-region (match-beginning 0) |
| 71 | (match-end 0)))))) | 71 | (match-end 0)))))) |
| 72 | (defun devanagari-compose-string (string) | 72 | (defun devanagari-compose-string (string) |
| 73 | (with-temp-buffer | 73 | (with-temp-buffer |
| @@ -86,14 +86,14 @@ | |||
| 86 | 86 | ||
| 87 | (defun devanagari-range (from to) | 87 | (defun devanagari-range (from to) |
| 88 | "Make the list of the integers of range FROM to TO." | 88 | "Make the list of the integers of range FROM to TO." |
| 89 | (let (result) | 89 | (let (result) |
| 90 | (while (<= from to) (setq result (cons to result) to (1- to))) result)) | 90 | (while (<= from to) (setq result (cons to result) to (1- to))) result)) |
| 91 | 91 | ||
| 92 | (defun devanagari-regexp-of-hashtbl-keys (hashtbl) | 92 | (defun devanagari-regexp-of-hashtbl-keys (hashtbl) |
| 93 | "Return a regular expression that matches all keys in hashtable HASHTBL." | 93 | "Return a regular expression that matches all keys in hashtable HASHTBL." |
| 94 | (let ((max-specpdl-size 1000)) | 94 | (let ((max-specpdl-size 1000)) |
| 95 | (regexp-opt | 95 | (regexp-opt |
| 96 | (sort | 96 | (sort |
| 97 | (let (dummy) | 97 | (let (dummy) |
| 98 | (maphash (function (lambda (key val) (setq dummy (cons key dummy)))) hashtbl) | 98 | (maphash (function (lambda (key val) (setq dummy (cons key dummy)))) hashtbl) |
| 99 | dummy) | 99 | dummy) |
| @@ -111,13 +111,13 @@ PATTERN regexp." | |||
| 111 | (mapc | 111 | (mapc |
| 112 | (function (lambda (ucs) | 112 | (function (lambda (ucs) |
| 113 | (aset composition-function-table (decode-char 'ucs ucs) | 113 | (aset composition-function-table (decode-char 'ucs ucs) |
| 114 | (list (cons devanagari-composable-pattern | 114 | (list (cons devanagari-composable-pattern |
| 115 | 'devanagari-composition-function))))) | 115 | 'devanagari-composition-function))))) |
| 116 | (nconc '(#x0903) (devanagari-range #x0905 #x0939) (devanagari-range #x0958 #x0961))) | 116 | (nconc '(#x0903) (devanagari-range #x0905 #x0939) (devanagari-range #x0958 #x0961))) |
| 117 | 117 | ||
| 118 | ;; Notes on conversion steps. | 118 | ;; Notes on conversion steps. |
| 119 | 119 | ||
| 120 | ;; 1. chars to glyphs | 120 | ;; 1. chars to glyphs |
| 121 | ;; | 121 | ;; |
| 122 | ;; Rules will not be applied to the halant appeared at the end of the | 122 | ;; Rules will not be applied to the halant appeared at the end of the |
| 123 | ;; text. Also, the preceding/following "r" will be treated as special case. | 123 | ;; text. Also, the preceding/following "r" will be treated as special case. |
| @@ -130,8 +130,8 @@ PATTERN regexp." | |||
| 130 | ;; Note that `consonant-glyph' mentioned here does not contain the | 130 | ;; Note that `consonant-glyph' mentioned here does not contain the |
| 131 | ;; vertical bar (right modifier) attached at the right of the | 131 | ;; vertical bar (right modifier) attached at the right of the |
| 132 | ;; consonant. | 132 | ;; consonant. |
| 133 | ;; | 133 | ;; |
| 134 | ;; If the glyph-group contains right modifier, | 134 | ;; If the glyph-group contains right modifier, |
| 135 | ;; (1) consonant-glyphs/vowels, with nukta sign | 135 | ;; (1) consonant-glyphs/vowels, with nukta sign |
| 136 | ;; (2) spacing | 136 | ;; (2) spacing |
| 137 | ;; (3) right modifier (may be matra) | 137 | ;; (3) right modifier (may be matra) |
| @@ -140,11 +140,11 @@ PATTERN regexp." | |||
| 140 | ;; (6) anuswar | 140 | ;; (6) anuswar |
| 141 | ;; (7) following "r" | 141 | ;; (7) following "r" |
| 142 | ;; (8) bottom matra or halant. | 142 | ;; (8) bottom matra or halant. |
| 143 | ;; | 143 | ;; |
| 144 | ;; Otherwise, | 144 | ;; Otherwise, |
| 145 | ;; (1) consonant-glyph/vowels, with nukta sign | 145 | ;; (1) consonant-glyph/vowels, with nukta sign |
| 146 | ;; (3) left matra | 146 | ;; (3) left matra |
| 147 | ;; (4) top matra | 147 | ;; (4) top matra |
| 148 | ;; (5) preceding "r" | 148 | ;; (5) preceding "r" |
| 149 | ;; (6) anuswar | 149 | ;; (6) anuswar |
| 150 | ;; (7) following "r" | 150 | ;; (7) following "r" |
| @@ -186,15 +186,15 @@ PATTERN regexp." | |||
| 186 | ("$,15M5A(B" . "$,4 b"$(B") | 186 | ("$,15M5A(B" . "$,4 b"$(B") |
| 187 | ("$,15M5B(B" . "$,4 b"$(B") | 187 | ("$,15M5B(B" . "$,4 b"$(B") |
| 188 | ("$,16%(B" . "\$,4"L(B") | 188 | ("$,16%(B" . "\$,4"L(B") |
| 189 | ("$,15N(B" . "$,4 b"@(B") | 189 | ("$,15N(B" . "$,4 b"@(B") |
| 190 | ("$,15N5A(B" . "$,4 b"@"&(B") | 190 | ("$,15N5A(B" . "$,4 b"@"&(B") |
| 191 | ("$,16&(B" . "\$,4"@(B") | 191 | ("$,16&(B" . "\$,4"@(B") |
| 192 | ("$,16&5A(B" . "\$,4"@(B\$,4"&(B") | 192 | ("$,16&5A(B" . "\$,4"@(B\$,4"&(B") |
| 193 | ("$,15O(B" . "$,4 b(B") | 193 | ("$,15O(B" . "$,4 b(B") |
| 194 | ("$,16'(B" . "\$,4"D(B") | 194 | ("$,16'(B" . "\$,4"D(B") |
| 195 | ("$,16'5A(B" . "\$,4"D(B\$,4"&(B") | 195 | ("$,16'5A(B" . "\$,4"D(B\$,4"&(B") |
| 196 | ("$,15P(B" . "$,4 b"D(B") | 196 | ("$,15P(B" . "$,4 b"D(B") |
| 197 | ("$,15P5A(B" . "$,4 b"D"&(B") | 197 | ("$,15P5A(B" . "$,4 b"D"&(B") |
| 198 | ("$,16((B" . "\$,4"H(B") | 198 | ("$,16((B" . "\$,4"H(B") |
| 199 | ("$,16(5A(B" . "\$,4"H(B\$,4"&(B") | 199 | ("$,16(5A(B" . "\$,4"H(B\$,4"&(B") |
| 200 | ("$,15Q(B" . "$,4 K")"L(B") ;; special rule for reodering. | 200 | ("$,15Q(B" . "$,4 K")"L(B") ;; special rule for reodering. |
| @@ -203,21 +203,21 @@ PATTERN regexp." | |||
| 203 | ("$,16)(B" . "\$,4")"L(B") | 203 | ("$,16)(B" . "\$,4")"L(B") |
| 204 | ("$,16)5A(B" . "\$,4")"$(B") | 204 | ("$,16)5A(B" . "\$,4")"$(B") |
| 205 | ("$,16)5B(B" . "\$,4")"$(B") | 205 | ("$,16)5B(B" . "\$,4")"$(B") |
| 206 | ("$,15R(B" . "$,4 K")"@(B") | 206 | ("$,15R(B" . "$,4 K")"@(B") |
| 207 | ("$,15R5A(B" . "$,4 K")"@"&(B") | 207 | ("$,15R5A(B" . "$,4 K")"@"&(B") |
| 208 | ("$,16*(B" . "\$,4")"@(B") | 208 | ("$,16*(B" . "\$,4")"@(B") |
| 209 | ("$,16*5A(B" . "\$,4")"@"&(B") | 209 | ("$,16*5A(B" . "\$,4")"@"&(B") |
| 210 | ("$,15S(B" . "$,4 K")"D(B") | 210 | ("$,15S(B" . "$,4 K")"D(B") |
| 211 | ("$,15S5A(B" . "$,4 K")"D"&(B") | 211 | ("$,15S5A(B" . "$,4 K")"D"&(B") |
| 212 | ("$,16+(B" . "\$,4")"D(B") | 212 | ("$,16+(B" . "\$,4")"D(B") |
| 213 | ("$,16+5A(B" . "\$,4")"D"&(B") | 213 | ("$,16+5A(B" . "\$,4")"D"&(B") |
| 214 | ("$,15T(B" . "$,4 K")"H(B") | 214 | ("$,15T(B" . "$,4 K")"H(B") |
| 215 | ("$,15T5A(B" . "$,4 K")"H"&(B") | 215 | ("$,15T5A(B" . "$,4 K")"H"&(B") |
| 216 | ("$,16,(B" . "\$,4")"H(B") | 216 | ("$,16,(B" . "\$,4")"H(B") |
| 217 | ("$,16,5A(B" . "\$,4")"H"&(B") | 217 | ("$,16,5A(B" . "\$,4")"H"&(B") |
| 218 | ("$,16@(B" . "$,4 a"Q(B") | 218 | ("$,16@(B" . "$,4 a"Q(B") |
| 219 | ;;("$,16B(B" . nil) | 219 | ;;("$,16B(B" . nil) |
| 220 | ;;("$,16A(B" . nil) | 220 | ;;("$,16A(B" . nil) |
| 221 | ;;("$,16C(B" . nil) | 221 | ;;("$,16C(B" . nil) |
| 222 | 222 | ||
| 223 | ;; GRUTTALS | 223 | ;; GRUTTALS |
| @@ -233,69 +233,69 @@ PATTERN regexp." | |||
| 233 | ("$,15V6-5p(B" . "$,4 l")(B") | 233 | ("$,15V6-5p(B" . "$,4 l")(B") |
| 234 | ("$,15V6-5p6-(B" . "$,4 l(B") | 234 | ("$,15V6-5p6-(B" . "$,4 l(B") |
| 235 | 235 | ||
| 236 | ("$,15W(B" . "$,4 m")(B") | 236 | ("$,15W(B" . "$,4 m")(B") |
| 237 | ("$,15W6-(B" . "$,4 m(B") | 237 | ("$,15W6-(B" . "$,4 m(B") |
| 238 | ("$,15W6-5p(B" . "$,4 o")(B") | 238 | ("$,15W6-5p(B" . "$,4 o")(B") |
| 239 | ("$,15W6-5p6-(B" . "$,4 o(B") | 239 | ("$,15W6-5p6-(B" . "$,4 o(B") |
| 240 | 240 | ||
| 241 | ("$,15X(B" . "$,4 p")(B") | 241 | ("$,15X(B" . "$,4 p")(B") |
| 242 | ("$,15X6-(B" . "$,4 p(B") | 242 | ("$,15X6-(B" . "$,4 p(B") |
| 243 | ("$,15X6-5p(B" . "$,4 q")(B") | 243 | ("$,15X6-5p(B" . "$,4 q")(B") |
| 244 | ("$,15X6-5p6-(B" . "$,4 q(B") | 244 | ("$,15X6-5p6-(B" . "$,4 q(B") |
| 245 | 245 | ||
| 246 | ("$,15Y(B" . "$,4 r"S(B") | 246 | ("$,15Y(B" . "$,4 r"S(B") |
| 247 | ;; PALATALS | 247 | ;; PALATALS |
| 248 | ("$,15Z(B" . "$,4 s")(B") | 248 | ("$,15Z(B" . "$,4 s")(B") |
| 249 | ("$,15Z6-(B" . "$,4 s(B") | 249 | ("$,15Z6-(B" . "$,4 s(B") |
| 250 | ("$,15Z6-5p(B" . "$,4 t")(B") | 250 | ("$,15Z6-5p(B" . "$,4 t")(B") |
| 251 | ("$,15Z6-5p6-(B" . "$,4 t(B") | 251 | ("$,15Z6-5p6-(B" . "$,4 t(B") |
| 252 | 252 | ||
| 253 | ("$,15[(B" . "$,4 u"T(B") | 253 | ("$,15[(B" . "$,4 u"T(B") |
| 254 | 254 | ||
| 255 | ("$,15\(B" . "$,4 v")(B") | 255 | ("$,15\(B" . "$,4 v")(B") |
| 256 | ("$,15\6-(B" . "$,4 v(B") | 256 | ("$,15\6-(B" . "$,4 v(B") |
| 257 | ("$,15\6-5p(B" . "$,4 x")(B") | 257 | ("$,15\6-5p(B" . "$,4 x")(B") |
| 258 | ("$,15\6-5p6-(B" . "$,4 x(B") | 258 | ("$,15\6-5p6-(B" . "$,4 x(B") |
| 259 | ("$,15\6-5^(B" . "$,4 y")(B") | 259 | ("$,15\6-5^(B" . "$,4 y")(B") |
| 260 | ("$,15\6-5^6-(B" . "$,4 y(B") | 260 | ("$,15\6-5^6-(B" . "$,4 y(B") |
| 261 | 261 | ||
| 262 | ("$,15](B" . "$,4 z")(B") | 262 | ("$,15](B" . "$,4 z")(B") |
| 263 | ("$,15]6-(B" . "$,4 z(B") | 263 | ("$,15]6-(B" . "$,4 z(B") |
| 264 | ("$,15]6-5p(B" . "$,4 {")(B") | 264 | ("$,15]6-5p(B" . "$,4 {")(B") |
| 265 | ("$,15]6-5p6-(B" . "$,4 {(B") | 265 | ("$,15]6-5p6-(B" . "$,4 {(B") |
| 266 | 266 | ||
| 267 | ("$,15^(B" . "$,4 |")(B") | 267 | ("$,15^(B" . "$,4 |")(B") |
| 268 | ("$,15^6-(B" . "$,4 |(B") | 268 | ("$,15^6-(B" . "$,4 |(B") |
| 269 | ;; CEREBRALS | 269 | ;; CEREBRALS |
| 270 | ("$,15_(B" . "$,4 }"U(B") | 270 | ("$,15_(B" . "$,4 }"U(B") |
| 271 | ("$,15_6-5_(B" . "$,4 ~"U(B") | 271 | ("$,15_6-5_(B" . "$,4 ~"U(B") |
| 272 | ("$,15_6-5`(B" . "$,4 "U(B") | 272 | ("$,15_6-5`(B" . "$,4 "U(B") |
| 273 | 273 | ||
| 274 | ("$,15`(B" . "$,4! "V(B") | 274 | ("$,15`(B" . "$,4! "V(B") |
| 275 | ("$,15`6-5`(B" . "$,4!!"V(B") | 275 | ("$,15`6-5`(B" . "$,4!!"V(B") |
| 276 | 276 | ||
| 277 | ("$,15a(B" . "$,4!""W(B") | 277 | ("$,15a(B" . "$,4!""W(B") |
| 278 | ("$,15a6-5a(B" . "$,4!$"W(B") | 278 | ("$,15a6-5a(B" . "$,4!$"W(B") |
| 279 | ("$,15a6-5b(B" . "$,4!%"W(B") | 279 | ("$,15a6-5b(B" . "$,4!%"W(B") |
| 280 | 280 | ||
| 281 | ("$,15b(B" . "$,4!&"X(B") | 281 | ("$,15b(B" . "$,4!&"X(B") |
| 282 | 282 | ||
| 283 | ("$,15c(B" . "$,4!(")(B") | 283 | ("$,15c(B" . "$,4!(")(B") |
| 284 | ("$,15c6-(B" . "$,4!((B") | 284 | ("$,15c6-(B" . "$,4!((B") |
| 285 | ;; DENTALS | 285 | ;; DENTALS |
| 286 | ("$,15d(B" . "$,4!)")(B") | 286 | ("$,15d(B" . "$,4!)")(B") |
| 287 | ("$,15d6-(B" . "$,4!)(B") | 287 | ("$,15d6-(B" . "$,4!)(B") |
| 288 | ("$,15d6-5p(B" . "$,4!*")(B") | 288 | ("$,15d6-5p(B" . "$,4!*")(B") |
| 289 | ("$,15d6-5p6-(B" . "$,4!*(B") | 289 | ("$,15d6-5p6-(B" . "$,4!*(B") |
| 290 | ("$,15d6-5d(B" . "$,4!+")(B") | 290 | ("$,15d6-5d(B" . "$,4!+")(B") |
| 291 | ("$,15d6-5d6-(B" . "$,4!+(B") | 291 | ("$,15d6-5d6-(B" . "$,4!+(B") |
| 292 | 292 | ||
| 293 | ("$,15e(B" . "$,4!,")(B") | 293 | ("$,15e(B" . "$,4!,")(B") |
| 294 | ("$,15e6-(B" . "$,4!,(B") | 294 | ("$,15e6-(B" . "$,4!,(B") |
| 295 | ("$,15e6-5p(B" . "$,4!-")(B") | 295 | ("$,15e6-5p(B" . "$,4!-")(B") |
| 296 | ("$,15e6-5p6-(B" . "$,4!-(B") | 296 | ("$,15e6-5p6-(B" . "$,4!-(B") |
| 297 | 297 | ||
| 298 | ("$,15f(B" . "$,4!."Y(B") | 298 | ("$,15f(B" . "$,4!."Y(B") |
| 299 | ("$,15f6#(B" . "$,4!/"Y(B") | 299 | ("$,15f6#(B" . "$,4!/"Y(B") |
| 300 | ("$,15f6-5p(B" . "$,4!0"Y(B") | 300 | ("$,15f6-5p(B" . "$,4!0"Y(B") |
| 301 | ("$,15f6-5f(B" . "$,4!1"Y(B") | 301 | ("$,15f6-5f(B" . "$,4!1"Y(B") |
| @@ -304,61 +304,61 @@ PATTERN regexp." | |||
| 304 | ("$,15f6-5o(B" . "$,4!4(B") | 304 | ("$,15f6-5o(B" . "$,4!4(B") |
| 305 | ("$,15f6-5u(B" . "$,4!5"Y(B") | 305 | ("$,15f6-5u(B" . "$,4!5"Y(B") |
| 306 | 306 | ||
| 307 | ("$,15g(B" . "$,4!6")(B") | 307 | ("$,15g(B" . "$,4!6")(B") |
| 308 | ("$,15g6-(B" . "$,4!6(B") | 308 | ("$,15g6-(B" . "$,4!6(B") |
| 309 | ("$,15g6-5p(B" . "$,4!7")(B") | 309 | ("$,15g6-5p(B" . "$,4!7")(B") |
| 310 | ("$,15g6-5p6-(B" . "$,4!7(B") | 310 | ("$,15g6-5p6-(B" . "$,4!7(B") |
| 311 | 311 | ||
| 312 | ("$,15h(B" . "$,4!8")(B") | 312 | ("$,15h(B" . "$,4!8")(B") |
| 313 | ("$,15h6-(B" . "$,4!8(B") | 313 | ("$,15h6-(B" . "$,4!8(B") |
| 314 | ("$,15h6-5p(B" . "$,4!9")(B") | 314 | ("$,15h6-5p(B" . "$,4!9")(B") |
| 315 | ("$,15h6-5p6-(B" . "$,4!9")(B") | 315 | ("$,15h6-5p6-(B" . "$,4!9")(B") |
| 316 | ("$,15h6-5h(B" . "$,4!:")(B") | 316 | ("$,15h6-5h(B" . "$,4!:")(B") |
| 317 | ("$,15h6-5h6-(B" . "$,4!:(B") | 317 | ("$,15h6-5h6-(B" . "$,4!:(B") |
| 318 | 318 | ||
| 319 | ("$,15i(B" . "$,4!8"#")(B") | 319 | ("$,15i(B" . "$,4!8"#")(B") |
| 320 | ;; LABIALS | 320 | ;; LABIALS |
| 321 | ("$,15j(B" . "$,4!;")(B") | 321 | ("$,15j(B" . "$,4!;")(B") |
| 322 | ("$,15j6-(B" . "$,4!;(B") | 322 | ("$,15j6-(B" . "$,4!;(B") |
| 323 | ("$,15j6-5p(B" . "$,4!<")(B") | 323 | ("$,15j6-5p(B" . "$,4!<")(B") |
| 324 | ("$,15j6-5p6-(B" . "$,4!<(B") | 324 | ("$,15j6-5p6-(B" . "$,4!<(B") |
| 325 | 325 | ||
| 326 | ("$,15k(B" . "$,4!a"[(B") | 326 | ("$,15k(B" . "$,4!a"[(B") |
| 327 | ("$,15k6-(B" . "$,4!=(B") | 327 | ("$,15k6-(B" . "$,4!=(B") |
| 328 | ("$,15k6-5p(B" . "$,4!c"[(B") | 328 | ("$,15k6-5p(B" . "$,4!c"[(B") |
| 329 | 329 | ||
| 330 | ("$,15l(B" . "$,4!d")(B") | 330 | ("$,15l(B" . "$,4!d")(B") |
| 331 | ("$,15l6-(B" . "$,4!d(B") | 331 | ("$,15l6-(B" . "$,4!d(B") |
| 332 | ("$,15l6-5p(B" . "$,4!e")(B") | 332 | ("$,15l6-5p(B" . "$,4!e")(B") |
| 333 | ("$,15l6-5p6-(B" . "$,4!e(B") | 333 | ("$,15l6-5p6-(B" . "$,4!e(B") |
| 334 | 334 | ||
| 335 | ("$,15m(B" . "$,4!f")(B") | 335 | ("$,15m(B" . "$,4!f")(B") |
| 336 | ("$,15m6-(B" . "$,4!f(B") | 336 | ("$,15m6-(B" . "$,4!f(B") |
| 337 | ("$,15m6-5p(B" . "$,4!g")(B") | 337 | ("$,15m6-5p(B" . "$,4!g")(B") |
| 338 | ("$,15m6-5p6-(B" . "$,4!g(B") | 338 | ("$,15m6-5p6-(B" . "$,4!g(B") |
| 339 | 339 | ||
| 340 | ("$,15n(B" . "$,4!h")(B") | 340 | ("$,15n(B" . "$,4!h")(B") |
| 341 | ("$,15n6-(B" . "$,4!h(B") | 341 | ("$,15n6-(B" . "$,4!h(B") |
| 342 | ("$,15n6-5p(B" . "$,4!i")(B") | 342 | ("$,15n6-5p(B" . "$,4!i")(B") |
| 343 | ("$,15n6-5p6-(B" . "$,4!i(B") | 343 | ("$,15n6-5p6-(B" . "$,4!i(B") |
| 344 | ;; SEMIVOWELS | 344 | ;; SEMIVOWELS |
| 345 | ("$,15o(B" . "$,4!j")(B") | 345 | ("$,15o(B" . "$,4!j")(B") |
| 346 | ("$,15o6-(B" . "$,4!j(B") | 346 | ("$,15o6-(B" . "$,4!j(B") |
| 347 | ("$,15o6-5p(B" . "$,4!k")(B") | 347 | ("$,15o6-5p(B" . "$,4!k")(B") |
| 348 | ("$,15o6-5p6-(B" . "$,4!k(B") | 348 | ("$,15o6-5p6-(B" . "$,4!k(B") |
| 349 | ("$,16-5o(B" . "$,4!l(B") ;; when every ohter lig. fails. | 349 | ("$,16-5o(B" . "$,4!l(B") ;; when every ohter lig. fails. |
| 350 | 350 | ||
| 351 | ("$,15p(B" . "$,4!n"W(B") | 351 | ("$,15p(B" . "$,4!n"W(B") |
| 352 | ;; ("$,15p6-(B" . "\$,4"'(B") ;; special case. only the topmost pos. | 352 | ;; ("$,15p6-(B" . "\$,4"'(B") ;; special case. only the topmost pos. |
| 353 | ("$,15q(B" . "$,4!n"#"W(B") | 353 | ("$,15q(B" . "$,4!n"#"W(B") |
| 354 | ("$,15q6-(B" . "$,4!m(B") ;; IS 13194 speical rule. | 354 | ("$,15q6-(B" . "$,4!m(B") ;; IS 13194 speical rule. |
| 355 | ("$,15p6!(B" . "$,4!o"[(B") | 355 | ("$,15p6!(B" . "$,4!o"[(B") |
| 356 | ("$,15p6"(B" . "$,4!p"\(B") | 356 | ("$,15p6"(B" . "$,4!p"\(B") |
| 357 | 357 | ||
| 358 | ("$,15r(B" . "$,4!q")(B") | 358 | ("$,15r(B" . "$,4!q")(B") |
| 359 | ("$,15r6-(B" . "$,4!q(B") | 359 | ("$,15r6-(B" . "$,4!q(B") |
| 360 | ("$,15s(B" . "$,4!s(B") | 360 | ("$,15s(B" . "$,4!s(B") |
| 361 | ("$,15s6-(B" . "$,4!r(B") | 361 | ("$,15s6-(B" . "$,4!r(B") |
| 362 | ("$,15t(B" . "$,4!s"#(B") | 362 | ("$,15t(B" . "$,4!s"#(B") |
| 363 | ("$,15t6-(B" . "$,4!r"#(B") | 363 | ("$,15t6-(B" . "$,4!r"#(B") |
| 364 | 364 | ||
| @@ -366,8 +366,8 @@ PATTERN regexp." | |||
| 366 | ("$,15u6-(B" . "$,4!t(B") | 366 | ("$,15u6-(B" . "$,4!t(B") |
| 367 | ("$,15u6-5p(B" . "$,4!u")(B") | 367 | ("$,15u6-5p(B" . "$,4!u")(B") |
| 368 | ("$,15u6-5p6-(B" . "$,4!u(B") | 368 | ("$,15u6-5p6-(B" . "$,4!u(B") |
| 369 | ;; SIBILANTS | 369 | ;; SIBILANTS |
| 370 | ("$,15v(B" . "$,4!v")(B") | 370 | ("$,15v(B" . "$,4!v")(B") |
| 371 | ("$,15v6-(B" . "$,4!v(B") | 371 | ("$,15v6-(B" . "$,4!v(B") |
| 372 | ("$,15v6-5u(B" . "$,4!w")(B") | 372 | ("$,15v6-5u(B" . "$,4!w")(B") |
| 373 | ("$,15v6-5u6-(B" . "$,4!w(B") | 373 | ("$,15v6-5u6-(B" . "$,4!w(B") |
| @@ -387,42 +387,42 @@ PATTERN regexp." | |||
| 387 | ("$,15y6-5p(B" . "$,4!(B") | 387 | ("$,15y6-5p(B" . "$,4!(B") |
| 388 | ("$,15y6-5n(B" . "$,4" (B") | 388 | ("$,15y6-5n(B" . "$,4" (B") |
| 389 | ("$,15y6-5o(B" . "$,4"!(B") | 389 | ("$,15y6-5o(B" . "$,4"!(B") |
| 390 | ;; NUKTAS | 390 | ;; NUKTAS |
| 391 | ("$,168(B" . "$,4 f"R"S(B") | 391 | ("$,168(B" . "$,4 f"R"S(B") |
| 392 | ("$,1686-(B" . "$,4 d(B") | 392 | ("$,1686-(B" . "$,4 d(B") |
| 393 | ("$,169(B" . "$,4 k")(B") | 393 | ("$,169(B" . "$,4 k")(B") |
| 394 | ("$,1696-(B" . "$,4 k(B") | 394 | ("$,1696-(B" . "$,4 k(B") |
| 395 | ("$,16:(B" . "$,4 n")(B") | 395 | ("$,16:(B" . "$,4 n")(B") |
| 396 | ("$,16:6-(B" . "$,4 n(B") | 396 | ("$,16:6-(B" . "$,4 n(B") |
| 397 | ("$,16;(B" . "$,4 w")(B") | 397 | ("$,16;(B" . "$,4 w")(B") |
| 398 | ("$,16;6-(B" . "$,4 w(B") | 398 | ("$,16;6-(B" . "$,4 w(B") |
| 399 | ("$,16<(B" . "$,4!#"W(B") | 399 | ("$,16<(B" . "$,4!#"W(B") |
| 400 | ("$,16=(B" . "$,4!'"X(B") | 400 | ("$,16=(B" . "$,4!'"X(B") |
| 401 | ("$,16>(B" . "$,4!b"[(B") | 401 | ("$,16>(B" . "$,4!b"[(B") |
| 402 | ("$,16>6-(B" . "$,4!>(B") | 402 | ("$,16>6-(B" . "$,4!>(B") |
| 403 | ("$,16?(B" . "$,4!j"#")(B") | 403 | ("$,16?(B" . "$,4!j"#")(B") |
| 404 | ;; misc modifiers. | 404 | ;; misc modifiers. |
| 405 | ("$,15A(B" . "\$,4"$(B") | 405 | ("$,15A(B" . "\$,4"$(B") |
| 406 | ("$,15B(B" . "\$,4"&(B") | 406 | ("$,15B(B" . "\$,4"&(B") |
| 407 | ("$,15C(B" . "$,4 F(B") | 407 | ("$,15C(B" . "$,4 F(B") |
| 408 | ("$,15|(B" . "$,4"#(B") | 408 | ("$,15|(B" . "$,4"#(B") |
| 409 | ("$,15}(B" . "$,4 E(B") | 409 | ("$,15}(B" . "$,4 E(B") |
| 410 | ("$,16-(B" . "$,4""(B") | 410 | ("$,16-(B" . "$,4""(B") |
| 411 | ("$,16-5p(B" . "$,4"%(B") ;; following "r" | 411 | ("$,16-5p(B" . "$,4"%(B") ;; following "r" |
| 412 | ;; ("$,160(B" . "$,4 D(B") | 412 | ;; ("$,160(B" . "$,4 D(B") |
| 413 | ;; ("$,16D(B" . "$,4 J(B") | 413 | ;; ("$,16D(B" . "$,4 J(B") |
| 414 | ;; ("$,16F(B" . "") | 414 | ;; ("$,16F(B" . "") |
| 415 | ;; ("$,16G(B" . "") | 415 | ;; ("$,16G(B" . "") |
| 416 | ;; ("$,16H(B" . "") | 416 | ;; ("$,16H(B" . "") |
| 417 | ;; ("$,16I(B" . "") | 417 | ;; ("$,16I(B" . "") |
| 418 | ;; ("$,16J(B" . "") | 418 | ;; ("$,16J(B" . "") |
| 419 | ;; ("$,16K(B" . "") | 419 | ;; ("$,16K(B" . "") |
| 420 | ;; ("$,16L(B" . "") | 420 | ;; ("$,16L(B" . "") |
| 421 | ;; ("$,16M(B" . "") | 421 | ;; ("$,16M(B" . "") |
| 422 | ;; ("$,16N(B" . "") | 422 | ;; ("$,16N(B" . "") |
| 423 | ;; ("$,16O(B" . "") | 423 | ;; ("$,16O(B" . "") |
| 424 | ) | 424 | ) |
| 425 | "Devanagari characters to glyphs conversion table. | 425 | "Devanagari characters to glyphs conversion table. |
| 426 | Default value contains only the basic rules. You may add your own | 426 | Default value contains only the basic rules. You may add your own |
| 427 | preferred rule from the sanskrit fonts." ) | 427 | preferred rule from the sanskrit fonts." ) |
| 428 | 428 | ||
| @@ -436,7 +436,7 @@ preferred rule from the sanskrit fonts." ) | |||
| 436 | (devanagari-regexp-of-hashtbl-keys dev-char-glyph-hash)) | 436 | (devanagari-regexp-of-hashtbl-keys dev-char-glyph-hash)) |
| 437 | 437 | ||
| 438 | ;; glyph-to-glyph conversion table. | 438 | ;; glyph-to-glyph conversion table. |
| 439 | ;; it is supposed that glyphs are ordered in | 439 | ;; it is supposed that glyphs are ordered in |
| 440 | ;; [consonant/nukta] - [matra/halant] - [preceding-r] - [anuswar]. | 440 | ;; [consonant/nukta] - [matra/halant] - [preceding-r] - [anuswar]. |
| 441 | 441 | ||
| 442 | (defvar dev-glyph-glyph | 442 | (defvar dev-glyph-glyph |
| @@ -497,7 +497,7 @@ preferred rule from the sanskrit fonts." ) | |||
| 497 | (devanagari-range from to))) | 497 | (devanagari-range from to))) |
| 498 | 498 | ||
| 499 | (defvar dev-glyph-cvn | 499 | (defvar dev-glyph-cvn |
| 500 | (append | 500 | (append |
| 501 | (dev-charseq #x2b) | 501 | (dev-charseq #x2b) |
| 502 | (dev-charseq #x3c #xc1) | 502 | (dev-charseq #x3c #xc1) |
| 503 | (dev-charseq #xc3)) | 503 | (dev-charseq #xc3)) |
| @@ -508,7 +508,7 @@ preferred rule from the sanskrit fonts." ) | |||
| 508 | "Devanagari Spacing Glyphs") | 508 | "Devanagari Spacing Glyphs") |
| 509 | 509 | ||
| 510 | (defvar dev-glyph-right-modifier | 510 | (defvar dev-glyph-right-modifier |
| 511 | (append | 511 | (append |
| 512 | (dev-charseq #xc9) | 512 | (dev-charseq #xc9) |
| 513 | (dev-charseq #xd2 #xd5)) | 513 | (dev-charseq #xd2 #xd5)) |
| 514 | "Devanagari Modifiers attached at the right side.") | 514 | "Devanagari Modifiers attached at the right side.") |
| @@ -525,7 +525,7 @@ preferred rule from the sanskrit fonts." ) | |||
| 525 | "Devanagari Matras attached at the top side.") | 525 | "Devanagari Matras attached at the top side.") |
| 526 | 526 | ||
| 527 | (defvar dev-glyph-bottom-modifier | 527 | (defvar dev-glyph-bottom-modifier |
| 528 | (append | 528 | (append |
| 529 | (dev-charseq #xd6 #xdf) | 529 | (dev-charseq #xd6 #xdf) |
| 530 | (dev-charseq #xc2)) | 530 | (dev-charseq #xc2)) |
| 531 | "Devanagari Modifiers attached at the bottom.") | 531 | "Devanagari Modifiers attached at the bottom.") |
| @@ -541,9 +541,9 @@ preferred rule from the sanskrit fonts." ) | |||
| 541 | (,(dev-charseq #xc5) . 7) | 541 | (,(dev-charseq #xc5) . 7) |
| 542 | (,dev-glyph-bottom-modifier . 8))) | 542 | (,dev-glyph-bottom-modifier . 8))) |
| 543 | 543 | ||
| 544 | (mapc | 544 | (mapc |
| 545 | (function (lambda (x) | 545 | (function (lambda (x) |
| 546 | (mapc | 546 | (mapc |
| 547 | (function (lambda (y) | 547 | (function (lambda (y) |
| 548 | (put-char-code-property y 'composition-order (cdr x)))) | 548 | (put-char-code-property y 'composition-order (cdr x)))) |
| 549 | (car x)))) | 549 | (car x)))) |
| @@ -563,7 +563,7 @@ preferred rule from the sanskrit fonts." ) | |||
| 563 | (defun devanagari-compose-syllable-region (from to) | 563 | (defun devanagari-compose-syllable-region (from to) |
| 564 | "Compose devanagari syllable in region FROM to TO." | 564 | "Compose devanagari syllable in region FROM to TO." |
| 565 | (let ((glyph-str nil) (cons-num 0) glyph-str-list | 565 | (let ((glyph-str nil) (cons-num 0) glyph-str-list |
| 566 | (last-halant nil) (preceding-r nil) (last-modifier nil) | 566 | (last-halant nil) (preceding-r nil) (last-modifier nil) |
| 567 | (last-char (char-before to)) match-str | 567 | (last-char (char-before to)) match-str |
| 568 | glyph-block split-pos) | 568 | glyph-block split-pos) |
| 569 | (save-excursion | 569 | (save-excursion |
| @@ -586,23 +586,23 @@ preferred rule from the sanskrit fonts." ) | |||
| 586 | ;; translate the rest characters into glyphs | 586 | ;; translate the rest characters into glyphs |
| 587 | (while (re-search-forward dev-char-glyph-regexp nil t) | 587 | (while (re-search-forward dev-char-glyph-regexp nil t) |
| 588 | (setq match-str (match-string 0)) | 588 | (setq match-str (match-string 0)) |
| 589 | (setq glyph-str | 589 | (setq glyph-str |
| 590 | (concat glyph-str | 590 | (concat glyph-str |
| 591 | (gethash match-str dev-char-glyph-hash))) | 591 | (gethash match-str dev-char-glyph-hash))) |
| 592 | ;; count the number of consonant-glyhs. | 592 | ;; count the number of consonant-glyhs. |
| 593 | (if (string-match devanagari-consonant match-str) | 593 | (if (string-match devanagari-consonant match-str) |
| 594 | (setq cons-num (1+ cons-num)))) | 594 | (setq cons-num (1+ cons-num)))) |
| 595 | ;; preceding-r must be attached before the anuswar if exists. | 595 | ;; preceding-r must be attached before the anuswar if exists. |
| 596 | (if preceding-r | 596 | (if preceding-r |
| 597 | (if last-modifier | 597 | (if last-modifier |
| 598 | (setq glyph-str (concat (substring glyph-str 0 -1) | 598 | (setq glyph-str (concat (substring glyph-str 0 -1) |
| 599 | "$,4"'(B" (substring glyph-str -1))) | 599 | "$,4"'(B" (substring glyph-str -1))) |
| 600 | (setq glyph-str (concat glyph-str "$,4"'(B")))) | 600 | (setq glyph-str (concat glyph-str "$,4"'(B")))) |
| 601 | (if last-halant (setq glyph-str (concat glyph-str "$,4""(B"))) | 601 | (if last-halant (setq glyph-str (concat glyph-str "$,4""(B"))) |
| 602 | ;;; *** glyph-to-glyph conversion *** | 602 | ;;; *** glyph-to-glyph conversion *** |
| 603 | (when (string-match dev-glyph-glyph-regexp glyph-str) | 603 | (when (string-match dev-glyph-glyph-regexp glyph-str) |
| 604 | (setq glyph-str | 604 | (setq glyph-str |
| 605 | (replace-match (gethash (match-string 0 glyph-str) | 605 | (replace-match (gethash (match-string 0 glyph-str) |
| 606 | dev-glyph-glyph-hash) | 606 | dev-glyph-glyph-hash) |
| 607 | nil t glyph-str)) | 607 | nil t glyph-str)) |
| 608 | (if (and (> cons-num 1) | 608 | (if (and (> cons-num 1) |
| @@ -615,8 +615,8 @@ preferred rule from the sanskrit fonts." ) | |||
| 615 | (while (setq split-pos (string-match "$,4""(B\\|.$" glyph-str)) | 615 | (while (setq split-pos (string-match "$,4""(B\\|.$" glyph-str)) |
| 616 | (setq glyph-block (substring glyph-str 0 (1+ split-pos))) | 616 | (setq glyph-block (substring glyph-str 0 (1+ split-pos))) |
| 617 | (setq glyph-str (substring glyph-str (1+ split-pos))) | 617 | (setq glyph-str (substring glyph-str (1+ split-pos))) |
| 618 | (setq | 618 | (setq |
| 619 | glyph-block | 619 | glyph-block |
| 620 | (if (string-match dev-glyph-right-modifier-regexp glyph-block) | 620 | (if (string-match dev-glyph-right-modifier-regexp glyph-block) |
| 621 | (sort (string-to-list glyph-block) | 621 | (sort (string-to-list glyph-block) |
| 622 | (function (lambda (x y) | 622 | (function (lambda (x y) |
| @@ -630,11 +630,11 @@ preferred rule from the sanskrit fonts." ) | |||
| 630 | (setq glyph-str-list (nconc glyph-str-list glyph-block))) | 630 | (setq glyph-str-list (nconc glyph-str-list glyph-block))) |
| 631 | ;; concatenate and attach reference-points. | 631 | ;; concatenate and attach reference-points. |
| 632 | (setq glyph-str | 632 | (setq glyph-str |
| 633 | (cdr | 633 | (cdr |
| 634 | (apply | 634 | (apply |
| 635 | 'nconc | 635 | 'nconc |
| 636 | (mapcar | 636 | (mapcar |
| 637 | (function (lambda (x) | 637 | (function (lambda (x) |
| 638 | (list | 638 | (list |
| 639 | (or (get-char-code-property x 'reference-point) | 639 | (or (get-char-code-property x 'reference-point) |
| 640 | '(5 . 3) ;; default reference point. | 640 | '(5 . 3) ;; default reference point. |
diff --git a/lisp/language/ethio-util.el b/lisp/language/ethio-util.el index f61e1798526..3b59ddca661 100644 --- a/lisp/language/ethio-util.el +++ b/lisp/language/ethio-util.el | |||
| @@ -103,7 +103,7 @@ | |||
| 103 | ;; but file I/O is done in SERA. | 103 | ;; but file I/O is done in SERA. |
| 104 | ;; | 104 | ;; |
| 105 | ;; If the filename ends in ".java", editing is done in fidel | 105 | ;; If the filename ends in ".java", editing is done in fidel |
| 106 | ;; but file I/O is done in the \uXXXX style, where XXXX is | 106 | ;; but file I/O is done in the \uXXXX style, where XXXX is |
| 107 | ;; the Unicode codepoint for the Ethiopic character. | 107 | ;; the Unicode codepoint for the Ethiopic character. |
| 108 | ;; | 108 | ;; |
| 109 | ;; If the filename ends in ".tex", editing is done in fidel | 109 | ;; If the filename ends in ".tex", editing is done in fidel |
| @@ -168,7 +168,7 @@ If nil, use uppercases.") | |||
| 168 | ;; | 168 | ;; |
| 169 | ;; SERA to FIDEL | 169 | ;; SERA to FIDEL |
| 170 | ;; | 170 | ;; |
| 171 | 171 | ||
| 172 | (defconst ethio-sera-to-fidel-table | 172 | (defconst ethio-sera-to-fidel-table |
| 173 | [ | 173 | [ |
| 174 | nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil | 174 | nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil |
| @@ -230,7 +230,7 @@ If nil, use uppercases.") | |||
| 230 | ;;; I | 230 | ;;; I |
| 231 | ("$(3"h(B" (?2 "$(3#:(B")) | 231 | ("$(3"h(B" (?2 "$(3#:(B")) |
| 232 | ;;; J | 232 | ;;; J |
| 233 | ("$(3#j(B" (?e "$(3#e(B") (?u "$(3#f(B") (?i "$(3#g(B") (?a "$(3#h(B") (?E "$(3#i(B") (?o "$(3#k(B") | 233 | ("$(3#j(B" (?e "$(3#e(B") (?u "$(3#f(B") (?i "$(3#g(B") (?a "$(3#h(B") (?E "$(3#i(B") (?o "$(3#k(B") |
| 234 | (?W "$(3#l(B" (?a "$(3#l(B") | 234 | (?W "$(3#l(B" (?a "$(3#l(B") |
| 235 | (?e "$(3#j%n(B") (?u "$(3#j%r(B") (?i "$(3#j%o(B") (?E "$(3#j%q(B"))) | 235 | (?e "$(3#j%n(B") (?u "$(3#j%r(B") (?i "$(3#j%o(B") (?E "$(3#j%q(B"))) |
| 236 | ;;; K | 236 | ;;; K |
| @@ -301,18 +301,18 @@ If nil, use uppercases.") | |||
| 301 | (?! "$(3%t(B") | 301 | (?! "$(3%t(B") |
| 302 | (?e "$(3#5(B") (?u "$(3#6(B") (?U "$(3#6(B") (?i "$(3#7(B") (?a "$(3#8(B") (?A "$(3#8(B") | 302 | (?e "$(3#5(B") (?u "$(3#6(B") (?U "$(3#6(B") (?i "$(3#7(B") (?a "$(3#8(B") (?A "$(3#8(B") |
| 303 | (?E "$(3#9(B") (?I "$(3#:(B") (?o "$(3#;(B") (?O "$(3#;(B") | 303 | (?E "$(3#9(B") (?I "$(3#:(B") (?o "$(3#;(B") (?O "$(3#;(B") |
| 304 | (?g "$(3%^(B" | 304 | (?g "$(3%^(B" |
| 305 | (?e "$(3%Y(B") (?u "$(3%Z(B") (?i "$(3%[(B") (?a "$(3%\(B") (?E "$(3%](B") (?o "$(3%_(B")) | 305 | (?e "$(3%Y(B") (?u "$(3%Z(B") (?i "$(3%[(B") (?a "$(3%\(B") (?E "$(3%](B") (?o "$(3%_(B")) |
| 306 | (?h "$(3"H(B" | 306 | (?h "$(3"H(B" |
| 307 | (?e "$(3"C(B") (?u "$(3"D(B") (?i "$(3"E(B") (?a "$(3"F(B") (?E "$(3"G(B") (?o "$(3"I(B") | 307 | (?e "$(3"C(B") (?u "$(3"D(B") (?i "$(3"E(B") (?a "$(3"F(B") (?E "$(3"G(B") (?o "$(3"I(B") |
| 308 | (?W "$(3"P(B" (?e "$(3"K(B") (?u "$(3"P(B") (?i "$(3"M(B") (?a "$(3"N(B") (?E "$(3"O(B"))) | 308 | (?W "$(3"P(B" (?e "$(3"K(B") (?u "$(3"P(B") (?i "$(3"M(B") (?a "$(3"N(B") (?E "$(3"O(B"))) |
| 309 | (?k "$(3%>(B" | 309 | (?k "$(3%>(B" |
| 310 | (?e "$(3%9(B") (?u "$(3%:(B") (?i "$(3%;(B") (?a "$(3%<(B") (?E "$(3%=(B") (?o "$(3%?(B")) | 310 | (?e "$(3%9(B") (?u "$(3%:(B") (?i "$(3%;(B") (?a "$(3%<(B") (?E "$(3%=(B") (?o "$(3%?(B")) |
| 311 | (?s "$(3!F(B" | 311 | (?s "$(3!F(B" |
| 312 | (?e "$(3!A(B") (?u "$(3!B(B") (?i "$(3!C(B") (?a "$(3!D(B") (?E "$(3!E(B") (?o "$(3!G(B") | 312 | (?e "$(3!A(B") (?u "$(3!B(B") (?i "$(3!C(B") (?a "$(3!D(B") (?E "$(3!E(B") (?o "$(3!G(B") |
| 313 | (?W "$(3!H(B" (?a "$(3!H(B") | 313 | (?W "$(3!H(B" (?a "$(3!H(B") |
| 314 | (?e "$(3!F%n(B") (?u "$(3!F%r(B") (?i "$(3!F%o(B") (?E "$(3!F%q(B"))) | 314 | (?e "$(3!F%n(B") (?u "$(3!F%r(B") (?i "$(3!F%o(B") (?E "$(3!F%q(B"))) |
| 315 | (?S "$(3$L(B" | 315 | (?S "$(3$L(B" |
| 316 | (?e "$(3$G(B") (?u "$(3$H(B") (?i "$(3$I(B") (?a "$(3$J(B") (?E "$(3$K(B") (?o "$(3$M(B") | 316 | (?e "$(3$G(B") (?u "$(3$H(B") (?i "$(3$I(B") (?a "$(3$J(B") (?E "$(3$K(B") (?o "$(3$M(B") |
| 317 | (?W "$(3$F(B" (?a "$(3$F(B") | 317 | (?W "$(3$F(B" (?a "$(3$F(B") |
| 318 | (?e "$(3$L%n(B") (?u "$(3$L%r(B") (?i "$(3$L%o(B") (?E "$(3$L%q(B"))) | 318 | (?e "$(3$L%n(B") (?u "$(3$L%r(B") (?i "$(3$L%o(B") (?E "$(3$L%q(B"))) |
| @@ -337,7 +337,7 @@ If nil, use uppercases.") | |||
| 337 | (?W "$(3%d(B" (?e "$(3%4(B") (?u "$(3%d(B") (?i "$(3%D(B") (?a "$(3$V(B") (?E "$(3%T(B")) | 337 | (?W "$(3%d(B" (?e "$(3%4(B") (?u "$(3%d(B") (?i "$(3%D(B") (?a "$(3$V(B") (?E "$(3%T(B")) |
| 338 | (?Y "$(3$a(B" (?a "$(3$a(B"))) | 338 | (?Y "$(3$a(B" (?a "$(3$a(B"))) |
| 339 | ;;; g | 339 | ;;; g |
| 340 | ("$(3#r(B" (?e "$(3#m(B") (?u "$(3#n(B") (?i "$(3#o(B") (?a "$(3#p(B") (?E "$(3#q(B") (?o "$(3#s(B") | 340 | ("$(3#r(B" (?e "$(3#m(B") (?u "$(3#n(B") (?i "$(3#o(B") (?a "$(3#p(B") (?E "$(3#q(B") (?o "$(3#s(B") |
| 341 | (?W "$(3#z(B" (?e "$(3#u(B") (?u "$(3#z(B") (?i "$(3#w(B") (?a "$(3#x(B") (?E "$(3#y(B")) | 341 | (?W "$(3#z(B" (?e "$(3#u(B") (?u "$(3#z(B") (?i "$(3#w(B") (?a "$(3#x(B") (?E "$(3#y(B")) |
| 342 | (?2 "$(3%^(B" (?e "$(3%Y(B") (?u "$(3%Z(B") (?i "$(3%[(B") (?a "$(3%\(B") (?E "$(3%](B") (?o "$(3%_(B"))) | 342 | (?2 "$(3%^(B" (?e "$(3%Y(B") (?u "$(3%Z(B") (?i "$(3%[(B") (?a "$(3%\(B") (?E "$(3%](B") (?o "$(3%_(B"))) |
| 343 | ;;; h | 343 | ;;; h |
| @@ -348,7 +348,7 @@ If nil, use uppercases.") | |||
| 348 | ;;; i | 348 | ;;; i |
| 349 | ("$(3"e(B" (?2 "$(3#7(B")) | 349 | ("$(3"e(B" (?2 "$(3#7(B")) |
| 350 | ;;; j | 350 | ;;; j |
| 351 | ("$(3#j(B" (?e "$(3#e(B") (?u "$(3#f(B") (?i "$(3#g(B") (?a "$(3#h(B") (?E "$(3#i(B") (?o "$(3#k(B") | 351 | ("$(3#j(B" (?e "$(3#e(B") (?u "$(3#f(B") (?i "$(3#g(B") (?a "$(3#h(B") (?E "$(3#i(B") (?o "$(3#k(B") |
| 352 | (?W "$(3#l(B" (?a "$(3#l(B") | 352 | (?W "$(3#l(B" (?a "$(3#l(B") |
| 353 | (?e "$(3#j%n(B") (?u "$(3#j%r(B") (?i "$(3#j%o(B") (?E "$(3#j%q(B"))) | 353 | (?e "$(3#j%n(B") (?u "$(3#j%r(B") (?i "$(3#j%o(B") (?E "$(3#j%q(B"))) |
| 354 | ;;; k | 354 | ;;; k |
| @@ -580,7 +580,7 @@ the conversion of \"a\"." | |||
| 580 | start table table2 ch) | 580 | start table table2 ch) |
| 581 | 581 | ||
| 582 | (setcar (aref ethio-sera-to-fidel-table ?a) | 582 | (setcar (aref ethio-sera-to-fidel-table ?a) |
| 583 | (if (eq lang 'tigrigna) "$(3"f(B" "$(3"c(B")) | 583 | (if (eq lang 'tigrigna) "$(3"f(B" "$(3"c(B")) |
| 584 | 584 | ||
| 585 | (while (and (not (eobp)) (null new-language)) | 585 | (while (and (not (eobp)) (null new-language)) |
| 586 | (setq ch (following-char)) | 586 | (setq ch (following-char)) |
| @@ -773,7 +773,7 @@ Delete the escape even it is not recognised." | |||
| 773 | ((or (string= flag "ti") (string= flag "tir")) 'tigrigna) | 773 | ((or (string= flag "ti") (string= flag "tir")) 'tigrigna) |
| 774 | ((or (string= flag "am") (string= flag "amh")) 'amharic) | 774 | ((or (string= flag "am") (string= flag "amh")) 'amharic) |
| 775 | (t nil))) | 775 | (t nil))) |
| 776 | 776 | ||
| 777 | (defun ethio-convert-digit nil | 777 | (defun ethio-convert-digit nil |
| 778 | "Convert Arabic digits to Ethiopic digits." | 778 | "Convert Arabic digits to Ethiopic digits." |
| 779 | (let (ch z) | 779 | (let (ch z) |
| @@ -1114,7 +1114,7 @@ See also the descriptions of the variables | |||
| 1114 | fidel nil | 1114 | fidel nil |
| 1115 | digit t)) | 1115 | digit t)) |
| 1116 | 1116 | ||
| 1117 | ;; reduction = 2 and following 10s, 100s, 10000s | 1117 | ;; reduction = 2 and following 10s, 100s, 10000s |
| 1118 | ((and (= ethio-numeric-reduction 2) | 1118 | ((and (= ethio-numeric-reduction 2) |
| 1119 | (memq ch '(370 379 380))) | 1119 | (memq ch '(370 379 380))) |
| 1120 | (insert (substring (aref ethio-fidel-to-sera-map ch) 1)) | 1120 | (insert (substring (aref ethio-fidel-to-sera-map ch) 1)) |
| @@ -1811,7 +1811,7 @@ Otherwise, [0-9A-F]." | |||
| 1811 | (insert (ethio-ethiocode-to-char (- ucode 64560)))) | 1811 | (insert (ethio-ethiocode-to-char (- ucode 64560)))) |
| 1812 | (t | 1812 | (t |
| 1813 | nil))) | 1813 | nil))) |
| 1814 | 1814 | ||
| 1815 | ;; gemination | 1815 | ;; gemination |
| 1816 | (goto-char (point-min)) | 1816 | (goto-char (point-min)) |
| 1817 | (while (re-search-forward "\\ce$(3%s(B" nil 0) | 1817 | (while (re-search-forward "\\ce$(3%s(B" nil 0) |
diff --git a/lisp/language/ethiopic.el b/lisp/language/ethiopic.el index 27c7e77f4b7..b198cf43084 100644 --- a/lisp/language/ethiopic.el +++ b/lisp/language/ethiopic.el | |||
| @@ -59,7 +59,7 @@ | |||
| 59 | (input-method . "ethiopic") | 59 | (input-method . "ethiopic") |
| 60 | (features ethio-util) | 60 | (features ethio-util) |
| 61 | (sample-text . "$(3$Q#U!.(B") | 61 | (sample-text . "$(3$Q#U!.(B") |
| 62 | (documentation . | 62 | (documentation . |
| 63 | "This language envrironment provides these function key bindings | 63 | "This language envrironment provides these function key bindings |
| 64 | \(old bindings are shown in parentheses): | 64 | \(old bindings are shown in parentheses): |
| 65 | [f3] ethio-fidel-to-sera-buffer (f5) | 65 | [f3] ethio-fidel-to-sera-buffer (f5) |
diff --git a/lisp/language/european.el b/lisp/language/european.el index 233c099b734..ed4607c6b9a 100644 --- a/lisp/language/european.el +++ b/lisp/language/european.el | |||
| @@ -582,7 +582,7 @@ but it selects the Dutch tutorial and input method.")) | |||
| 582 | (setq translation-table | 582 | (setq translation-table |
| 583 | (make-translation-table-from-vector encoding-vector)) | 583 | (make-translation-table-from-vector encoding-vector)) |
| 584 | (define-translation-table 'mac-roman-decoder translation-table) | 584 | (define-translation-table 'mac-roman-decoder translation-table) |
| 585 | (define-translation-table 'mac-roman-encoder | 585 | (define-translation-table 'mac-roman-encoder |
| 586 | (char-table-extra-slot translation-table 0))) | 586 | (char-table-extra-slot translation-table 0))) |
| 587 | 587 | ||
| 588 | (define-ccl-program decode-mac-roman | 588 | (define-ccl-program decode-mac-roman |
| @@ -640,7 +640,7 @@ positions (integers or markers) specifying the region." | |||
| 640 | (compose-string string idx (match-end 0)) | 640 | (compose-string string idx (match-end 0)) |
| 641 | (setq idx (match-end 0)))) | 641 | (setq idx (match-end 0)))) |
| 642 | string) | 642 | string) |
| 643 | 643 | ||
| 644 | (defun diacritic-compose-buffer () | 644 | (defun diacritic-compose-buffer () |
| 645 | "Compose diacritic characters in the current buffer." | 645 | "Compose diacritic characters in the current buffer." |
| 646 | (interactive) | 646 | (interactive) |
diff --git a/lisp/language/ind-util.el b/lisp/language/ind-util.el index aa40f6d02fb..dfd092dd00a 100644 --- a/lisp/language/ind-util.el +++ b/lisp/language/ind-util.el | |||
| @@ -44,7 +44,7 @@ | |||
| 44 | "Returns the regular expression of hashtable keys." | 44 | "Returns the regular expression of hashtable keys." |
| 45 | (let ((max-specpdl-size 1000)) | 45 | (let ((max-specpdl-size 1000)) |
| 46 | (regexp-opt | 46 | (regexp-opt |
| 47 | (sort | 47 | (sort |
| 48 | (let (dummy) | 48 | (let (dummy) |
| 49 | (maphash (function (lambda (key val) (setq dummy (cons key dummy)))) | 49 | (maphash (function (lambda (key val) (setq dummy (cons key dummy)))) |
| 50 | hashtbl) | 50 | hashtbl) |
| @@ -59,15 +59,15 @@ | |||
| 59 | (?$,15Q(B ?$,16)(B) (?$,15R(B ?$,16*(B) (?$,15S(B ?$,16+(B) (?$,15T(B ?$,16,(B) (?$,16@(B ?$,16B(B) (?$,16A(B ?$,16C(B)) | 59 | (?$,15Q(B ?$,16)(B) (?$,15R(B ?$,16*(B) (?$,15S(B ?$,16+(B) (?$,15T(B ?$,16,(B) (?$,16@(B ?$,16B(B) (?$,16A(B ?$,16C(B)) |
| 60 | (;; CONSONANTS (currently 42, including special cases) | 60 | (;; CONSONANTS (currently 42, including special cases) |
| 61 | ?$,15U(B ?$,15V(B ?$,15W(B ?$,15X(B ?$,15Y(B ;; GUTTRULS | 61 | ?$,15U(B ?$,15V(B ?$,15W(B ?$,15X(B ?$,15Y(B ;; GUTTRULS |
| 62 | ?$,15Z(B ?$,15[(B ?$,15\(B ?$,15](B ?$,15^(B ;; PALATALS | 62 | ?$,15Z(B ?$,15[(B ?$,15\(B ?$,15](B ?$,15^(B ;; PALATALS |
| 63 | ?$,15_(B ?$,15`(B ?$,15a(B ?$,15b(B ?$,15c(B ;; CEREBRALS | 63 | ?$,15_(B ?$,15`(B ?$,15a(B ?$,15b(B ?$,15c(B ;; CEREBRALS |
| 64 | ?$,15d(B ?$,15e(B ?$,15f(B ?$,15g(B ?$,15h(B ?$,15i(B ;; DENTALS | 64 | ?$,15d(B ?$,15e(B ?$,15f(B ?$,15g(B ?$,15h(B ?$,15i(B ;; DENTALS |
| 65 | ?$,15j(B ?$,15k(B ?$,15l(B ?$,15m(B ?$,15n(B ;; LABIALS | 65 | ?$,15j(B ?$,15k(B ?$,15l(B ?$,15m(B ?$,15n(B ;; LABIALS |
| 66 | ?$,15o(B ?$,15p(B ?$,15q(B ?$,15r(B ?$,15s(B ?$,15t(B ?$,15u(B ;; SEMIVOWELS | 66 | ?$,15o(B ?$,15p(B ?$,15q(B ?$,15r(B ?$,15s(B ?$,15t(B ?$,15u(B ;; SEMIVOWELS |
| 67 | ?$,15v(B ?$,15w(B ?$,15x(B ?$,15y(B ;; SIBILANTS | 67 | ?$,15v(B ?$,15w(B ?$,15x(B ?$,15y(B ;; SIBILANTS |
| 68 | ?$,168(B ?$,169(B ?$,16:(B ?$,16;(B ?$,16<(B ?$,16=(B ?$,16>(B ?$,16?(B ;; NUKTAS | 68 | ?$,168(B ?$,169(B ?$,16:(B ?$,16;(B ?$,16<(B ?$,16=(B ?$,16>(B ?$,16?(B ;; NUKTAS |
| 69 | "$,15\6-5^(B" "$,15U6-5w(B") | 69 | "$,15\6-5^(B" "$,15U6-5w(B") |
| 70 | (;; Misc Symbols (7) | 70 | (;; Misc Symbols (7) |
| 71 | ?$,15A(B ?$,15B(B ?$,15C(B ?$,15}(B ?$,16-(B ?$,160(B ?$,16D(B) | 71 | ?$,15A(B ?$,15B(B ?$,15C(B ?$,15}(B ?$,16-(B ?$,160(B ?$,16D(B) |
| 72 | (;; Digits (10) | 72 | (;; Digits (10) |
| 73 | ?$,16F(B ?$,16G(B ?$,16H(B ?$,16I(B ?$,16J(B ?$,16K(B ?$,16L(B ?$,16M(B ?$,16N(B ?$,16O(B) | 73 | ?$,16F(B ?$,16G(B ?$,16H(B ?$,16I(B ?$,16J(B ?$,16K(B ?$,16L(B ?$,16M(B ?$,16N(B ?$,16O(B) |
| @@ -85,7 +85,7 @@ | |||
| 85 | 85 | ||
| 86 | (defvar indian-base-table-to-language-alist | 86 | (defvar indian-base-table-to-language-alist |
| 87 | '((indian-dev-base-table . "Devanagari") | 87 | '((indian-dev-base-table . "Devanagari") |
| 88 | (indian-pnj-base-table . "Punjabi") | 88 | (indian-pnj-base-table . "Punjabi") |
| 89 | (indian-ori-base-table . "Oriya") | 89 | (indian-ori-base-table . "Oriya") |
| 90 | (indian-bng-base-table . "Bengali") | 90 | (indian-bng-base-table . "Bengali") |
| 91 | (indian-asm-base-table . "Assamese") | 91 | (indian-asm-base-table . "Assamese") |
| @@ -100,11 +100,11 @@ | |||
| 100 | "a" ("aa" "A") "i" ("ii" "I") "u" ("uu" "U") | 100 | "a" ("aa" "A") "i" ("ii" "I") "u" ("uu" "U") |
| 101 | ("RRi" "R^i") ("LLi" "L^i") (".c" "e.c") nil "e" "ai" | 101 | ("RRi" "R^i") ("LLi" "L^i") (".c" "e.c") nil "e" "ai" |
| 102 | "o.c" nil "o" "au" ("RRI" "R^I") ("LLI" "L^I")) | 102 | "o.c" nil "o" "au" ("RRI" "R^I") ("LLI" "L^I")) |
| 103 | (;; consonants -- 40 | 103 | (;; consonants -- 40 |
| 104 | "k" "kh" "g" "gh" ("~N" "N^") | 104 | "k" "kh" "g" "gh" ("~N" "N^") |
| 105 | "ch" ("Ch" "chh") "j" "jh" ("~n" "JN") | 105 | "ch" ("Ch" "chh") "j" "jh" ("~n" "JN") |
| 106 | "T" "Th" "D" "Dh" "N" | 106 | "T" "Th" "D" "Dh" "N" |
| 107 | "t" "th" "d" "dh" "n" "nh" | 107 | "t" "th" "d" "dh" "n" "nh" |
| 108 | "p" "ph" "b" "bh" "m" | 108 | "p" "ph" "b" "bh" "m" |
| 109 | "y" "r" "rh" "l" ("L" "ld") nil ("v" "w") | 109 | "y" "r" "rh" "l" ("L" "ld") nil ("v" "w") |
| 110 | "sh" ("Sh" "shh") "s" "h" | 110 | "sh" ("Sh" "shh") "s" "h" |
| @@ -196,10 +196,10 @@ arguments, with all possible combinations of these multiple SEQUENCES. | |||
| 196 | Thus, if SEQ1 contains 3 elements and SEQ2 contains 5 elements, then | 196 | Thus, if SEQ1 contains 3 elements and SEQ2 contains 5 elements, then |
| 197 | FUNCTION will be called 15 times." | 197 | FUNCTION will be called 15 times." |
| 198 | (if seqrest | 198 | (if seqrest |
| 199 | (mapcar | 199 | (mapcar |
| 200 | (lambda (x) | 200 | (lambda (x) |
| 201 | (apply | 201 | (apply |
| 202 | 'mapthread | 202 | 'mapthread |
| 203 | `(lambda (&rest y) (apply ',function x y)) | 203 | `(lambda (&rest y) (apply ',function x y)) |
| 204 | seqrest)) | 204 | seqrest)) |
| 205 | seq1) | 205 | seq1) |
| @@ -225,7 +225,7 @@ FUNCTION will be called 15 times." | |||
| 225 | (funcall f (pop l1) (pop l2)))) | 225 | (funcall f (pop l1) (pop l2)))) |
| 226 | 226 | ||
| 227 | (defun indian--puthash-v (v trans-v hashtbls) | 227 | (defun indian--puthash-v (v trans-v hashtbls) |
| 228 | (indian--map | 228 | (indian--map |
| 229 | (lambda (v trans-v) | 229 | (lambda (v trans-v) |
| 230 | (indian--puthash-char (car v) trans-v hashtbls)) | 230 | (indian--puthash-char (car v) trans-v hashtbls)) |
| 231 | v trans-v)) | 231 | v trans-v)) |
| @@ -253,7 +253,7 @@ FUNCTION will be called 15 times." | |||
| 253 | (setq v (if (char-valid-p (cadr v)) (char-to-string (cadr v)) "")) | 253 | (setq v (if (char-valid-p (cadr v)) (char-to-string (cadr v)) "")) |
| 254 | (if (stringp trans-c) (setq trans-c (list trans-c))) | 254 | (if (stringp trans-c) (setq trans-c (list trans-c))) |
| 255 | (if (stringp trans-v) (setq trans-v (list trans-v))) | 255 | (if (stringp trans-v) (setq trans-v (list trans-v))) |
| 256 | (indian--puthash-char | 256 | (indian--puthash-char |
| 257 | (concat c v) | 257 | (concat c v) |
| 258 | (apply 'append | 258 | (apply 'append |
| 259 | (mapthread 'concat trans-c trans-v)) | 259 | (mapthread 'concat trans-c trans-v)) |
| @@ -277,7 +277,7 @@ FUNCTION will be called 15 times." | |||
| 277 | (trans-digits '("0" "1" "2" "3" "4" "5" "6" "7" "8" "9"))) | 277 | (trans-digits '("0" "1" "2" "3" "4" "5" "6" "7" "8" "9"))) |
| 278 | (indian--puthash-v vowels trans-vowels hashtbls) | 278 | (indian--puthash-v vowels trans-vowels hashtbls) |
| 279 | (indian--puthash-c consonants trans-consonants halant hashtbls) | 279 | (indian--puthash-c consonants trans-consonants halant hashtbls) |
| 280 | (indian--puthash-cv consonants trans-consonants | 280 | (indian--puthash-cv consonants trans-consonants |
| 281 | vowels trans-vowels hashtbls) | 281 | vowels trans-vowels hashtbls) |
| 282 | (indian--puthash-m misc trans-misc hashtbls) | 282 | (indian--puthash-m misc trans-misc hashtbls) |
| 283 | (indian--puthash-m digits trans-digits hashtbls) | 283 | (indian--puthash-m digits trans-digits hashtbls) |
| @@ -298,13 +298,13 @@ FUNCTION will be called 15 times." | |||
| 298 | (defmacro indian-translate-region (from to hashtable encode-p) | 298 | (defmacro indian-translate-region (from to hashtable encode-p) |
| 299 | `(save-excursion | 299 | `(save-excursion |
| 300 | (save-restriction | 300 | (save-restriction |
| 301 | (let ((regexp ,(indian-regexp-of-hashtbl-keys | 301 | (let ((regexp ,(indian-regexp-of-hashtbl-keys |
| 302 | (if encode-p (car (eval hashtable)) | 302 | (if encode-p (car (eval hashtable)) |
| 303 | (cdr (eval hashtable)))))) | 303 | (cdr (eval hashtable)))))) |
| 304 | (narrow-to-region from to) | 304 | (narrow-to-region from to) |
| 305 | (goto-char (point-min)) | 305 | (goto-char (point-min)) |
| 306 | (while (re-search-forward regexp nil t) | 306 | (while (re-search-forward regexp nil t) |
| 307 | (let ((matchstr (gethash (match-string 0) | 307 | (let ((matchstr (gethash (match-string 0) |
| 308 | (if ,encode-p | 308 | (if ,encode-p |
| 309 | (car ,hashtable) | 309 | (car ,hashtable) |
| 310 | (cdr ,hashtable))))) | 310 | (cdr ,hashtable))))) |
| @@ -314,7 +314,7 @@ FUNCTION will be called 15 times." | |||
| 314 | 314 | ||
| 315 | (defun indian-dev-itrans-v5-encode-region (from to) | 315 | (defun indian-dev-itrans-v5-encode-region (from to) |
| 316 | (interactive "r") | 316 | (interactive "r") |
| 317 | (indian-translate-region | 317 | (indian-translate-region |
| 318 | from to indian-dev-itrans-v5-hash t)) | 318 | from to indian-dev-itrans-v5-hash t)) |
| 319 | 319 | ||
| 320 | (defun indian-dev-itrans-v5-decode-region (from to) | 320 | (defun indian-dev-itrans-v5-decode-region (from to) |
| @@ -324,7 +324,7 @@ FUNCTION will be called 15 times." | |||
| 324 | 324 | ||
| 325 | (defun indian-dev-kyoto-harvard-encode-region (from to) | 325 | (defun indian-dev-kyoto-harvard-encode-region (from to) |
| 326 | (interactive "r") | 326 | (interactive "r") |
| 327 | (indian-translate-region | 327 | (indian-translate-region |
| 328 | from to indian-dev-kyoto-harvard-hash t)) | 328 | from to indian-dev-kyoto-harvard-hash t)) |
| 329 | 329 | ||
| 330 | (defun indian-dev-kyoto-harvard-decode-region (from to) | 330 | (defun indian-dev-kyoto-harvard-decode-region (from to) |
| @@ -334,7 +334,7 @@ FUNCTION will be called 15 times." | |||
| 334 | 334 | ||
| 335 | (defun indian-dev-aiba-encode-region (from to) | 335 | (defun indian-dev-aiba-encode-region (from to) |
| 336 | (interactive "r") | 336 | (interactive "r") |
| 337 | (indian-translate-region | 337 | (indian-translate-region |
| 338 | from to indian-dev-aiba-hash t)) | 338 | from to indian-dev-aiba-hash t)) |
| 339 | 339 | ||
| 340 | (defun indian-dev-aiba-decode-region (from to) | 340 | (defun indian-dev-aiba-decode-region (from to) |
| @@ -525,18 +525,18 @@ FUNCTION will be called 15 times." | |||
| 525 | (defvar is13194-to-ucs-malayalam-hashtbl nil) | 525 | (defvar is13194-to-ucs-malayalam-hashtbl nil) |
| 526 | (defvar is13194-to-ucs-malayalam-regexp nil) | 526 | (defvar is13194-to-ucs-malayalam-regexp nil) |
| 527 | 527 | ||
| 528 | (mapc | 528 | (mapc |
| 529 | (function (lambda (script) | 529 | (function (lambda (script) |
| 530 | (let ((hashtable (intern (concat "is13194-to-ucs-" | 530 | (let ((hashtable (intern (concat "is13194-to-ucs-" |
| 531 | (symbol-name script) "-hashtbl" ))) | 531 | (symbol-name script) "-hashtbl" ))) |
| 532 | (regexp (intern (concat "is13194-to-ucs-" | 532 | (regexp (intern (concat "is13194-to-ucs-" |
| 533 | (symbol-name script) "-regexp")))) | 533 | (symbol-name script) "-regexp")))) |
| 534 | (set hashtable (make-hash-table :test 'equal :size 128)) | 534 | (set hashtable (make-hash-table :test 'equal :size 128)) |
| 535 | (mapc | 535 | (mapc |
| 536 | (function (lambda (x) | 536 | (function (lambda (x) |
| 537 | (put-char-code-property (decode-char 'ucs (car x)) | 537 | (put-char-code-property (decode-char 'ucs (car x)) |
| 538 | 'script script) | 538 | 'script script) |
| 539 | (put-char-code-property (decode-char 'ucs (car x)) | 539 | (put-char-code-property (decode-char 'ucs (car x)) |
| 540 | 'iscii (cdr x)) | 540 | 'iscii (cdr x)) |
| 541 | (puthash (cdr x) (char-to-string (decode-char 'ucs (car x))) | 541 | (puthash (cdr x) (char-to-string (decode-char 'ucs (car x))) |
| 542 | (eval hashtable)))) | 542 | (eval hashtable)))) |
| @@ -553,7 +553,7 @@ FUNCTION will be called 15 times." | |||
| 553 | "Regexp that matches to conversion") | 553 | "Regexp that matches to conversion") |
| 554 | 554 | ||
| 555 | (defun ucs-to-iscii-region (from to) | 555 | (defun ucs-to-iscii-region (from to) |
| 556 | "Converts the indian UCS characters in the region to ISCII. | 556 | "Converts the indian UCS characters in the region to ISCII. |
| 557 | Returns new end position." | 557 | Returns new end position." |
| 558 | (interactive "r") | 558 | (interactive "r") |
| 559 | ;; only Devanagari is supported now. | 559 | ;; only Devanagari is supported now. |
| @@ -563,13 +563,13 @@ Returns new end position." | |||
| 563 | (goto-char (point-min)) | 563 | (goto-char (point-min)) |
| 564 | (let* ((current-repertory is13194-default-repartory)) | 564 | (let* ((current-repertory is13194-default-repartory)) |
| 565 | (while (re-search-forward ucs-to-is13194-regexp nil t) | 565 | (while (re-search-forward ucs-to-is13194-regexp nil t) |
| 566 | (replace-match | 566 | (replace-match |
| 567 | (get-char-code-property (string-to-char (match-string 0)) | 567 | (get-char-code-property (string-to-char (match-string 0)) |
| 568 | 'iscii)))) | 568 | 'iscii)))) |
| 569 | (point-max)))) | 569 | (point-max)))) |
| 570 | 570 | ||
| 571 | (defun iscii-to-ucs-region (from to) | 571 | (defun iscii-to-ucs-region (from to) |
| 572 | "Converts the ISCII characters in the region to UCS. | 572 | "Converts the ISCII characters in the region to UCS. |
| 573 | Returns new end position." | 573 | Returns new end position." |
| 574 | (interactive "r") | 574 | (interactive "r") |
| 575 | ;; only Devanagari is supported now. | 575 | ;; only Devanagari is supported now. |
| @@ -579,13 +579,13 @@ Returns new end position." | |||
| 579 | (goto-char (point-min)) | 579 | (goto-char (point-min)) |
| 580 | (let* ((current-repertory is13194-default-repartory) | 580 | (let* ((current-repertory is13194-default-repartory) |
| 581 | (current-hashtable | 581 | (current-hashtable |
| 582 | (intern (concat "is13194-to-ucs-" | 582 | (intern (concat "is13194-to-ucs-" |
| 583 | (symbol-name current-repertory) "-hashtbl"))) | 583 | (symbol-name current-repertory) "-hashtbl"))) |
| 584 | (current-regexp | 584 | (current-regexp |
| 585 | (intern (concat "is13194-to-ucs-" | 585 | (intern (concat "is13194-to-ucs-" |
| 586 | (symbol-name current-repertory) "-regexp")))) | 586 | (symbol-name current-repertory) "-regexp")))) |
| 587 | (while (re-search-forward (eval current-regexp) nil t) | 587 | (while (re-search-forward (eval current-regexp) nil t) |
| 588 | (replace-match | 588 | (replace-match |
| 589 | (gethash (match-string 0) (eval current-hashtable) "")))) | 589 | (gethash (match-string 0) (eval current-hashtable) "")))) |
| 590 | (point-max)))) | 590 | (point-max)))) |
| 591 | 591 | ||
| @@ -603,7 +603,7 @@ Returns new end position." | |||
| 603 | 603 | ||
| 604 | ;;;###autoload | 604 | ;;;###autoload |
| 605 | (defun indian-compose-string (string) | 605 | (defun indian-compose-string (string) |
| 606 | (with-temp-buffer | 606 | (with-temp-buffer |
| 607 | (insert string) | 607 | (insert string) |
| 608 | (indian-compose-region (point-min) (point-max)) | 608 | (indian-compose-region (point-min) (point-max)) |
| 609 | (buffer-string))) | 609 | (buffer-string))) |
| @@ -1029,7 +1029,7 @@ See also the function `indian-glyph-char'." | |||
| 1029 | (error "Invalid indian-glyph char: %d" char)) | 1029 | (error "Invalid indian-glyph char: %d" char)) |
| 1030 | (setq code (+ (* (- (nth 1 split) 32) 96) (nth 2 split) -32)) | 1030 | (setq code (+ (* (- (nth 1 split) 32) 96) (nth 2 split) -32)) |
| 1031 | (cons (% code 256) (aref indian-script-table (/ code 256))))) | 1031 | (cons (% code 256) (aref indian-script-table (/ code 256))))) |
| 1032 | 1032 | ||
| 1033 | (provide 'ind-util) | 1033 | (provide 'ind-util) |
| 1034 | 1034 | ||
| 1035 | ;;; ind-util.el ends here | 1035 | ;;; ind-util.el ends here |
diff --git a/lisp/language/japan-util.el b/lisp/language/japan-util.el index 465477c6550..97554d1c0de 100644 --- a/lisp/language/japan-util.el +++ b/lisp/language/japan-util.el | |||
| @@ -135,7 +135,7 @@ belongs to `japanese-jisx0201-kana'.") | |||
| 135 | (defconst japanese-alpha-numeric-table | 135 | (defconst japanese-alpha-numeric-table |
| 136 | '((?$B#0(B . ?0) (?$B#1(B . ?1) (?$B#2(B . ?2) (?$B#3(B . ?3) (?$B#4(B . ?4) | 136 | '((?$B#0(B . ?0) (?$B#1(B . ?1) (?$B#2(B . ?2) (?$B#3(B . ?3) (?$B#4(B . ?4) |
| 137 | (?$B#5(B . ?5) (?$B#6(B . ?6) (?$B#7(B . ?7) (?$B#8(B . ?8) (?$B#9(B . ?9) | 137 | (?$B#5(B . ?5) (?$B#6(B . ?6) (?$B#7(B . ?7) (?$B#8(B . ?8) (?$B#9(B . ?9) |
| 138 | (?$B#A(B . ?A) (?$B#B(B . ?B) (?$B#C(B . ?C) (?$B#D(B . ?D) (?$B#E(B . ?E) | 138 | (?$B#A(B . ?A) (?$B#B(B . ?B) (?$B#C(B . ?C) (?$B#D(B . ?D) (?$B#E(B . ?E) |
| 139 | (?$B#F(B . ?F) (?$B#G(B . ?G) (?$B#H(B . ?H) (?$B#I(B . ?I) (?$B#J(B . ?J) | 139 | (?$B#F(B . ?F) (?$B#G(B . ?G) (?$B#H(B . ?H) (?$B#I(B . ?I) (?$B#J(B . ?J) |
| 140 | (?$B#K(B . ?K) (?$B#L(B . ?L) (?$B#M(B . ?M) (?$B#N(B . ?N) (?$B#O(B . ?O) | 140 | (?$B#K(B . ?K) (?$B#L(B . ?L) (?$B#M(B . ?M) (?$B#N(B . ?N) (?$B#O(B . ?O) |
| 141 | (?$B#P(B . ?P) (?$B#Q(B . ?Q) (?$B#R(B . ?R) (?$B#S(B . ?S) (?$B#T(B . ?T) | 141 | (?$B#P(B . ?P) (?$B#Q(B . ?Q) (?$B#R(B . ?R) (?$B#S(B . ?S) (?$B#T(B . ?T) |
diff --git a/lisp/language/lao-util.el b/lisp/language/lao-util.el index 0f8d472bdde..7105ae1beb6 100644 --- a/lisp/language/lao-util.el +++ b/lisp/language/lao-util.el | |||
| @@ -86,7 +86,7 @@ | |||
| 86 | (?(1Q(B vowel-upper "VOWEL SIGN MAI KAN") | 86 | (?(1Q(B vowel-upper "VOWEL SIGN MAI KAN") |
| 87 | (?(1R(B vowel-base "VOWEL SIGN SARA AR") | 87 | (?(1R(B vowel-base "VOWEL SIGN SARA AR") |
| 88 | (?(1S(B vowel-base "VOWEL SIGN SARA AM") | 88 | (?(1S(B vowel-base "VOWEL SIGN SARA AM") |
| 89 | (?(1T(B vowel-upper "VOWEL SIGN SARA I") | 89 | (?(1T(B vowel-upper "VOWEL SIGN SARA I") |
| 90 | (?(1U(B vowel-upper "VOWEL SIGN SARA II") | 90 | (?(1U(B vowel-upper "VOWEL SIGN SARA II") |
| 91 | (?(1V(B vowel-upper "VOWEL SIGN SARA EU") | 91 | (?(1V(B vowel-upper "VOWEL SIGN SARA EU") |
| 92 | (?(1W(B vowel-upper "VOWEL SIGN SARA UR") | 92 | (?(1W(B vowel-upper "VOWEL SIGN SARA UR") |
| @@ -104,7 +104,7 @@ | |||
| 104 | (?(1c(B vowel-base "VOWEL SIGN SARA EI MAI MUAN\"") | 104 | (?(1c(B vowel-base "VOWEL SIGN SARA EI MAI MUAN\"") |
| 105 | (?(1d(B vowel-base "VOWEL SIGN SARA AI MAI MAY") | 105 | (?(1d(B vowel-base "VOWEL SIGN SARA AI MAI MAY") |
| 106 | (?(1e(B invalid nil) | 106 | (?(1e(B invalid nil) |
| 107 | (?(1f(B special "KO LA (REPETITION)") | 107 | (?(1f(B special "KO LA (REPETITION)") |
| 108 | (?(1g(B invalid nil) | 108 | (?(1g(B invalid nil) |
| 109 | (?(1h(B tone "TONE MAI EK") | 109 | (?(1h(B tone "TONE MAI EK") |
| 110 | (?(1i(B tone "TONE MAI THO") | 110 | (?(1i(B tone "TONE MAI THO") |
| @@ -162,7 +162,7 @@ | |||
| 162 | (?$,1DQ(B vowel-upper "VOWEL SIGN MAI KAN") | 162 | (?$,1DQ(B vowel-upper "VOWEL SIGN MAI KAN") |
| 163 | (?$,1DR(B vowel-base "VOWEL SIGN SARA AR") | 163 | (?$,1DR(B vowel-base "VOWEL SIGN SARA AR") |
| 164 | (?$,1DS(B vowel-base "VOWEL SIGN SARA AM") | 164 | (?$,1DS(B vowel-base "VOWEL SIGN SARA AM") |
| 165 | (?$,1DT(B vowel-upper "VOWEL SIGN SARA I") | 165 | (?$,1DT(B vowel-upper "VOWEL SIGN SARA I") |
| 166 | (?$,1DU(B vowel-upper "VOWEL SIGN SARA II") | 166 | (?$,1DU(B vowel-upper "VOWEL SIGN SARA II") |
| 167 | (?$,1DV(B vowel-upper "VOWEL SIGN SARA EU") | 167 | (?$,1DV(B vowel-upper "VOWEL SIGN SARA EU") |
| 168 | (?$,1DW(B vowel-upper "VOWEL SIGN SARA UR") | 168 | (?$,1DW(B vowel-upper "VOWEL SIGN SARA UR") |
diff --git a/lisp/language/thai-util.el b/lisp/language/thai-util.el index bbf116485ea..58588f974d7 100644 --- a/lisp/language/thai-util.el +++ b/lisp/language/thai-util.el | |||
| @@ -265,7 +265,7 @@ positions (integers or markers) specifying the region." | |||
| 265 | (compose-string string idx (match-end 0)) | 265 | (compose-string string idx (match-end 0)) |
| 266 | (setq idx (match-end 0))))) | 266 | (setq idx (match-end 0))))) |
| 267 | string) | 267 | string) |
| 268 | 268 | ||
| 269 | ;;;###autoload | 269 | ;;;###autoload |
| 270 | (defun thai-compose-buffer () | 270 | (defun thai-compose-buffer () |
| 271 | "Compose Thai characters in the current buffer." | 271 | "Compose Thai characters in the current buffer." |
diff --git a/lisp/language/thai.el b/lisp/language/thai.el index 1c1909976a5..f822e93bd1b 100644 --- a/lisp/language/thai.el +++ b/lisp/language/thai.el | |||
| @@ -50,7 +50,7 @@ | |||
| 50 | (input-method . "thai-kesmanee") | 50 | (input-method . "thai-kesmanee") |
| 51 | (unibyte-display . thai-tis620) | 51 | (unibyte-display . thai-tis620) |
| 52 | (features thai-util) | 52 | (features thai-util) |
| 53 | (sample-text | 53 | (sample-text |
| 54 | . (thai-compose-string | 54 | . (thai-compose-string |
| 55 | (copy-sequence "Thai (,T@RIRd7B(B) ,TJ0GQ1J04U1$0CQ1:(B, ,TJ0GQ1J04U10$h1P(B"))) | 55 | (copy-sequence "Thai (,T@RIRd7B(B) ,TJ0GQ1J04U1$0CQ1:(B, ,TJ0GQ1J04U10$h1P(B"))) |
| 56 | (documentation . t))) | 56 | (documentation . t))) |
diff --git a/lisp/language/tibet-util.el b/lisp/language/tibet-util.el index 14987e22663..2336b988fd0 100644 --- a/lisp/language/tibet-util.el +++ b/lisp/language/tibet-util.el | |||
| @@ -163,7 +163,7 @@ The returned string has no composition information." | |||
| 163 | ;; If 'a follows a consonant, turn it into the subjoined form. | 163 | ;; If 'a follows a consonant, turn it into the subjoined form. |
| 164 | ;; * Disabled by Tomabechi 2000/06/09 * | 164 | ;; * Disabled by Tomabechi 2000/06/09 * |
| 165 | ;; Because in Unicode, $(7"A(B may follow directly a consonant without | 165 | ;; Because in Unicode, $(7"A(B may follow directly a consonant without |
| 166 | ;; any intervening vowel, as in 4$(7"90"914""0"""Q14"A0"A1!;(B=4$(7"90"91(B 4$(7""0""1(B 4$(7"A0"A1(B not 4$(7"90"91(B 4$(7""0""1(B $(7"Q(B 4$(7"A0"A1(B | 166 | ;; any intervening vowel, as in 4$(7"90"914""0"""Q14"A0"A1!;(B=4$(7"90"91(B 4$(7""0""1(B 4$(7"A0"A1(B not 4$(7"90"91(B 4$(7""0""1(B $(7"Q(B 4$(7"A0"A1(B |
| 167 | ;;(if (and (= char ?$(7"A(B) | 167 | ;;(if (and (= char ?$(7"A(B) |
| 168 | ;; (aref (char-category-set (car last)) ?0)) | 168 | ;; (aref (char-category-set (car last)) ?0)) |
| 169 | ;; (setq char ?$(7"R(B)) ;; modified for new font by Tomabechi 1999/12/10 | 169 | ;; (setq char ?$(7"R(B)) ;; modified for new font by Tomabechi 1999/12/10 |
| @@ -370,7 +370,7 @@ See also docstring of the function tibetan-compose-region." | |||
| 370 | 370 | ||
| 371 | ;;; | 371 | ;;; |
| 372 | ;;; Unicode-related definitions. | 372 | ;;; Unicode-related definitions. |
| 373 | ;;; | 373 | ;;; |
| 374 | 374 | ||
| 375 | (defvar tibetan-canonicalize-for-unicode-alist | 375 | (defvar tibetan-canonicalize-for-unicode-alist |
| 376 | '(("$(7"Q(B" . "") ;; remove vowel a | 376 | '(("$(7"Q(B" . "") ;; remove vowel a |
diff --git a/lisp/language/tibetan.el b/lisp/language/tibetan.el index e85f4132124..3ca1da9d839 100644 --- a/lisp/language/tibetan.el +++ b/lisp/language/tibetan.el | |||
| @@ -27,7 +27,7 @@ | |||
| 27 | ;; Created: Feb. 17. 1997 | 27 | ;; Created: Feb. 17. 1997 |
| 28 | 28 | ||
| 29 | ;; History: | 29 | ;; History: |
| 30 | ;; 1997.03.13 Modification for special signs and punctuations. | 30 | ;; 1997.03.13 Modification for special signs and punctuations. |
| 31 | 31 | ||
| 32 | ;;; Commentary: | 32 | ;;; Commentary: |
| 33 | 33 | ||
| @@ -55,7 +55,7 @@ | |||
| 55 | ;;;2260 $(7"`(B $(7"a(B $(7"b(B $(7"c(B $(7"d(B $(7"e(B $(7"f(B $(7"g(B $(7"h(B $(7"i(B $(7"j(B $(7"k(B $(7"l(B $(7"m(B $(7"n(B $(7"o(B ; Long vowels and | 55 | ;;;2260 $(7"`(B $(7"a(B $(7"b(B $(7"c(B $(7"d(B $(7"e(B $(7"f(B $(7"g(B $(7"h(B $(7"i(B $(7"j(B $(7"k(B $(7"l(B $(7"m(B $(7"n(B $(7"o(B ; Long vowels and |
| 56 | ;;;2270 $(7"p(B $(7"q(B $(7"r(B $(7"s(B $(7"t(B $(7"u(B $(7"v(B $(7"w(B $(7"x(B $(7"y(B $(7"z(B $(7"{(B $(7"|(B $(7"}(B $(7"~(B // ; vocalic r, l ARE | 56 | ;;;2270 $(7"p(B $(7"q(B $(7"r(B $(7"s(B $(7"t(B $(7"u(B $(7"v(B $(7"w(B $(7"x(B $(7"y(B $(7"z(B $(7"{(B $(7"|(B $(7"}(B $(7"~(B // ; vocalic r, l ARE |
| 57 | ;;; ; atomically | 57 | ;;; ; atomically |
| 58 | ;;; ; encoded. | 58 | ;;; ; encoded. |
| 59 | ;;; 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F | 59 | ;;; 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F |
| 60 | ;;;2320 // $(7#!(B $(7#"(B $(7##(B $(7#$(B $(7#%(B $(7#&(B $(7#'(B $(7#((B $(7#)(B $(7#*(B $(7#+(B $(7#,(B $(7#-(B $(7#.(B $(7#/(B ; Subjoined consonants | 60 | ;;;2320 // $(7#!(B $(7#"(B $(7##(B $(7#$(B $(7#%(B $(7#&(B $(7#'(B $(7#((B $(7#)(B $(7#*(B $(7#+(B $(7#,(B $(7#-(B $(7#.(B $(7#/(B ; Subjoined consonants |
| 61 | ;;;2330 $(7#0(B $(7#1(B $(7#2(B $(7#3(B $(7#4(B $(7#5(B $(7#6(B $(7#7(B $(7#8(B $(7#9(B $(7#:(B $(7#;(B $(7#<(B $(7#=(B $(7#>(B $(7#?(B ; | 61 | ;;;2330 $(7#0(B $(7#1(B $(7#2(B $(7#3(B $(7#4(B $(7#5(B $(7#6(B $(7#7(B $(7#8(B $(7#9(B $(7#:(B $(7#;(B $(7#<(B $(7#=(B $(7#>(B $(7#?(B ; |
| @@ -69,7 +69,7 @@ | |||
| 69 | ;;;2430 $(7$0(B $(7$1(B $(7$2(B $(7$3(B $(7$4(B $(7$5(B $(7$6(B $(7$7(B $(7$8(B $(7$9(B $(7$:(B $(7$;(B $(7$<(B $(7$=(B $(7$>(B $(7$?(B ; consonants for | 69 | ;;;2430 $(7$0(B $(7$1(B $(7$2(B $(7$3(B $(7$4(B $(7$5(B $(7$6(B $(7$7(B $(7$8(B $(7$9(B $(7$:(B $(7$;(B $(7$<(B $(7$=(B $(7$>(B $(7$?(B ; consonants for |
| 70 | ;;;2440 $(7$@(B $(7$A(B $(7$B(B $(7$C(B $(7$D(B $(7$E(B $(7$F(B $(7$G(B $(7$H(B $(7$I(B $(7$J(B $(7$K(B $(7$L(B $(7$M(B $(7$N(B $(7$O(B ; ordinary Tibetan. | 70 | ;;;2440 $(7$@(B $(7$A(B $(7$B(B $(7$C(B $(7$D(B $(7$E(B $(7$F(B $(7$G(B $(7$H(B $(7$I(B $(7$J(B $(7$K(B $(7$L(B $(7$M(B $(7$N(B $(7$O(B ; ordinary Tibetan. |
| 71 | ;;;2450 $(7$P(B $(7$Q(B $(7$R(B $(7$S(B $(7$T(B $(7$U(B $(7$V(B $(7$W(B $(7$X(B $(7$Y(B $(7$Z(B $(7$[(B $(7$\(B $(7$](B $(7$^(B $(7$_(B ; They are decomposed | 71 | ;;;2450 $(7$P(B $(7$Q(B $(7$R(B $(7$S(B $(7$T(B $(7$U(B $(7$V(B $(7$W(B $(7$X(B $(7$Y(B $(7$Z(B $(7$[(B $(7$\(B $(7$](B $(7$^(B $(7$_(B ; They are decomposed |
| 72 | ;;;2460 $(7$`(B $(7$a(B $(7$b(B $(7$c(B $(7$d(B $(7$e(B $(7$f(B $(7$g(B $(7$h(B $(7$i(B $(7$j(B $(7$k(B $(7$l(B $(7$m(B $(7$n(B $(7$o(B ; into base and | 72 | ;;;2460 $(7$`(B $(7$a(B $(7$b(B $(7$c(B $(7$d(B $(7$e(B $(7$f(B $(7$g(B $(7$h(B $(7$i(B $(7$j(B $(7$k(B $(7$l(B $(7$m(B $(7$n(B $(7$o(B ; into base and |
| 73 | ;;;2470 $(7$p(B $(7$q(B $(7$r(B $(7$s(B $(7$t(B $(7$u(B $(7$v(B $(7$w(B $(7$x(B $(7$y(B $(7$z(B $(7${(B $(7$|(B $(7$}(B $(7$~(B // ; subjoined consonants | 73 | ;;;2470 $(7$p(B $(7$q(B $(7$r(B $(7$s(B $(7$t(B $(7$u(B $(7$v(B $(7$w(B $(7$x(B $(7$y(B $(7$z(B $(7${(B $(7$|(B $(7$}(B $(7$~(B // ; subjoined consonants |
| 74 | ;;; ; when written on a | 74 | ;;; ; when written on a |
| 75 | ;;; 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F ; file in Tibetan | 75 | ;;; 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F ; file in Tibetan |
| @@ -100,7 +100,7 @@ | |||
| 100 | (input-method . "tibetan-wylie") | 100 | (input-method . "tibetan-wylie") |
| 101 | (features tibet-util) | 101 | (features tibet-util) |
| 102 | (documentation . t) | 102 | (documentation . t) |
| 103 | (sample-text | 103 | (sample-text |
| 104 | . (tibetan-compose-string | 104 | . (tibetan-compose-string |
| 105 | (copy-sequence | 105 | (copy-sequence |
| 106 | "Tibetan (4$(7"7r'"]0"7"]14"20"21!;4%P0"G#!"Q14"20"21!;(B) $(7!4!5!5!>4"70"714$P0"!#C"Q1!;4"Er'"S0"E"S14"G0"G1!;4"70"714"2r'"[0"2"[1!;4"Dr'"[0"D"[14"#0"#14"G0"G1!>4"Ir'"]r'"_0"I"]"_1!;4"90"9"Q1!;4"/r'"S0"/"S1!;4"50"5"Q14#2x!#9r'"[0"2#9"[1!;4"Hx!"Rx!"Ur'"c0"H"A"U"c1!>(B"))))) | 106 | "Tibetan (4$(7"7r'"]0"7"]14"20"21!;4%P0"G#!"Q14"20"21!;(B) $(7!4!5!5!>4"70"714$P0"!#C"Q1!;4"Er'"S0"E"S14"G0"G1!;4"70"714"2r'"[0"2"[1!;4"Dr'"[0"D"[14"#0"#14"G0"G1!>4"Ir'"]r'"_0"I"]"_1!;4"90"9"Q1!;4"/r'"S0"/"S1!;4"50"5"Q14#2x!#9r'"[0"2#9"[1!;4"Hx!"Rx!"Ur'"c0"H"A"U"c1!>(B"))))) |
diff --git a/lisp/language/vietnamese.el b/lisp/language/vietnamese.el index aa1c71a8191..b3f09b9d5e9 100644 --- a/lisp/language/vietnamese.el +++ b/lisp/language/vietnamese.el | |||
| @@ -38,7 +38,7 @@ | |||
| 38 | 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 | 38 | 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 |
| 39 | 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 | 39 | 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 |
| 40 | 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 | 40 | 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 |
| 41 | 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 | 41 | 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 |
| 42 | ?,2U(B ?,2!(B ?,2"(B ?,2#(B ?,2$(B ?,2%(B ?,2&(B ?,2'(B ?,2((B ?,2)(B ?,2*(B ?,2+(B ?,2,(B ?,2-(B ?,2.(B ?,2/(B | 42 | ?,2U(B ?,2!(B ?,2"(B ?,2#(B ?,2$(B ?,2%(B ?,2&(B ?,2'(B ?,2((B ?,2)(B ?,2*(B ?,2+(B ?,2,(B ?,2-(B ?,2.(B ?,2/(B |
| 43 | ?,20(B ?,21(B ?,22(B ?,25(B ?,2~(B ?,2>(B ?,26(B ?,27(B ?,28(B ?,2v(B ?,2w(B ?,2o(B ?,2|(B ?,2{(B ?,2x(B ?,2O(B | 43 | ?,20(B ?,21(B ?,22(B ?,25(B ?,2~(B ?,2>(B ?,26(B ?,27(B ?,28(B ?,2v(B ?,2w(B ?,2o(B ?,2|(B ?,2{(B ?,2x(B ?,2O(B |
| 44 | ?,2u(B ?,1!(B ?,1"(B ?,1#(B ?,1$(B ?,1%(B ?,1&(B ?,1'(B ?,1((B ?,1)(B ?,1*(B ?,1+(B ?,1,(B ?,1-(B ?,1.(B ?,1/(B | 44 | ?,2u(B ?,1!(B ?,1"(B ?,1#(B ?,1$(B ?,1%(B ?,1&(B ?,1'(B ?,1((B ?,1)(B ?,1*(B ?,1+(B ?,1,(B ?,1-(B ?,1.(B ?,1/(B |
| @@ -66,7 +66,7 @@ | |||
| 66 | 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 | 66 | 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 |
| 67 | 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 | 67 | 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 |
| 68 | 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 | 68 | 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 |
| 69 | 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 | 69 | 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 |
| 70 | ?,2`(B ?,2d(B ?,2c(B ?,2a(B ?,2U(B ?,2#(B ?,2'(B ?,2h(B ?,2k(B ?,2((B ?,2i(B ?,2)(B ?,2.(B ?,2l(B ?,2o(B ?,2n(B | 70 | ?,2`(B ?,2d(B ?,2c(B ?,2a(B ?,2U(B ?,2#(B ?,2'(B ?,2h(B ?,2k(B ?,2((B ?,2i(B ?,2)(B ?,2.(B ?,2l(B ?,2o(B ?,2n(B |
| 71 | ?,2m(B ?,28(B ?,2r(B ?,2v(B ?,2u(B ?,2s(B ?,2w(B ?,25(B ?,26(B ?,27(B ?,2^(B ?,2>(B ?,2~(B ?,2y(B ?,2|(B ?,2{(B | 71 | ?,2m(B ?,28(B ?,2r(B ?,2v(B ?,2u(B ?,2s(B ?,2w(B ?,25(B ?,26(B ?,27(B ?,2^(B ?,2>(B ?,2~(B ?,2y(B ?,2|(B ?,2{(B |
| 72 | 160 ?,2e(B ?,2b(B ?,2j(B ?,2t(B ?,2=(B ?,2_(B ?,2p(B ?,1e(B ?,1b(B ?,1j(B ?,1t(B ?,1=(B ?,1y(B ?,1p(B ?,2"(B | 72 | 160 ?,2e(B ?,2b(B ?,2j(B ?,2t(B ?,2=(B ?,2_(B ?,2p(B ?,1e(B ?,1b(B ?,1j(B ?,1t(B ?,1=(B ?,1y(B ?,1p(B ?,2"(B |
| @@ -92,7 +92,7 @@ | |||
| 92 | 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 | 92 | 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 |
| 93 | 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 | 93 | 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 |
| 94 | 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 | 94 | 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 |
| 95 | 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 | 95 | 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 |
| 96 | ?,2`(B ?,2d(B ?,2c(B ?,2a(B ?,2U(B ?,2#(B ?,2'(B ?,2h(B ?,2k(B ?,2((B ?,2i(B ?,2)(B ?,2.(B ?,2l(B ?,2o(B ?,2n(B | 96 | ?,2`(B ?,2d(B ?,2c(B ?,2a(B ?,2U(B ?,2#(B ?,2'(B ?,2h(B ?,2k(B ?,2((B ?,2i(B ?,2)(B ?,2.(B ?,2l(B ?,2o(B ?,2n(B |
| 97 | ?,2m(B ?,28(B ?,2r(B ?,2v(B ?,2u(B ?,2s(B ?,2w(B ?,25(B ?,26(B ?,27(B ?,2^(B ?,2>(B ?,2~(B ?,2y(B ?,2|(B ?,2{(B | 97 | ?,2m(B ?,28(B ?,2r(B ?,2v(B ?,2u(B ?,2s(B ?,2w(B ?,25(B ?,26(B ?,27(B ?,2^(B ?,2>(B ?,2~(B ?,2y(B ?,2|(B ?,2{(B |
| 98 | 160 ?,2e(B ?,2b(B ?,2j(B ?,2t(B ?,2=(B ?,2_(B ?,2p(B ?,1e(B ?,1b(B ?,1j(B ?,1t(B ?,1=(B ?,1_(B ?,1p(B ?,2"(B | 98 | 160 ?,2e(B ?,2b(B ?,2j(B ?,2t(B ?,2=(B ?,2_(B ?,2p(B ?,1e(B ?,1b(B ?,1j(B ?,1t(B ?,1=(B ?,1_(B ?,1p(B ?,2"(B |
| @@ -127,7 +127,7 @@ | |||
| 127 | ;; ?,1`(B ?,1a(B ?,1b(B ?,1c(B ?,1d(B ?,1U(B ?,1e(B 231 ?,1h(B ?,1i(B ?,1j(B ?,1((B ?,1l(B ?,1m(B 238 ?,1n(B | 127 | ;; ?,1`(B ?,1a(B ?,1b(B ?,1c(B ?,1d(B ?,1U(B ?,1e(B 231 ?,1h(B ?,1i(B ?,1j(B ?,1((B ?,1l(B ?,1m(B 238 ?,1n(B |
| 128 | ;; ?,2G(B ?,2p(B ?,1r(B ?,1s(B ?,1t(B ?,1u(B 246 ?,2=(B ?,1x(B ?,1y(B ?,1z(B ?,1|(B 252 ?,2V(B ?,2((B ?,1O(B] | 128 | ;; ?,2G(B ?,2p(B ?,1r(B ?,1s(B ?,1t(B ?,1u(B 246 ?,2=(B ?,1x(B ?,1y(B ?,1z(B ?,1|(B 252 ?,2V(B ?,2((B ?,1O(B] |
| 129 | ;; "Vietnamese VPS decoding table.") | 129 | ;; "Vietnamese VPS decoding table.") |
| 130 | ;; | 130 | ;; |
| 131 | ;; (let ((table (make-translation-table-from-vector viet-vps-decode-table))) | 131 | ;; (let ((table (make-translation-table-from-vector viet-vps-decode-table))) |
| 132 | ;; (define-translation-table 'viet-vps-nonascii-translation-table table) | 132 | ;; (define-translation-table 'viet-vps-nonascii-translation-table table) |
| 133 | ;; (define-translation-table 'viet-vps-encode-table | 133 | ;; (define-translation-table 'viet-vps-encode-table |
| @@ -220,7 +220,7 @@ | |||
| 220 | ;; (write-multibyte-character r0 r1) | 220 | ;; (write-multibyte-character r0 r1) |
| 221 | ;; (repeat)))) | 221 | ;; (repeat)))) |
| 222 | ;; "CCL program to decode VPS.") | 222 | ;; "CCL program to decode VPS.") |
| 223 | ;; | 223 | ;; |
| 224 | ;; (define-ccl-program ccl-encode-vps | 224 | ;; (define-ccl-program ccl-encode-vps |
| 225 | ;; `(1 | 225 | ;; `(1 |
| 226 | ;; ((loop | 226 | ;; ((loop |
| @@ -228,7 +228,7 @@ | |||
| 228 | ;; (translate-character viet-vps-encode-table r0 r1) | 228 | ;; (translate-character viet-vps-encode-table r0 r1) |
| 229 | ;; (write-repeat r1)))) | 229 | ;; (write-repeat r1)))) |
| 230 | ;; "CCL program to encode VPS.") | 230 | ;; "CCL program to encode VPS.") |
| 231 | ;; | 231 | ;; |
| 232 | ;; (define-ccl-program ccl-encode-vps-font | 232 | ;; (define-ccl-program ccl-encode-vps-font |
| 233 | ;; `(0 | 233 | ;; `(0 |
| 234 | ;; ;; In: R0:vietnamese-viscii-lower/vietnamese-viscii-upper | 234 | ;; ;; In: R0:vietnamese-viscii-lower/vietnamese-viscii-upper |
| @@ -271,7 +271,7 @@ | |||
| 271 | ;; '(ccl-decode-vps . ccl-encode-vps) | 271 | ;; '(ccl-decode-vps . ccl-encode-vps) |
| 272 | ;; '((safe-charsets ascii vietnamese-viscii-lower vietnamese-viscii-upper) | 272 | ;; '((safe-charsets ascii vietnamese-viscii-lower vietnamese-viscii-upper) |
| 273 | ;; (valid-codes (0 . 255)))) | 273 | ;; (valid-codes (0 . 255)))) |
| 274 | ;; | 274 | ;; |
| 275 | ;; (define-coding-system-alias 'vps 'vietnamese-vps) | 275 | ;; (define-coding-system-alias 'vps 'vietnamese-vps) |
| 276 | 276 | ||
| 277 | (make-coding-system | 277 | (make-coding-system |