diff options
| author | Kenichi Handa | 2007-11-06 01:31:22 +0000 |
|---|---|---|
| committer | Kenichi Handa | 2007-11-06 01:31:22 +0000 |
| commit | 0cf8a90695788dd84dbc4fe0d90498f6a2c78bff (patch) | |
| tree | bf4b8ec4e00943b1777995221b165ea5a9e2928a | |
| parent | bdbeca7b20c91dfdee9d9a4faa0ebd5c2ff21397 (diff) | |
| download | emacs-0cf8a90695788dd84dbc4fe0d90498f6a2c78bff.tar.gz emacs-0cf8a90695788dd84dbc4fe0d90498f6a2c78bff.zip | |
(Select Input Method): Describe how to activate an input
method in the text mode.
| -rw-r--r-- | doc/emacs/mule.texi | 12 |
1 files changed, 12 insertions, 0 deletions
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: | |||
| 534 | This sets the default input method to be @code{chinese-tonepy} | 534 | This sets the default input method to be @code{chinese-tonepy} |
| 535 | whenever you choose a Chinese-GB language environment. | 535 | whenever you choose a Chinese-GB language environment. |
| 536 | 536 | ||
| 537 | You can instruct Emacs to activate a certain input method | ||
| 538 | automatically. For example: | ||
| 539 | |||
| 540 | @lisp | ||
| 541 | (add-hook 'text-mode-hook | ||
| 542 | (lambda () (set-input-method "german-prefix"))) | ||
| 543 | @end lisp | ||
| 544 | |||
| 545 | @noindent | ||
| 546 | This activates the input emthod ``german-prefix'' automatically in the | ||
| 547 | Text mode. | ||
| 548 | |||
| 537 | @findex quail-set-keyboard-layout | 549 | @findex quail-set-keyboard-layout |
| 538 | Some input methods for alphabetic scripts work by (in effect) | 550 | Some input methods for alphabetic scripts work by (in effect) |
| 539 | remapping the keyboard to emulate various keyboard layouts commonly used | 551 | remapping the keyboard to emulate various keyboard layouts commonly used |