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

Previous Next

Package: emacs;

Reported by: Katsumi Yamaoka <yamaoka <at> jpl.org>

Date: Thu, 30 Nov 2017 03:41:01 UTC

Severity: normal

Found in version 26.0.90

Done: Katsumi Yamaoka <yamaoka <at> jpl.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Katsumi Yamaoka <yamaoka <at> jpl.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#29504: closed (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 01:29:01 +0000
[Message part 1 (text/plain, inline)]
Your message dated Mon, 11 Dec 2017 10:28:32 +0900
with message-id <b4mk1xukq7z.fsf <at> jpl.org>
and subject line Re: bug#29504: 26.0.90; Can't enter Japanes text in a read-only buffer even if inhibit-read-only is t
has caused the debbugs.gnu.org bug report #29504,
regarding 26.0.90; Can't enter Japanes text in a read-only buffer even if inhibit-read-only is t
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
29504: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=29504
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Katsumi Yamaoka <yamaoka <at> jpl.org>
To: bug-gnu-emacs <at> gnu.org
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
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.


[Message part 3 (message/rfc822, inline)]
From: Katsumi Yamaoka <yamaoka <at> jpl.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 29504-done <at> debbugs.gnu.org
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.


This bug report was last modified 7 years and 162 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.