%PDF- %PDF-
Direktori : /usr/local/share/emacs/27.2/lisp/international/ |
Current File : //usr/local/share/emacs/27.2/lisp/international/quail.elc |
;ELC ;;; Compiled ;;; in Emacs version 27.2 ;;; with all optimizations. ;;; This file contains utf-8 non-ASCII characters, ;;; and so cannot be loaded into Emacs 22 or earlier. (and (boundp 'emacs-version) (< (aref emacs-version (1- (length emacs-version))) ?A) (string-lessp emacs-version "23") (error "`%s' was compiled for Emacs 23 or later" #$)) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;; (byte-code "\300\301!\210\302\303\304\305\306\307%\207" [require help-mode custom-declare-group quail nil "Quail: multilingual input method." :group leim] 6) #@134 The current Quail package, which depends on the current input method. See the documentation of `quail-package-alist' for the format. (defvar quail-current-package nil (#$ . 567)) (byte-code "\300\301!\210\302\301\303\304#\207" [make-variable-buffer-local quail-current-package put permanent-local t] 4) (defvar quail-guidance-str nil) (defvar quail-completion-buf nil) (defvar quail-guidance-buf nil) (defvar quail-guidance-frame nil) (byte-code "\300\301!\210\302\301\303\304#\207" [make-variable-buffer-local quail-guidance-str put permanent-local t] 4) #@63 Overlay which covers the current translation region of Quail. (defvar quail-overlay nil (#$ . 1129)) (make-variable-buffer-local 'quail-overlay) #@62 Overlay which covers the text to be converted in Quail mode. (defvar quail-conv-overlay nil (#$ . 1280)) (make-variable-buffer-local 'quail-conv-overlay) #@44 Current key for translation in Quail mode. (defvar quail-current-key nil (#$ . 1440)) (make-variable-buffer-local 'quail-current-key) #@52 Currently selected translation of the current key. (defvar quail-current-str nil (#$ . 1580)) (make-variable-buffer-local 'quail-current-str) #@331 Cons of indices and vector of possible translations of the current key. Indices is a list of (CURRENT START END BLOCK BLOCKS), where CURRENT is an index of the current translation, START and END are indices of the start and end of the current block, BLOCK is the current block index, BLOCKS is a number of blocks of translation. (defvar quail-current-translations nil (#$ . 1729)) (make-variable-buffer-local 'quail-current-translations) #@268 Any Lisp object holding information of current translation status. When a key sequence is mapped to TRANS and TRANS is a cons of actual translation and some Lisp object to be referred for translating the longer key sequence, this variable is set to that Lisp object. (defvar quail-current-data nil (#$ . 2175)) (make-variable-buffer-local 'quail-current-data) #@567 List of Quail packages. A Quail package is a list of these elements: NAME, TITLE, QUAIL-MAP, GUIDANCE, DOCSTRING, TRANSLATION-KEYS, FORGET-LAST-SELECTION, DETERMINISTIC, KBD-TRANSLATE, SHOW-LAYOUT, DECODE-MAP, MAXIMUM-SHORTEST, OVERLAY-PLIST, UPDATE-TRANSLATION-FUNCTION, CONVERSION-KEYS, SIMPLE. QUAIL-MAP is a data structure to map key strings to translations. For the format, see the documentation of `quail-map-p'. DECODE-MAP is an alist of translations and corresponding keys. See the documentation of `quail-define-package' for the other elements. (defvar quail-package-alist nil (#$ . 2542)) #@47 Return the name of the current Quail package. (defalias 'quail-name #[nil "@\207" [quail-current-package] 1 (#$ . 3159)]) (put 'quail-name 'byte-optimizer 'byte-compile-inline-expand) (defalias 'quail-indent-to #[(col) "j\210`\212\302\303x\304U?\205 \305` \306\307\310E$*\207" [col end " " nil 0 put-text-property display space :align-to] 7]) #@48 Return the title of the current Quail package. (defalias 'quail-title #[nil "A@\211;\203 \202 \3021 \303\304 \305#0\202 \210\305)\207" [quail-current-package title (error) mapconcat #[(x) ";\203 \207<\203' @9\203' G\301U\203' @J\203# A@\207\3028\207\303\207" [x 3 2 #1=""] 2] #1#] 5 (#$ . 3514)]) #@58 Return the translation map of the current Quail package. (defalias 'quail-map #[nil "\3018\207" [quail-current-package 2] 2 (#$ . 3833)]) (put 'quail-map 'byte-optimizer 'byte-compile-inline-expand) #@130 Return an object used for `guidance' feature of the current Quail package. See also the documentation of `quail-define-package'. (defalias 'quail-guidance #[nil "\3018\207" [quail-current-package 3] 2 (#$ . 4040)]) (put 'quail-guidance 'byte-optimizer 'byte-compile-inline-expand) #@63 Return the documentation string of the current Quail package. (defalias 'quail-docstring #[nil "\3018\207" [quail-current-package 4] 2 (#$ . 4328)]) (put 'quail-docstring 'byte-optimizer 'byte-compile-inline-expand) #@129 Return translation keymap in the current Quail package. Translation keymap is a keymap used while translation region is active. (defalias 'quail-translation-keymap #[nil "\3018\207" [quail-current-package 5] 2 (#$ . 4552)]) (put 'quail-translation-keymap 'byte-optimizer 'byte-compile-inline-expand) #@121 Return `forget-last-selection' flag of the current Quail package. See also the documentation of `quail-define-package'. (defalias 'quail-forget-last-selection #[nil "\3018\207" [quail-current-package 6] 2 (#$ . 4860)]) (put 'quail-forget-last-selection 'byte-optimizer 'byte-compile-inline-expand) #@113 Return `deterministic' flag of the current Quail package. See also the documentation of `quail-define-package'. (defalias 'quail-deterministic #[nil "\3018\207" [quail-current-package 7] 2 (#$ . 5166)]) (put 'quail-deterministic 'byte-optimizer 'byte-compile-inline-expand) #@113 Return `kbd-translate' flag of the current Quail package. See also the documentation of `quail-define-package'. (defalias 'quail-kbd-translate #[nil "\3018\207" [quail-current-package 8] 2 (#$ . 5448)]) (put 'quail-kbd-translate 'byte-optimizer 'byte-compile-inline-expand) #@111 Return `show-layout' flag of the current Quail package. See also the documentation of `quail-define-package'. (defalias 'quail-show-layout #[nil "\3018\207" [quail-current-package 9] 2 (#$ . 5730)]) (put 'quail-show-layout 'byte-optimizer 'byte-compile-inline-expand) #@104 Return decode map of the current Quail package. It is an alist of translations and corresponding keys. (defalias 'quail-decode-map #[nil "\3018\207" [quail-current-package 10] 2 (#$ . 6006)]) (put 'quail-decode-map 'byte-optimizer 'byte-compile-inline-expand) #@116 Return `maximum-shortest' flag of the current Quail package. See also the documentation of `quail-define-package'. (defalias 'quail-maximum-shortest #[nil "\3018\207" [quail-current-package 11] 2 (#$ . 6274)]) (put 'quail-maximum-shortest 'byte-optimizer 'byte-compile-inline-expand) #@71 Return property list of an overlay used in the current Quail package. (defalias 'quail-overlay-plist #[nil "\3018\207" [quail-current-package 12] 2 (#$ . 6565)]) (put 'quail-overlay-plist 'byte-optimizer 'byte-compile-inline-expand) #@74 Return a function for updating translation in the current Quail package. (defalias 'quail-update-translation-function #[nil "\3018\207" [quail-current-package 13] 2 (#$ . 6805)]) (put 'quail-update-translation-function 'byte-optimizer 'byte-compile-inline-expand) #@164 Return conversion keymap in the current Quail package. Conversion keymap is a keymap used while conversion region is active but translation region is not active. (defalias 'quail-conversion-keymap #[nil "\3018\207" [quail-current-package 14] 2 (#$ . 7077)]) (put 'quail-conversion-keymap 'byte-optimizer 'byte-compile-inline-expand) #@50 Return t if the current Quail package is simple. (defalias 'quail-simple #[nil "\3018\207" [quail-current-package 15] 2 (#$ . 7418)]) (put 'quail-simple 'byte-optimizer 'byte-compile-inline-expand) #@34 Return Quail package named NAME. (defalias 'quail-package #[(name) "\302 \"\207" [name quail-package-alist assoc] 3 (#$ . 7623)]) (put 'quail-package 'byte-optimizer 'byte-compile-inline-expand) #@53 Add Quail package PACKAGE to `quail-package-alist'. (defalias 'quail-add-package #[(package) "@\304 \n\")\211\203 A\241\202 \nB\211)\207" [package name quail-package-alist pac assoc] 4 (#$ . 7825)]) #@63 Select Quail package named NAME as the current Quail package. (defalias 'quail-select-package #[(name) "\304 \")\211\204 \305\306\"\210\n\307\303\n\"\210)\207" [name quail-package-alist package quail-current-package assoc error "No Quail package `%s'" set-default] 4 (#$ . 8039)]) #@211 Start using Quail package PACKAGE-NAME. The remaining arguments are LIBRARIES to be loaded before using the package. This activates input method defined by PACKAGE-NAME by running `quail-activate', which see. (defalias 'quail-use-package #[(package-name &rest libraries) "\306 \n\")\211\204r \f\203r \307\f@\310\"\204k r\311\312!q\210p\313 \210\314\211\310\211\310 !\315 \210\316\317!\210+\211\"#\320\321!\210\320!\210\320\322\323!!\210\320\f@!\210\320\322\324!!\210\325\"!\210+\326\327\"\210\202\f \fA\211\204 )\330!\210\331 $\332 \210\333\314!\207" [package-name name quail-package-alist package libraries default-directory assoc load t get-buffer-create "*Help*" kill-all-local-variables nil erase-buffer run-hooks temp-buffer-setup-hook princ "Quail package \"" substitute-command-keys "\" can't be activated\n because library \"" "\" is not in `load-path'.\n\nThe most common case is that you have not yet installed appropriate\nlibraries in LEIM (Libraries of Emacs Input Method) which is\ndistributed separately from Emacs.\n\nLEIM is available from the same ftp directory as Emacs." internal-temp-output-buffer-show error "Can't use the Quail package `%s'" quail-select-package quail-title quail-activate message #1=#:old-dir buffer-read-only buffer-file-name buffer-undo-list inhibit-modification-hooks inhibit-read-only #2=#:buf standard-output current-input-method-title] 4 (#$ . 8335)]) #@228 Keymap used processing translation in complex Quail modes. Only a few especially complex input methods use this map; most use `quail-simple-translation-keymap' instead. This map is activated while translation region is active. (defvar quail-translation-keymap (byte-code "\302 \303\304W\203 \305 \306!\307#\210T\211\202 \310W\203/ \305 \306!\311#\210T\211\202 \312\211\313W\203F \305 \314!\311#\210T\211\2022 \305 \315\316#\210\305 \317\320#\210\305 \321\322#\210\305 \323\324#\210\305 \325\326#\210\305 \327\320#\210\305 \330\322#\210\305 \331\324#\210\305 \332\326#\210\305 \333\334#\210\305 \335\336#\210\305 \337\336#\210\305 \340\341#\210\305 \342\343#\210\305 \344\345#\210\305 \346\336#\210\305 \347\334#\210\305 \350\316#\210\305 \351\316#\210 *\207" [i map make-keymap 0 32 define-key char-to-string quail-other-command 127 quail-self-insert-command 128 256 vector "" quail-delete-last-char "" quail-next-translation "" quail-prev-translation "" quail-next-translation-block "" quail-prev-translation-block [right] [left] [down] [up] " " quail-completion "