--- Begin Message ---
Subject: |
26.0.90; Can't enter Japanes text in a read-only buffer even if inhibit-read-only is t |
Date: |
Thu, 30 Nov 2017 12:39:28 +0900 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.0.90 (i686-pc-cygwin) |
Hi,
Not only Japanese, every input method should work in a read-only
buffer (such as that of eww) where the `inhibit-read-only' text
or overlay property is set in some areas. Here is a recipe to
reproduce the problem:
Launch Emacs with -Q, eval this form in the *scratch* buffer,
and type `C-x o', `C-\', and `a'. "あ" should appear.
(set-input-method 'japanese)
(let ((buffer (get-buffer-create "*texting*")))
(with-current-buffer buffer
(setq buffer-read-only nil)
(erase-buffer)
(insert (propertize " " 'inhibit-read-only t 'front-sticky t))
(setq buffer-read-only t)
(goto-char (point-min)))
(display-buffer buffer))
Thanks.
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#29504: 26.0.90; Can't enter Japanes text in a read-only buffer even if inhibit-read-only is t |
Date: |
Mon, 11 Dec 2017 10:28:32 +0900 |
On Sat, 09 Dec 2017 11:05:49 +0200, Eli Zaretskii wrote:
> Looks OK to me. Please push to the emacs-26 branch, and thanks.
Done. Thanks.
--- End Message ---