all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#29504: 26.0.90; Can't enter Japanes text in a read-only buffer even if inhibit-read-only is t
@ 2017-11-30  3:39 Katsumi Yamaoka
  2017-11-30  4:03 ` Katsumi Yamaoka
  0 siblings, 1 reply; 4+ messages in thread
From: Katsumi Yamaoka @ 2017-11-30  3:39 UTC (permalink / raw)
  To: 29504

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.





^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-12-11  1:28 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-11-30  3:39 bug#29504: 26.0.90; Can't enter Japanes text in a read-only buffer even if inhibit-read-only is t Katsumi Yamaoka
2017-11-30  4:03 ` Katsumi Yamaoka
2017-12-09  9:05   ` Eli Zaretskii
2017-12-11  1:28     ` Katsumi Yamaoka

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.