Subject: bug#29504: closed (Re: bug#29504: 26.0.90; Can't enter Japanes text in a read-only buffer even if inhibit-read-only is t)

From: [email-masked] (GNU bug Tracking System)
Date: Mon, 11 Dec 2017 01:29:02 +0000

Your bug report

#29504: 26.0.90; Can't enter Japanes text in a read-only buffer even if inhibit-read-only is t

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
29504: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=29504
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#29504: 26.0.90; Can't enter Japanes text in a read-only buffer even if inhibit-read-only is t
From: Katsumi Yamaoka <[email-masked]>
To: Eli Zaretskii <[email-masked]>
Cc: [email-masked]
Date: Mon, 11 Dec 2017 10:28:32 +0900
List-Id: <debbugs-submit.debbugs.gnu.org>

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.

Subject: 26.0.90; Can't enter Japanes text in a read-only buffer even if inhibit-read-only is t
From: Katsumi Yamaoka <[email-masked]>
To: [email-masked]
Date: Thu, 30 Nov 2017 12:39:28 +0900
List-Id: <debbugs-submit.debbugs.gnu.org>

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.