From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: lg.zevlg@gmail.com Newsgroups: gmane.emacs.bugs Subject: bug#44466: 27.1; quail input fails at read-only boundary Date: Sun, 8 Nov 2020 23:50:54 +0400 Message-ID: <23507480-E72C-4641-806F-67E13B411A16@gmail.com> References: <83mtzr6cvn.fsf@gnu.org> Mime-Version: 1.0 (1.0) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39163"; mail-complaints-to="usenet@ciao.gmane.io" Cc: dick.r.chiang@gmail.com, 44466@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Nov 08 20:52:11 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 1kbqjS-000A7D-TN for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 08 Nov 2020 20:52:10 +0100 Original-Received: from localhost ([::1]:34924 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kbqjR-0008BD-VM for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 08 Nov 2020 14:52:09 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45474) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kbqjK-0008AA-PA for bug-gnu-emacs@gnu.org; Sun, 08 Nov 2020 14:52:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:49786) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kbqjJ-0002lo-Uk for bug-gnu-emacs@gnu.org; Sun, 08 Nov 2020 14:52:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kbqjJ-0001ru-TV for bug-gnu-emacs@gnu.org; Sun, 08 Nov 2020 14:52:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: lg.zevlg@gmail.com Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 08 Nov 2020 19:52:01 +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.16048650657116 (code B ref 44466); Sun, 08 Nov 2020 19:52:01 +0000 Original-Received: (at 44466) by debbugs.gnu.org; 8 Nov 2020 19:51:05 +0000 Original-Received: from localhost ([127.0.0.1]:33099 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kbqiO-0001qh-Tv for submit@debbugs.gnu.org; Sun, 08 Nov 2020 14:51:05 -0500 Original-Received: from mail-lf1-f50.google.com ([209.85.167.50]:36530) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kbqiN-0001qD-IO for 44466@debbugs.gnu.org; Sun, 08 Nov 2020 14:51:04 -0500 Original-Received: by mail-lf1-f50.google.com with SMTP id f11so3008616lfs.3 for <44466@debbugs.gnu.org>; Sun, 08 Nov 2020 11:51:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=content-transfer-encoding:from:mime-version:subject:date:message-id :references:cc:in-reply-to:to; bh=NSr8lD5PF3rwZNAY282YxZ/wr/XdmsrSEiaCkMCwEJM=; b=A2fVVrmClt2H72JjLJButMpCIJSEN+huFdaAg+zjzPCISPeyLfUo+VkblxrgF5cV8g 8yrE15wu6YRj7uw9ae1/naD7GpF2lnbTbNopnTbKa+Uj2BfxT8jhV2hYH4F6PsycZiCQ mknwfiMDpbLDhsl59pcCLWxPkbu/KvlEfjEUls4IdX/gz7tMuaYFtZHpGGVc+PtuZQ7w d/VoVRLO1At0Nrc3b/XQfYUOeSwBLUpmYOPNi77YBJ3Uuh0fFovMmwmARUjI4Y22nru7 nCVm5RqGUt7AGcZXMEEzQA7B8F1J7AsFsK14FTN7SanckIkzV01XgDTjCCBzVQBcd18V SPsA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:content-transfer-encoding:from:mime-version :subject:date:message-id:references:cc:in-reply-to:to; bh=NSr8lD5PF3rwZNAY282YxZ/wr/XdmsrSEiaCkMCwEJM=; b=UCOKeR0M2zc8U1crtpZV7ZeYsLmt05/DNC9/20pPPrFlJjQMnxvkxLSMijrIL2VLq0 Wzc7pTasVqarvxyPvOFNd9YVR/0mFCzNUp8vl7FP61M2q78PMpGSHTVxLq7isDyoGXLU /9/7pdrlEfXFKZkNTlrImvZqAcYgsqTyJXt8i3h41J0ELSmCbvr/F34gPoFzYLrZr+78 NJM5D53oC3DbK3J8mOvlqBtRVOxS33ei5tAXIn8rvtblswvJJD5GTEZ1w7c1hODMNwev nqFjqBR7xK8E2mxQiNGATyGZGO0FPmPt7d5OCD1onCoe0HdWPhCkJLn03CZYOVw22RxS dlGw== X-Gm-Message-State: AOAM533df5jK73sHdxLaLD3Mh0LvH2xBA/SAQupzKki6fBFw3FhY29hF 00vjNO2q2F/PUhykoukzauM= X-Google-Smtp-Source: ABdhPJzYZEJNsKfuQbQ8666YMHVxnpyz3DLXk1zXs33asEbHqVHjbqcrltjbI1C4rfLfU63H394L6w== X-Received: by 2002:a19:ad6:: with SMTP id 205mr4246259lfk.522.1604865057334; Sun, 08 Nov 2020 11:50:57 -0800 (PST) Original-Received: from localhost.localdomain ([31.173.80.178]) by smtp.gmail.com with ESMTPSA id u1sm1543811lfk.130.2020.11.08.11.50.56 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 08 Nov 2020 11:50:56 -0800 (PST) In-Reply-To: <83mtzr6cvn.fsf@gnu.org> X-Mailer: iPad Mail (18A373) 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:192903 Archived-At: > 8 =D0=BD=D0=BE=D1=8F=D0=B1. 2020 =D0=B3., =D0=B2 20:18, Eli Zaretskii =D0=BD=D0=B0=D0=BF=D0=B8=D1=81=D0=B0=D0=BB(=D0=B0): >=20 > =EF=BB=BF >>=20 >> From: lg.zevlg@gmail.com >> Date: Sun, 8 Nov 2020 20:07:46 +0400 >> Cc: dick.r.chiang@gmail.com, 44466@debbugs.gnu.org >>=20 >>> Any reason why pressing a key on a button should disregard the active >>> input method? What if the button needs the user to type the character >>> which the input method would produce? AFAIU, the patch we installed a >>> year ago makes this impossible. >>=20 >> The reason is the same as for read-only buffers, making single char bindi= ngs work. For example if you change input method in image-mode and press =E2= =80=9Cq=E2=80=9D key this will kill buffer, because correct command is execu= ted. >=20 > If this is a feature, it should be documented somewhere. Is it? I guess so, this feature was in Emacs for years. Usually people marks whole b= uffer as read-only and then mark special places to inhibit read-only, so qua= il translation inhibits for read-only parts and does the translation in writ= able parts. In telega.el project we do opposit - insert read-only parts in w= ritable buffer and expect quail translation not to apply in that read-only p= arts of the buffer. We might change this behaviour, so patch to quail could b= e reverted, however I think it is better to fix this in quail, to reflect th= e logic in internal checks for region writability =E2=80=94 lg