diff options
| author | Eli Zaretskii | 2017-03-11 17:56:15 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2017-03-11 17:56:15 +0200 |
| commit | a8766a2888369ddcde4129e0223c080721698145 (patch) | |
| tree | 0ba864c3cf7df78c9f1d879ea39862021770782b | |
| parent | 6eb899563aadc012acc716511baefb216da08d37 (diff) | |
| download | emacs-a8766a2888369ddcde4129e0223c080721698145.tar.gz emacs-a8766a2888369ddcde4129e0223c080721698145.zip | |
Document how to customize input methods
* doc/emacs/mule.texi (Input Methods): Document how to customize
input methods.
| -rw-r--r-- | doc/emacs/mule.texi | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/emacs/mule.texi b/doc/emacs/mule.texi index 76bc945fb27..13407f6f07b 100644 --- a/doc/emacs/mule.texi +++ b/doc/emacs/mule.texi | |||
| @@ -553,6 +553,15 @@ most input methods---some disable this feature). If | |||
| 553 | possible characters to type next is displayed in the echo area (but | 553 | possible characters to type next is displayed in the echo area (but |
| 554 | not when you are in the minibuffer). | 554 | not when you are in the minibuffer). |
| 555 | 555 | ||
| 556 | @vindex quail-activate-hook | ||
| 557 | @findex quail-translation-keymap | ||
| 558 | You can modify how an input method works by making your changes in a | ||
| 559 | function that you add to the hook variable @code{quail-activate-hook}. | ||
| 560 | @xref{Hooks}. For example, you can redefine some of the input | ||
| 561 | method's keys by defining key bindings in the keymap returned by the | ||
| 562 | function @code{quail-translation-keymap}, using @code{define-key}. | ||
| 563 | @xref{Init Rebinding}. | ||
| 564 | |||
| 556 | Another facility for typing characters not on your keyboard is by | 565 | Another facility for typing characters not on your keyboard is by |
| 557 | using @kbd{C-x 8 @key{RET}} (@code{insert-char}) to insert a single | 566 | using @kbd{C-x 8 @key{RET}} (@code{insert-char}) to insert a single |
| 558 | character based on its Unicode name or code-point; see @ref{Inserting | 567 | character based on its Unicode name or code-point; see @ref{Inserting |