From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#44466: 27.1; quail input fails at read-only boundary Date: Sat, 07 Nov 2020 15:47:01 +0200 Message-ID: <83eel56zze.fsf@gnu.org> References: <878sbfvrs7.fsf@dick> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="31707"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 44466@debbugs.gnu.org To: dick , Evgeny Zajcev Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Nov 07 14:48:10 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kbOZe-00086H-JT for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 07 Nov 2020 14:48:10 +0100 Original-Received: from localhost ([::1]:58180 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kbOZd-00084Y-2M for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 07 Nov 2020 08:48:09 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33414) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kbOZW-00084Q-OE for bug-gnu-emacs@gnu.org; Sat, 07 Nov 2020 08:48:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:46590) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kbOZW-0006MO-FH for bug-gnu-emacs@gnu.org; Sat, 07 Nov 2020 08:48:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kbOZW-0006G7-Dk for bug-gnu-emacs@gnu.org; Sat, 07 Nov 2020 08:48:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 07 Nov 2020 13:48:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44466 X-GNU-PR-Package: emacs Original-Received: via spool by 44466-submit@debbugs.gnu.org id=B44466.160475682823998 (code B ref 44466); Sat, 07 Nov 2020 13:48:02 +0000 Original-Received: (at 44466) by debbugs.gnu.org; 7 Nov 2020 13:47:08 +0000 Original-Received: from localhost ([127.0.0.1]:58136 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kbOYe-0006Ez-D6 for submit@debbugs.gnu.org; Sat, 07 Nov 2020 08:47:08 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:33218) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kbOYc-0006EV-8Y for 44466@debbugs.gnu.org; Sat, 07 Nov 2020 08:47:06 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:58829) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kbOYW-00064F-Ui; Sat, 07 Nov 2020 08:47:00 -0500 Original-Received: from [176.228.60.248] (port=1770 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kbOYW-0003o3-9O; Sat, 07 Nov 2020 08:47:00 -0500 In-Reply-To: <878sbfvrs7.fsf@dick> (message from dick on Thu, 05 Nov 2020 08:48:08 -0500) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:192830 Archived-At: > From: dick > Date: Thu, 05 Nov 2020 08:48:08 -0500 > > > Run this: > > emacs-27.1 -Q -nw --eval "(progn \ > (switch-to-buffer \"*scratch*\") \ > (erase-buffer) \ > (save-excursion (insert (propertize \"\n\" 'read-only t))) \ > (set-input-method \"russian-computer\" t))" > > Now type "a". Note it is incorrect. We want cyrillic, not latin. Thanks. This is due to an attempt to fix a different problem, see https://lists.gnu.org/archive/html/emacs-devel/2019-09/msg00093.html Evgeny, could you please look into this? Thinking about the original problem now, I actually don't think I understand why the fix we installed then is correct. It seems to effectively disable an input method in that case, but why is that TRT, even if we are on a button, let alone in a buffer with point at a character with read-only property? So I'm inclined to revert the change.