Mercurial > emacs
changeset 85934:0c8b86e9b028
(Select Input Method): Describe how to activate an input
method in the text mode.
author | Kenichi Handa <handa@m17n.org> |
---|---|
date | Tue, 06 Nov 2007 01:31:22 +0000 |
parents | 8bf6b9dbfa26 |
children | 4fbfd5756bf4 |
files | doc/emacs/mule.texi |
diffstat | 1 files changed, 12 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/doc/emacs/mule.texi Mon Nov 05 20:52:29 2007 +0000 +++ b/doc/emacs/mule.texi Tue Nov 06 01:31:22 2007 +0000 @@ -534,6 +534,18 @@ 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