|
Revision 4220, 2.7 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 |
|
|---|
| 34 |
|
|---|
| 35 |
(require 'quail) |
|---|
| 36 |
|
|---|
| 37 |
(load "quail/PY") |
|---|
| 38 |
(load "quail/Punct") |
|---|
| 39 |
|
|---|
| 40 |
(quail-define-package |
|---|
| 41 |
"chinese-py-punct" "Chinese-GB" "$AF47{(B" |
|---|
| 42 |
t |
|---|
| 43 |
"$A::WVJdHk(B $AF4Rt7=08(B and `v' for $A1j5c7{:EJdHk(B |
|---|
| 44 |
|
|---|
| 45 |
This is the combination of the input methods `chinese-py' and `chinese-punct'. |
|---|
| 46 |
You can enter normal Chinese characters by the same way as `chinese-py'. |
|---|
| 47 |
And, you can enter symbols by typing `v' followed by any key sequences |
|---|
| 48 |
defined in `chinese-punct'. |
|---|
| 49 |
|
|---|
| 50 |
For instance, typing `v' and `%' insert `$A#%(B'. |
|---|
| 51 |
") |
|---|
| 52 |
|
|---|
| 53 |
(setcar (nthcdr 2 quail-current-package) |
|---|
| 54 |
(copy-sequence (nth 2 (assoc "chinese-py" quail-package-alist)))) |
|---|
| 55 |
|
|---|
| 56 |
(quail-defrule "v" (nth 2 (assoc "chinese-punct" quail-package-alist))) |
|---|
| 57 |
|
|---|
| 58 |
(load "quail/TONEPY") |
|---|
| 59 |
|
|---|
| 60 |
(quail-define-package |
|---|
| 61 |
"chinese-tonepy-punct" "Chinese-GB" "$AF47{(B" |
|---|
| 62 |
t |
|---|
| 63 |
"$A::WVJdHk(B $A4x5wF4Rt7=08(B and `v' for $A1j5c7{:EJdHk(B |
|---|
| 64 |
|
|---|
| 65 |
This is the combination of the input methods `chinese-tonepy' and |
|---|
| 66 |
`chinese-punct'. |
|---|
| 67 |
|
|---|
| 68 |
You can enter normal Chinese characters by the same way as |
|---|
| 69 |
`chinese-tonepy'. And, you can enter symbols by typing `v' followed |
|---|
| 70 |
by any key sequences defined in `chinese-punct'. |
|---|
| 71 |
|
|---|
| 72 |
For instance, typing `v' and `%' insert `$A#%(B'. |
|---|
| 73 |
") |
|---|
| 74 |
|
|---|
| 75 |
(setcar (nthcdr 2 quail-current-package) |
|---|
| 76 |
(copy-sequence (nth 2 (assoc "chinese-tonepy" quail-package-alist)))) |
|---|
| 77 |
|
|---|
| 78 |
(quail-defrule "v" (nth 2 (assoc "chinese-punct" quail-package-alist))) |
|---|
| 79 |
|
|---|
| 80 |
|
|---|
| 81 |
|
|---|
| 82 |
|
|---|