From unknown Wed Jun 18 23:18:05 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#29504 <29504@debbugs.gnu.org> To: bug#29504 <29504@debbugs.gnu.org> Subject: Status: 26.0.90; Can't enter Japanes text in a read-only buffer even if inhibit-read-only is t Reply-To: bug#29504 <29504@debbugs.gnu.org> Date: Thu, 19 Jun 2025 06:18:05 +0000 retitle 29504 26.0.90; Can't enter Japanes text in a read-only buffer even = if inhibit-read-only is t reassign 29504 emacs submitter 29504 Katsumi Yamaoka severity 29504 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Wed Nov 29 22:40:28 2017 Received: (at submit) by debbugs.gnu.org; 30 Nov 2017 03:40:28 +0000 Received: from localhost ([127.0.0.1]:37466 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eKFi8-0007dI-BE for submit@debbugs.gnu.org; Wed, 29 Nov 2017 22:40:28 -0500 Received: from eggs.gnu.org ([208.118.235.92]:58156) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eKFi6-0007d5-Ua for submit@debbugs.gnu.org; Wed, 29 Nov 2017 22:40:27 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eKFi1-0008Uc-3G for submit@debbugs.gnu.org; Wed, 29 Nov 2017 22:40:21 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:52383) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eKFi0-0008UU-VP for submit@debbugs.gnu.org; Wed, 29 Nov 2017 22:40:20 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49122) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eKFhz-0005c5-TU for bug-gnu-emacs@gnu.org; Wed, 29 Nov 2017 22:40:20 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eKFhv-0008Og-17 for bug-gnu-emacs@gnu.org; Wed, 29 Nov 2017 22:40:19 -0500 Received: from mail-hampton.hostforweb.net ([205.234.186.191]:47952 helo=hampton.hostforweb.net) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eKFhu-0007l7-Ms for bug-gnu-emacs@gnu.org; Wed, 29 Nov 2017 22:40:14 -0500 Received: from s70.gtokyofl21.vectant.ne.jp ([202.215.75.70]:60000 helo=localhost) by hampton.hostforweb.net with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.89) (envelope-from ) id 1eKFhC-001jWi-8H; Wed, 29 Nov 2017 21:39:31 -0600 Date: Thu, 30 Nov 2017 12:39:28 +0900 Message-ID: From: Katsumi Yamaoka To: bug-gnu-emacs@gnu.org Subject: 26.0.90; Can't enter Japanes text in a read-only buffer even if inhibit-read-only is t Organization: Emacsen advocacy group X-Face: #kKnN,xUnmKia.'[pp`; Omh}odZK)?7wQSl"4o04=EixTF+V[""w~iNbM9ZL+.b*_CxUmFk B#Fu[*?MZZH@IkN:!"\w%I_zt>[$nm7nQosZ<3eu; B:$Q_:p!',P.c0-_Cy[dz4oIpw0ESA^D*1Lw= L&i*6&( User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.90 (i686-pc-cygwin) Cancel-Lock: sha1:ZvEGRv9tvdlmIPDx7erdvjEpyJ8= MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-OutGoing-Spam-Status: No, score=-1.5 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - hampton.hostforweb.net X-AntiAbuse: Original Domain - gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - jpl.org X-Get-Message-Sender-Via: hampton.hostforweb.net: authenticated_id: yamaoka/from_h X-Authenticated-Sender: hampton.hostforweb.net: yamaoka@jpl.org X-Source: X-Source-Args: X-Source-Dir: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x (barebone) [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) 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'. "=E3=81=82" 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. From debbugs-submit-bounces@debbugs.gnu.org Wed Nov 29 23:03:41 2017 Received: (at 29504) by debbugs.gnu.org; 30 Nov 2017 04:03:41 +0000 Received: from localhost ([127.0.0.1]:37481 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eKG4b-0008CH-4F for submit@debbugs.gnu.org; Wed, 29 Nov 2017 23:03:41 -0500 Received: from mail-hampton.hostforweb.net ([205.234.186.191]:33665 helo=hampton.hostforweb.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eKG4Z-0008C5-Mt for 29504@debbugs.gnu.org; Wed, 29 Nov 2017 23:03:39 -0500 Received: from s70.gtokyofl21.vectant.ne.jp ([202.215.75.70]:60000 helo=localhost) by hampton.hostforweb.net with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.89) (envelope-from ) id 1eKG4R-001pfK-Mp for 29504@debbugs.gnu.org; Wed, 29 Nov 2017 22:03:32 -0600 Date: Thu, 30 Nov 2017 13:03:30 +0900 Message-ID: From: Katsumi Yamaoka To: 29504@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 References: Organization: Emacsen advocacy group X-Face: #kKnN,xUnmKia.'[pp`; Omh}odZK)?7wQSl"4o04=EixTF+V[""w~iNbM9ZL+.b*_CxUmFk B#Fu[*?MZZH@IkN:!"\w%I_zt>[$nm7nQosZ<3eu; B:$Q_:p!',P.c0-_Cy[dz4oIpw0ESA^D*1Lw= L&i*6&( User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.90 (i686-pc-cygwin) Cancel-Lock: sha1:qny12i5v593qQxIhAdsGrBNzjO0= MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-OutGoing-Spam-Status: No, score=-1.5 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - hampton.hostforweb.net X-AntiAbuse: Original Domain - debbugs.gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - jpl.org X-Get-Message-Sender-Via: hampton.hostforweb.net: authenticated_id: yamaoka/from_h X-Authenticated-Sender: hampton.hostforweb.net: yamaoka@jpl.org X-Source: X-Source-Args: X-Source-Dir: X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 29504 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) On Thu, 30 Nov 2017 12:39:28 +0900, Katsumi Yamaoka wrote: > 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. A patch: --- lisp/international/quail.el~ 2017-11-26 22:09:06.936385900 +0000 +++ lisp/international/quail.el 2017-11-30 04:01:39.868772300 +0000 @@ -1332,3 +1332,5 @@ (defun quail-input-method (key) - (if (or buffer-read-only + (if (or (and buffer-read-only + (not (or inhibit-read-only + (get-char-property (point) 'inhibit-read-only)))) (and overriding-terminal-local-map From debbugs-submit-bounces@debbugs.gnu.org Sat Dec 09 04:06:18 2017 Received: (at 29504) by debbugs.gnu.org; 9 Dec 2017 09:06:18 +0000 Received: from localhost ([127.0.0.1]:53112 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eNb5O-00009x-3f for submit@debbugs.gnu.org; Sat, 09 Dec 2017 04:06:18 -0500 Received: from eggs.gnu.org ([208.118.235.92]:33604) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eNb5M-00009j-Tc for 29504@debbugs.gnu.org; Sat, 09 Dec 2017 04:06:17 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eNb5C-0005RU-W1 for 29504@debbugs.gnu.org; Sat, 09 Dec 2017 04:06:11 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:58552) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eNb5C-0005RO-Sg; Sat, 09 Dec 2017 04:06:06 -0500 Received: from [176.228.60.248] (port=4258 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1eNb5C-0002ZX-As; Sat, 09 Dec 2017 04:06:06 -0500 Date: Sat, 09 Dec 2017 11:05:49 +0200 Message-Id: <83d13ouv82.fsf@gnu.org> From: Eli Zaretskii To: Katsumi Yamaoka In-reply-to: (message from Katsumi Yamaoka on Thu, 30 Nov 2017 13:03:30 +0900) Subject: Re: bug#29504: 26.0.90; Can't enter Japanes text in a read-only buffer even if inhibit-read-only is t References: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 29504 Cc: 29504@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) > Date: Thu, 30 Nov 2017 13:03:30 +0900 > From: Katsumi Yamaoka > > On Thu, 30 Nov 2017 12:39:28 +0900, Katsumi Yamaoka wrote: > > 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. > > A patch: > > --- lisp/international/quail.el~ 2017-11-26 22:09:06.936385900 +0000 > +++ lisp/international/quail.el 2017-11-30 04:01:39.868772300 +0000 > @@ -1332,3 +1332,5 @@ > (defun quail-input-method (key) > - (if (or buffer-read-only > + (if (or (and buffer-read-only > + (not (or inhibit-read-only > + (get-char-property (point) 'inhibit-read-only)))) > (and overriding-terminal-local-map > Looks OK to me. Please push to the emacs-26 branch, and thanks. From debbugs-submit-bounces@debbugs.gnu.org Sun Dec 10 20:28:39 2017 Received: (at 29504-done) by debbugs.gnu.org; 11 Dec 2017 01:28:39 +0000 Received: from localhost ([127.0.0.1]:55783 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eOCtb-0001PS-34 for submit@debbugs.gnu.org; Sun, 10 Dec 2017 20:28:39 -0500 Received: from mail-hampton.hostforweb.net ([205.234.186.191]:47442 helo=hampton.hostforweb.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eOCtZ-0001PE-Fp for 29504-done@debbugs.gnu.org; Sun, 10 Dec 2017 20:28:37 -0500 Received: from s70.gtokyofl21.vectant.ne.jp ([202.215.75.70]:60000 helo=localhost) by hampton.hostforweb.net with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.89) (envelope-from ) id 1eOCtR-000ivV-8E; Sun, 10 Dec 2017 19:28:30 -0600 Date: Mon, 11 Dec 2017 10:28:32 +0900 Message-ID: From: Katsumi Yamaoka To: Eli Zaretskii Subject: Re: bug#29504: 26.0.90; Can't enter Japanes text in a read-only buffer even if inhibit-read-only is t References: <83d13ouv82.fsf@gnu.org> Organization: Emacsen advocacy group X-Face: #kKnN,xUnmKia.'[pp`; Omh}odZK)?7wQSl"4o04=EixTF+V[""w~iNbM9ZL+.b*_CxUmFk B#Fu[*?MZZH@IkN:!"\w%I_zt>[$nm7nQosZ<3eu; B:$Q_:p!',P.c0-_Cy[dz4oIpw0ESA^D*1Lw= L&i*6&( Cancel-Lock: sha1:9T5kpaaW0X+kQLSkP2vYIw/oObA= MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-OutGoing-Spam-Status: No, score=-1.0 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - hampton.hostforweb.net X-AntiAbuse: Original Domain - debbugs.gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - jpl.org X-Get-Message-Sender-Via: hampton.hostforweb.net: authenticated_id: yamaoka/from_h X-Authenticated-Sender: hampton.hostforweb.net: yamaoka@jpl.org X-Source: X-Source-Args: X-Source-Dir: X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 29504-done Cc: 29504-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) 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. From unknown Wed Jun 18 23:18:05 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Mon, 08 Jan 2018 12:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator