(INPUT_METHOD): Change bopo-kbd.mim to
[m17n/m17n-db.git] / global.mim
1 ;; global.mim -- global variable definitions of input methods.
2 ;; Copyright (C) 2006
3 ;;   National Institute of Advanced Industrial Science and Technology (AIST)
4 ;;   Registration Number H15PRO112
5
6 ;; This file is part of the m17n library.
7
8 ;; The m17n library is free software; you can redistribute it and/or
9 ;; modify it under the terms of the GNU Lesser General Public License
10 ;; as published by the Free Software Foundation; either version 2.1 of
11 ;; the License, or (at your option) any later version.
12
13 ;; The m17n library is distributed in the hope that it will be useful,
14 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
15 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
16 ;; Lesser General Public License for more details.
17
18 ;; You should have received a copy of the GNU Lesser General Public
19 ;; License along with the m17n library; if not, write to the Free
20 ;; Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
21 ;; 02111-1307, USA.
22
23 (input-method t nil global)
24
25 (description "Global variable and command definitions.
26 This is actually not an input method, but provides documents,
27 default values of global variables, and default key-bindings of
28 global commands.")
29
30 (variable
31  (candidates-group-size
32   "Maxmum number of candidates in a candidate group.
33 Value must be an integer.
34 If the value is not positive, number of candidates in a group is decided
35 by how candiates are grouped in an input method source file."
36   10)
37
38  (candidates-charset
39   "Character set to limit candidates.
40 Value must be a symbol representing a charater set, or nil.
41 If the value is not nil, a candidate containing a character not belonging
42 to the specified character set is ignored."
43   nil)
44  )
45
46 (command
47  (commit
48   "Commit
49 Commit the preedit text"
50   (Return) (Linefeed))
51  (convert
52   "Convert
53 Convert the preedit text"
54   (\ ) (Henkan))
55  (revert
56   "Revert
57 Revert the conversion"
58   (Escape))
59  (prev-candidate
60   "Previous candidate
61 Spot the previous candidate"
62   (Left) (C-B))
63  (next-candidate
64   "Next candidate
65 Spot the next candidate"
66   (Right) (C-F) (\ ))
67  (first-candidate
68   "First candidate
69 Spot the first candidate in the current group"
70   (C-A))
71  (last-candidate
72   "Last candidate
73 Spot the last candidate in the current group"
74   (C-E))
75  (prev-candidate-group
76   "Previous candidate group
77 Move to the previous candidate group"
78   (Up) (C-P))
79  (next-candidate-group
80   "Next candidate group
81 Move to the next candidate group"
82   (Down) (C-N))
83  (candidate-1
84   "Select the 1st candidate
85 Select the first candidate in the current group"
86   (\1))
87  (candidate-2
88   "Select the 2nd candidate
89 Select the second candidate in the current group"
90   (\2))
91  (candidate-3
92   "Select the 3rd candidate
93 Select the third candidate in the current group"
94   (\3))
95  (candidate-4
96   "Select the 4th candidate
97 Select the fourth candidate in the current group"
98   (\4))
99  (candidate-5
100   "Select the 5th candidate
101 Select the fifth candidate in the current group"
102   (\5))
103  (candidate-6
104   "Select the 6th candidate
105 Select the sixth candidate in the current group"
106   (\6))
107  (candidate-7
108   "Select the 7th candidate
109 Select the seventh candidate in the current group"
110   (\7))
111  (candidate-8
112   "select the 8th candidate
113 Select the eighth candidate in the current group"
114   (\8))
115  (candidate-9
116   "Select the 9th candidate
117 Select the ninth candidate in the current group"
118   (\9))
119  (candidate-10
120   "Select the 10th candidate
121 Select the tenth candidate in the current group"
122   (\0))
123  (prev-char
124   "Previous character
125 Move to the previous character in the preedit text"
126   (Left) (C-B))
127  (next-char
128   "Next character
129 Move to the next character in the preedit text"
130   (Right) (C-F))
131  (first-char
132   "Fist character
133 Move to the first character in the preedit text"
134   (C-A))
135  (last-char
136   "Last character
137 Move to the last character in the preedit text"
138   (C-E))
139  (backward-delete-char
140   "Delete char backward
141 Delete the previous character in the preedit text"
142   (Backspace))
143  (delete-char
144   "Delete char
145 Delete the following character in the preedit text"
146   (Delete))
147  (prev-segment
148   "Previous segment
149 Move to the previous segment in the preedit text"
150   (Left) (C-B))
151  (next-segment
152   "Next segment
153 Move to the next segment in the preedit text"
154   (Right) (C-F))
155  (first-segment
156   "First segment
157 Move to the first segment in the preedit text"
158   (C-A))
159  (last-segment
160   "Last segment
161 Move to the last segment in the preedit text"
162   (C-E))
163  (extend-segment
164   "Extend segment
165 Extend the current segment length to the tail"
166   (S-Right) (C-O))
167  (shrink-segment
168   "Shrink segment
169 Shrink the current segment length from the tail"
170   (S-Left) (C-I))
171  (@reload
172   "Reload input method
173 Reload the input method (and configulation if any) and freshly start it.
174 Note that the length of key-sequence bound for this command must be 1.
175 This is one of special commands reserved by the m17n library, and
176 should not be used in a map of an input method."
177   (M-Return)))
178
179 ;; Local Variables:
180 ;; mode: lisp
181 ;; coding: utf-8
182 ;; End: