From: Kenichi Handa Date: Tue, 6 Nov 2007 01:31:22 +0000 (+0000) Subject: (Select Input Method): Describe how to activate an input X-Git-Tag: emacs-pretest-23.0.90~9859 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=0cf8a90695788dd84dbc4fe0d90498f6a2c78bff;p=emacs.git (Select Input Method): Describe how to activate an input method in the text mode. --- diff --git a/doc/emacs/mule.texi b/doc/emacs/mule.texi index c71c820dc27..0def4bc5c3e 100644 --- a/doc/emacs/mule.texi +++ b/doc/emacs/mule.texi @@ -534,6 +534,18 @@ set-language-environment-hook}). For example: This sets the default input method to be @code{chinese-tonepy} whenever you choose a Chinese-GB language environment. +You can instruct Emacs to activate a certain input method +automatically. For example: + +@lisp +(add-hook 'text-mode-hook + (lambda () (set-input-method "german-prefix"))) +@end lisp + +@noindent +This activates the input emthod ``german-prefix'' automatically in the +Text mode. + @findex quail-set-keyboard-layout Some input methods for alphabetic scripts work by (in effect) remapping the keyboard to emulate various keyboard layouts commonly used