• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10.1/emacs-93/emacs/lisp/international/

Lines Matching +defs:add +defs:method

1 ;;; quail.el --- provides simple input method for multilingual text
13 ;; Keywords: mule, multilingual, input method, i18n
48 ;; [There was an input method for Mule 2.3 called `Tamago' from the
61 "Quail: multilingual input method."
67 "The current Quail package, which depends on the current input method.
217 (defun quail-add-package (package)
238 This activates input method defined by PACKAGE-NAME by running
261 (setq current-input-method-title (quail-title))
325 ;; non-deterministic -- show only for non-deterministic input method
415 `describe-input-method' shows this string while replacing the form
496 (quail-add-package
504 ;; Update input-method-alist.
505 (let ((slot (assoc name input-method-alist))
508 (setq input-method-alist (cons (cons name val) input-method-alist)))))
520 (if input-method-highlight-flag
531 (if input-method-highlight-flag
542 "Inactivate Quail input method.
549 "Activate Quail input method.
550 With arg, activate Quail input method if and only if arg is positive.
553 method, `quail-inactivate-hook' if it deactivates it.
555 While this input method is active, the variable
556 `input-method-function' is bound to the function `quail-input-method'."
559 ;; Let's inactivate Quail input method.
563 (setq describe-current-input-method-function nil)
567 (kill-local-variable 'input-method-function))
568 ;; Let's activate Quail input method.
576 (setq inactivate-current-input-method-function 'quail-inactivate)
577 (setq describe-current-input-method-function 'quail-help)
581 ;; If we are in minibuffer, turn off the current input method
584 (add-hook 'minibuffer-exit-hook 'quail-exit-from-minibuffer)
585 (add-hook 'post-command-hook 'quail-show-guidance nil t))
587 (make-local-variable 'input-method-function)
588 (setq input-method-function 'quail-input-method)))
591 (inactivate-input-method)
725 "Type of keyboard layout used in Quail base input method.
1003 ;; There's no way to add new rules at compiling time.
1149 ;; to a vector of strings, add PROPS to each string and record
1166 (add-text-properties 0 (length elt) props elt))
1311 (defun quail-input-method (key)
1327 (if input-method-exit-on-first-char
1332 ;; Run this hook only when the current input method doesn't require
1336 (run-hooks 'input-method-after-insert-chunk-hook))))))
1367 (input-method-function nil)
1378 (let* ((prompt (if input-method-use-echo-area
1380 (or input-method-previous-message "")
1425 (input-method-function nil)
1444 (let* ((prompt (if input-method-use-echo-area
1446 (or input-method-previous-message "")
1469 (if (or input-method-exit-on-first-char
1518 (or input-method-exit-on-first-char
1530 (if (and input-method-exit-on-first-char
1533 (or input-method-use-echo-area
1946 (and input-method-verbose-flag
1947 (if (eq input-method-verbose-flag 'default)
1950 (if (eq input-method-verbose-flag 'complex-only)
1972 "Display a guidance for Quail input method in some window.
1982 (not input-method-use-echo-area)
1984 (null unread-post-input-method-events))
2004 (format " [%s]" current-input-method-title)))
2009 current-input-method-title quail-guidance-str)))
2018 input-method-use-echo-area)
2245 ;; 1) add two lines from `choose-completion' in simple.el to give
2465 (insert "Input method: " (quail-name)
2492 This input method works by translating individual input characters.
2508 (insert "', the \"virtual\" keyboard you get with this input method
2586 "Show help message while translating in Quail input method."
2592 (format "Converting string %S by input method %S.\n"
2596 (format "Translating key sequence %S by input method %S.\n"
2699 ;; for inputting CHAR by the current input method to KEY-LIST and
2741 "Return a list of keys to type to input CHAR in the current input method.
2777 (or current-input-method
2778 (error "No input method is activated"))
2779 (or (assoc current-input-method quail-package-alist)
2780 (error "The current input method does not use Quail"))
2791 (message "%c can't be input by the current input method" char)))))
2985 ;; Insert input method registering forms.
3002 (format "(register-input-method