|
Revision 4220, 2.4 kB
(checked in by miyoshi, 9 months ago)
|
Sync up with Emacs22.2.
|
- Property svn:eol-style set to
LF
|
| Line | |
|---|
| 1 |
|
|---|
| 2 |
|
|---|
| 3 |
|
|---|
| 4 |
|
|---|
| 5 |
|
|---|
| 6 |
|
|---|
| 7 |
|
|---|
| 8 |
|
|---|
| 9 |
|
|---|
| 10 |
|
|---|
| 11 |
|
|---|
| 12 |
|
|---|
| 13 |
|
|---|
| 14 |
|
|---|
| 15 |
|
|---|
| 16 |
|
|---|
| 17 |
|
|---|
| 18 |
|
|---|
| 19 |
|
|---|
| 20 |
|
|---|
| 21 |
|
|---|
| 22 |
|
|---|
| 23 |
|
|---|
| 24 |
|
|---|
| 25 |
|
|---|
| 26 |
|
|---|
| 27 |
|
|---|
| 28 |
|
|---|
| 29 |
|
|---|
| 30 |
|
|---|
| 31 |
|
|---|
| 32 |
|
|---|
| 33 |
(make-coding-system |
|---|
| 34 |
'lao 2 ?L |
|---|
| 35 |
"8-bit encoding for ASCII (MSB=0) and LAO (MSB=1)." |
|---|
| 36 |
'(ascii lao nil nil |
|---|
| 37 |
nil nil nil nil nil nil nil nil nil nil nil t) |
|---|
| 38 |
'((safe-charsets ascii lao) |
|---|
| 39 |
(post-read-conversion . lao-post-read-conversion))) |
|---|
| 40 |
|
|---|
| 41 |
(set-language-info-alist |
|---|
| 42 |
"Lao" '((charset lao) |
|---|
| 43 |
(coding-system lao) |
|---|
| 44 |
(coding-priority lao) |
|---|
| 45 |
(input-method . "lao") |
|---|
| 46 |
(nonascii-translation . lao) |
|---|
| 47 |
(unibyte-display . lao) |
|---|
| 48 |
(features lao-util) |
|---|
| 49 |
(documentation . t))) |
|---|
| 50 |
|
|---|
| 51 |
(aset use-default-ascent ?(1 |
|---|
| 52 |
(aset use-default-ascent ?$,1D |
|---|
| 53 |
(aset use-default-ascent ?(1=(B t) |
|---|
| 54 |
(aset use-default-ascent ?$,1D=(B t) |
|---|
| 55 |
(aset use-default-ascent ?(1?(B t) |
|---|
| 56 |
(aset use-default-ascent ?$,1D?(B t) |
|---|
| 57 |
(aset use-default-ascent ?(1B(B t) |
|---|
| 58 |
(aset use-default-ascent ?$,1DB(B t) |
|---|
| 59 |
(aset ignore-relative-composition ?(1\(B t) |
|---|
| 60 |
(aset ignore-relative-composition ?$,1D\(B t) |
|---|
| 61 |
|
|---|
| 62 |
|
|---|
| 63 |
(let ((patterns '(("\\c0\\c9?\\(\\(\\c2\\|\\c3\\)\\c4?\\|\\c4\\)?" |
|---|
| 64 |
. lao-composition-function)))) |
|---|
| 65 |
(aset composition-function-table (make-char 'lao) patterns) |
|---|
| 66 |
(dotimes (i (1+ (- #xeff #xe80))) |
|---|
| 67 |
(aset composition-function-table (decode-char 'ucs (+ i #xe80)) patterns))) |
|---|
| 68 |
|
|---|
| 69 |
(provide 'lao) |
|---|
| 70 |
|
|---|
| 71 |
|
|---|
| 72 |
|
|---|
| 73 |
|
|---|