diff options
author | Juri Linkov <juri@linkov.net> | 2020-11-06 10:31:58 +0200 |
---|---|---|
committer | Juri Linkov <juri@linkov.net> | 2020-11-06 10:31:58 +0200 |
commit | af6891629d48f348b6458384898a637cc7ce16e7 (patch) | |
tree | e88c153ad14a9d4866548e5a24aa5d2fa1fa0247 /doc/emacs/mule.texi | |
parent | 2180ccbe29701f274d8390355d13ee41cf9727be (diff) | |
download | emacs-af6891629d48f348b6458384898a637cc7ce16e7.tar.gz |
Support transient input methods in Isearch mode (bug#44266)
* doc/emacs/mule.texi (Select Input Method): Rename
transient-input-method to activate-transient-input-method.
* doc/emacs/search.texi (Special Isearch):
Document isearch-transient-input-method.
* lisp/international/isearch-x.el (isearch-transient-input-method):
New function.
(isearch-process-search-multibyte-characters):
Call 'deactivate-transient-input-method' after 'read-string'.
* lisp/international/mule-cmds.el (mule-menu-keymap): Remove
duplicate menu item 'describe-input-method'. Add new menu item
'activate-transient-input-method'.
(default-transient-input-method): Rename from transient-input-method.
(current-transient-input-method)
(previous-transient-input-method): New buffer-local variables.
(deactivate-input-method): Don't add
current-transient-input-method to input-method-history.
(toggle-input-method): Call deactivate-transient-input-method
when current-transient-input-method is non-nil.
(activate-transient-input-method): Rename from transient-input-method.
(deactivate-transient-input-method): New function with body from
renamed function transient-input-method.
* lisp/isearch.el (isearch-menu-bar-map): Add new menu item
'isearch-transient-input-method'.
(isearch-mode-map): Bind 'C-x \' to isearch-transient-input-method.
(isearch-forward): Add isearch-transient-input-method to docstring.
(isearch-message-prefix): Use shorter string for narrowed buffer.
Diffstat (limited to 'doc/emacs/mule.texi')
-rw-r--r-- | doc/emacs/mule.texi | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/emacs/mule.texi b/doc/emacs/mule.texi index 2fca4a544ca..200937c9d71 100644 --- a/doc/emacs/mule.texi +++ b/doc/emacs/mule.texi @@ -581,7 +581,7 @@ Select a new input method for the current buffer (@code{set-input-method}). @item C-x \ @var{method} @key{RET} Temporarily enable the selected transient input method ; it will be automatically disabled after inserting a single character -(@code{transient-input-method}). +(@code{activate-transient-input-method}). @item C-h I @var{method} @key{RET} @itemx C-h C-\ @var{method} @key{RET} @@ -680,13 +680,13 @@ character. input methods. The list gives information about each input method, including the string that stands for it in the mode line. -@findex transient-input-method +@findex activate-transient-input-method @kindex C-x \ Sometimes it can be convenient to enable an input method @dfn{transiently}, for inserting only a single character. Typing -@kbd{C-x \} (@code{transient-input-method}) will temporarily enable an -input method, let you insert a single character using the input method -rules, and then automatically disable the input method. If no +@kbd{C-x \} (@code{activate-transient-input-method}) will temporarily +enable an input method, let you insert a single character using the input +method rules, and then automatically disable the input method. If no transient input method was selected yet, @kbd{C-x \} will prompt you for an input method; subsequent invocations of this command will enable the selected transient input method. To select a different |