annotate lisp/leim/auto-autoloads.el @ 197:acd284d43ca1 r20-3b25

Import from CVS: tag r20-3b25
author cvs
date Mon, 13 Aug 2007 10:00:02 +0200
parents 489f57a838ef
children 1f0dabaa0855
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
167
85ec50267440 Import from CVS: tag r20-3b10
cvs
parents: 163
diff changeset
1 ;;; DO NOT MODIFY THIS FILE
183
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 167
diff changeset
2 (if (featurep 'leim-autoloads) (error "Already loaded"))
197
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 189
diff changeset
3
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 189
diff changeset
4 (provide 'leim-autoloads)
163
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
5
197
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 189
diff changeset
6 ;;;### (autoloads (quail-update-leim-list-file quail-defrule-internal quail-defrule quail-install-map quail-define-rules quail-set-keyboard-layout quail-define-package quail-use-package) "quail" "leim/quail.el")
163
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
7
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
8 (autoload 'quail-use-package "quail" "\
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
9 Start using Quail package PACKAGE-NAME.
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
10 The remaining arguments are libraries to be loaded before using the package." nil nil)
0132846995bd Import from CVS: tag r20-3b8
cvs
parents:
diff changeset
11
197
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 189
diff changeset
12 (autoload 'quail-define-package "quail" "\
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 189
diff changeset
13 Define NAME as a new Quail package for input LANGUAGE.
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 189
diff changeset
14 TITLE is a string to be displayed at mode-line to indicate this package.
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 189
diff changeset
15 Optional arguments are GUIDANCE, DOCSTRING, TRANLSATION-KEYS,
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 189
diff changeset
16 FORGET-LAST-SELECTION, DETERMINISTIC, KBD-TRANSLATE, SHOW-LAYOUT,
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 189
diff changeset
17 CREATE-DECODE-MAP, MAXIMUM-SHORTEST, OVERLAY-PLIST,
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 189
diff changeset
18 UPDATE-TRANSLATION-FUNCTION, CONVERSION-KEYS and SIMPLE.
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 189
diff changeset
19
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 189
diff changeset
20 GUIDANCE specifies how a guidance string is shown in echo area.
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 189
diff changeset
21 If it is t, list of all possible translations for the current key is shown
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 189
diff changeset
22 with the currently selected translation being highlighted.
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 189
diff changeset
23 If it is an alist, the element has the form (CHAR . STRING). Each character
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 189
diff changeset
24 in the current key is searched in the list and the corresponding string is
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 189
diff changeset
25 shown.
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 189
diff changeset
26 If it is nil, the current key is shown.
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 189
diff changeset
27
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 189
diff changeset
28 DOCSTRING is the documentation string of this package.
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 189
diff changeset
29
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 189
diff changeset
30 TRANSLATION-KEYS specifies additional key bindings used while translation
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 189
diff changeset
31 region is active. It is an alist of single key character vs. corresponding
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 189
diff changeset
32 command to be called.
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 189
diff changeset
33
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 189
diff changeset
34 FORGET-LAST-SELECTION non-nil means a selected translation is not kept
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 189
diff changeset
35 for the future to translate the same key. If this flag is nil, a
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 189
diff changeset
36 translation selected for a key is remembered so that it can be the
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 189
diff changeset
37 first candidate when the same key is entered later.
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 189
diff changeset
38
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 189
diff changeset
39 DETERMINISTIC non-nil means the first candidate of translation is
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 189
diff changeset
40 selected automatically without allowing users to select another
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 189
diff changeset
41 translation for a key. In this case, unselected translations are of
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 189
diff changeset
42 no use for an interactive use of Quail but can be used by some other
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 189
diff changeset
43 programs. If this flag is non-nil, FORGET-LAST-SELECTION is also set
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 189
diff changeset
44 to t.
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 189
diff changeset
45
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 189
diff changeset
46 KBD-TRANSLATE non-nil means input characters are translated from a
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 189
diff changeset
47 user's keyboard layout to the standard keyboard layout. See the
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 189
diff changeset
48 documentation of `quail-keyboard-layout' and
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 189
diff changeset
49 `quail-keyboard-layout-standard' for more detail.
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 189
diff changeset
50
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 189
diff changeset
51 SHOW-LAYOUT non-nil means the `quail-help' command should show
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 189
diff changeset
52 the user's keyboard layout visually with translated characters.
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 189
diff changeset
53 If KBD-TRANSLATE is set, it is desirable to set also this flag unless
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 189
diff changeset
54 this package defines no translations for single character keys.
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 189
diff changeset
55
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 189
diff changeset
56 CREATE-DECODE-MAP non-nil means decode map is also created. A decode
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 189
diff changeset
57 map is an alist of translations and corresponding original keys.
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 189
diff changeset
58 Although this map is not used by Quail itself, it can be used by some
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 189
diff changeset
59 other programs. For instance, Vietnamese supporting needs this map to
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 189
diff changeset
60 convert Vietnamese text to VIQR format which uses only ASCII
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 189
diff changeset
61 characters to represent Vietnamese characters.
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 189
diff changeset
62
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 189
diff changeset
63 MAXIMUM-SHORTEST non-nil means break key sequence to get maximum
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 189
diff changeset
64 length of the shortest sequence. When we don't have a translation of
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 189
diff changeset
65 key \"..ABCD\" but have translations of \"..AB\" and \"CD..\", break
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 189
diff changeset
66 the key at \"..AB\" and start translation of \"CD..\". Hangul
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 189
diff changeset
67 packages, for instance, use this facility. If this flag is nil, we
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 189
diff changeset
68 break the key just at \"..ABC\" and start translation of \"D..\".
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 189
diff changeset
69
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 189
diff changeset
70 OVERLAY-PLIST if non-nil is a property list put on an overlay which
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 189
diff changeset
71 covers Quail translation region.
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 189
diff changeset
72
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 189
diff changeset
73 UPDATE-TRANSLATION-FUNCTION if non-nil is a function to call to update
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 189
diff changeset
74 the current translation region accoding to a new translation data. By
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 189
diff changeset
75 default, a tranlated text or a user's key sequence (if no transltion
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 189
diff changeset
76 for it) is inserted.
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 189
diff changeset
77
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 189
diff changeset
78 CONVERSION-KEYS specifies additional key bindings used while
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 189
diff changeset
79 conversion region is active. It is an alist of single key character
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 189
diff changeset
80 vs. corresponding command to be called.
183
e121b013d1f0 Import from CVS: tag r20-3b18
cvs
parents: 167
diff changeset
81
197
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 189
diff changeset
82 If SIMPLE is non-nil, then we do not alter the meanings of
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 189
diff changeset
83 commands such as C-f, C-b, C-n, C-p and TAB; they are treated as
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 189
diff changeset
84 non-Quail commands." nil nil)
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 189
diff changeset
85
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 189
diff changeset
86 (autoload 'quail-set-keyboard-layout "quail" "\
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 189
diff changeset
87 Set the current keyboard layout to the same as keyboard KBD-TYPE.
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 189
diff changeset
88
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 189
diff changeset
89 Since some Quail packages depends on a physical layout of keys (not
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 189
diff changeset
90 characters generated by them), those are created by assuming the
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 189
diff changeset
91 standard layout defined in `quail-keyboard-layout-standard'. This
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 189
diff changeset
92 function tells Quail system the layout of your keyboard so that what
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 189
diff changeset
93 you type is correctly handled." t nil)
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 189
diff changeset
94
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 189
diff changeset
95 (autoload 'quail-define-rules "quail" "\
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 189
diff changeset
96 Define translation rules of the current Quail package.
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 189
diff changeset
97 Each argument is a list of KEY and TRANSLATION.
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 189
diff changeset
98 KEY is a string meaning a sequence of keystrokes to be translated.
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 189
diff changeset
99 TRANSLATION is a character, a string, a vector, a Quail map, or a function.
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 189
diff changeset
100 It it is a character, it is the sole translation of KEY.
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 189
diff changeset
101 If it is a string, each character is a candidate for the translation.
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 189
diff changeset
102 If it is a vector, each element (string or character) is a candidate
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 189
diff changeset
103 for the translation.
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 189
diff changeset
104 In these cases, a key specific Quail map is generated and assigned to KEY.
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 189
diff changeset
105
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 189
diff changeset
106 If TRANSLATION is a Quail map or a function symbol which returns a Quail map,
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 189
diff changeset
107 it is used to handle KEY." nil 'macro)
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 189
diff changeset
108
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 189
diff changeset
109 (autoload 'quail-install-map "quail" "\
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 189
diff changeset
110 Install the Quail map MAP in the current Quail package.
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 189
diff changeset
111 The installed map can be referred by the function `quail-map'." nil nil)
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 189
diff changeset
112
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 189
diff changeset
113 (autoload 'quail-defrule "quail" "\
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 189
diff changeset
114 Add one translation rule, KEY to TRANSLATION, in the current Quail package.
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 189
diff changeset
115 KEY is a string meaning a sequence of keystrokes to be translated.
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 189
diff changeset
116 TRANSLATION is a character, a string, a vector, a Quail map,
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 189
diff changeset
117 a function, or a cons.
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 189
diff changeset
118 It it is a character, it is the sole translation of KEY.
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 189
diff changeset
119 If it is a string, each character is a candidate for the translation.
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 189
diff changeset
120 If it is a vector, each element (string or character) is a candidate
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 189
diff changeset
121 for the translation.
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 189
diff changeset
122 If it is a cons, the car is one of the above and the cdr is a function
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 189
diff changeset
123 to call when translating KEY (the return value is assigned to the
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 189
diff changeset
124 variable `quail-current-data'). If the cdr part is not a function,
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 189
diff changeset
125 the value itself is assigned to `quail-current-data'.
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 189
diff changeset
126 In these cases, a key specific Quail map is generated and assigned to KEY.
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 189
diff changeset
127
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 189
diff changeset
128 If TRANSLATION is a Quail map or a function symbol which returns a Quail map,
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 189
diff changeset
129 it is used to handle KEY.
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 189
diff changeset
130 Optional argument NAME, if specified, says which Quail package
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 189
diff changeset
131 to define this translation rule in. The default is to define it in the
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 189
diff changeset
132 current Quail package." nil nil)
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 189
diff changeset
133
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 189
diff changeset
134 (autoload 'quail-defrule-internal "quail" "\
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 189
diff changeset
135 Define KEY as TRANS in a Quail map MAP." nil nil)
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 189
diff changeset
136
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 189
diff changeset
137 (autoload 'quail-update-leim-list-file "quail" "\
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 189
diff changeset
138 Update entries for Quail packages in `LEIM' list file in directory DIRNAME.
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 189
diff changeset
139 DIRNAME is a directory containing Emacs input methods;
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 189
diff changeset
140 normally, it should specify the `leim' subdirectory
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 189
diff changeset
141 of the Emacs source tree.
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 189
diff changeset
142
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 189
diff changeset
143 It searches for Quail packages under `quail' subdirectory of DIRNAME,
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 189
diff changeset
144 and update the file \"leim-list.el\" in DIRNAME.
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 189
diff changeset
145
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 189
diff changeset
146 When called from a program, the remaining arguments are additional
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 189
diff changeset
147 directory names to search for Quail packages under `quail' subdirectory
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 189
diff changeset
148 of each directory." t nil)
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 189
diff changeset
149
acd284d43ca1 Import from CVS: tag r20-3b25
cvs
parents: 189
diff changeset
150 ;;;***