diff options
author | Eli Zaretskii <eliz@gnu.org> | 2020-11-14 15:20:30 +0200 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2020-11-14 15:20:30 +0200 |
commit | 19da602991538e03648a82214cbb1bcc9a6ec14a (patch) | |
tree | 5e15bed6e923c141a84118575167b39be6c5490e /doc/emacs/mule.texi | |
parent | 5aabf2cc7f90a168fda694c6c5360f1df398255c (diff) | |
download | emacs-19da602991538e03648a82214cbb1bcc9a6ec14a.tar.gz |
Fix input method translation near read-only text
* lisp/international/quail.el (quail-input-method): Don't disable
input method when the character after point has the read-only
property. Suggested by Evgeny Zajcev <lg.zevlg@gmail.com>
(Bug#44466)
* doc/emacs/mule.texi (Input Methods): Document that input methods
are inhibited in read-only text.
Diffstat (limited to 'doc/emacs/mule.texi')
-rw-r--r-- | doc/emacs/mule.texi | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/emacs/mule.texi b/doc/emacs/mule.texi index 0f07d286cda..3421ce66904 100644 --- a/doc/emacs/mule.texi +++ b/doc/emacs/mule.texi @@ -563,6 +563,12 @@ method's keys by defining key bindings in the keymap returned by the function @code{quail-translation-keymap}, using @code{define-key}. @xref{Init Rebinding}. + Input methods are inhibited when the text in the buffer is read-only +for some reason. This is so single-character key bindings work in +modes that make buffer text or parts of it read-only, such as +@code{read-only-mode} and @code{image-mode}, even when an input method +is active. + Another facility for typing characters not on your keyboard is by using @kbd{C-x 8 @key{RET}} (@code{insert-char}) to insert a single character based on its Unicode name or code-point; see @ref{Inserting |