From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: HaiJun Zhang Newsgroups: gmane.emacs.bugs Subject: bug#23412: 25.1.50; GUI Emacs on Mac OS X: text is keeping shaking/re-displaying when insert text with external input method Date: Sun, 22 Dec 2019 19:32:57 +0800 Message-ID: References: <20191217202837.GA18094@breton.holly.idiocy.org> <20191218204422.GA22550@breton.holly.idiocy.org> <1FE824D7-2765-4CF6-98B8-912AA2FAA646@icloud.com> <20191221225423.GA28900@breton.holly.idiocy.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="5dff546f_749abb43_4a9" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="155628"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 23412@debbugs.gnu.org To: tsuucat , Alan Third Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Dec 22 12:34:15 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iizUz-000eIN-N3 for geb-bug-gnu-emacs@m.gmane.org; Sun, 22 Dec 2019 12:34:13 +0100 Original-Received: from localhost ([::1]:46432 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iizUy-0002EQ-F4 for geb-bug-gnu-emacs@m.gmane.org; Sun, 22 Dec 2019 06:34:12 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47327) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iizUr-0002Cg-Iw for bug-gnu-emacs@gnu.org; Sun, 22 Dec 2019 06:34:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iizUp-0007eD-97 for bug-gnu-emacs@gnu.org; Sun, 22 Dec 2019 06:34:05 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:43138) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iizUo-0007bT-Lr for bug-gnu-emacs@gnu.org; Sun, 22 Dec 2019 06:34:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iizUo-0007xS-HW for bug-gnu-emacs@gnu.org; Sun, 22 Dec 2019 06:34:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: HaiJun Zhang Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 22 Dec 2019 11:34:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23412 X-GNU-PR-Package: emacs Original-Received: via spool by 23412-submit@debbugs.gnu.org id=B23412.157701439830530 (code B ref 23412); Sun, 22 Dec 2019 11:34:02 +0000 Original-Received: (at 23412) by debbugs.gnu.org; 22 Dec 2019 11:33:18 +0000 Original-Received: from localhost ([127.0.0.1]:49111 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iizU5-0007wM-QR for submit@debbugs.gnu.org; Sun, 22 Dec 2019 06:33:18 -0500 Original-Received: from mail-oln040092254100.outbound.protection.outlook.com ([40.92.254.100]:31884 helo=APC01-PU1-obe.outbound.protection.outlook.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iizU2-0007w7-Vb for 23412@debbugs.gnu.org; Sun, 22 Dec 2019 06:33:16 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Cf22wZb3aAcjAmGvD0xkkBEW0OGoBIExJvU4abnNaCAfVv1QS0REdFUea6SQLCAjX64+TST+jDJlKdCQtbt6SmiekfuaVGzMR9wr3b9aw9cSYEJO8KLHQwC48FqCdI8usAPb0TrNsm8i2+wmL5ZqstlUmIFM79VkUY3B+2DrpWpP5srft8kQVGzGvbEgqUItk0FzpO6QgPlFEivOrYSaDsvDl2tWEe5WdTGQXtLQShL79gggT+Ec7+TOx3z5hj7SqD/n4ISTrsJxeJlLp8lyRI4IAyHY5JpTIM7vG62BJ1HJMY0QGL65UWwnNCtif/SqF29TZHdRoqpF4kxnrvKgUQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=6zXsjP88E99ydOCljgyQfg3YnXxG8Wx7ge0yz3JqeM0=; b=lE2QNFGWEeHiDzQsfc2ys88cVyqpT7aCLmsYfxtvIor8z9D3wbY1BKG/odVtMd+hbd+Lag8vmRPQOphMcEehmSs/yJOW4JH0VDNC0rMLsW/7YX/HUgfzt042H82DmMvTVCBv1fOxdFE0E4dXFcOpIu4D+dDxlGv7cMYxV/S94sArdlHb1qerZzxIagQGIx3fEayqQIBaNL7TCZai15TQV2drq86TDNDoQz7ppkBPRMwwBdkGDRDpcuJbaZTBI/6RYfbnWka9YMhIEosPMNuU9OPNneFbzOZMgDJC8MeYhauxLZKuyxxfXpjvS2QmTPUYzcWS8EweHKi3sqdSsGTXvw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=outlook.com; dmarc=pass action=none header.from=outlook.com; dkim=pass header.d=outlook.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=6zXsjP88E99ydOCljgyQfg3YnXxG8Wx7ge0yz3JqeM0=; b=aiLPAI852/a+PD9EozOlzyjd9HGQjxn51Fvoso7ax61YZllE6dmZyfrYEkpdli+Etr4Xq669c4AHufDmqRoYV3PXTBuD7yZnJL97li6XXPAVsdBjCcRZv/4148vIdyjjYwhXA3stvKN3J7exLcB3pAq4pLKm6hh9rrs8G+3fWVHN85+a9sCPMiarKH2fUnrkq6C/qN51T/J9Z5FB8MzlCqWh9v7BgnVWgXrZGxjMpRXG+WtUMp9qDMbaAB7tJQAl4cXPfILKt4lK58OglpuZRlYY/44edIPRTFQfA4OpIHHN2WjK1lijkPIDtdRpYexiUjZO4WuC30z5En8wzhguYQ== Original-Received: from SG2APC01FT048.eop-APC01.prod.protection.outlook.com (10.152.250.53) by SG2APC01HT146.eop-APC01.prod.protection.outlook.com (10.152.251.69) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2559.14; Sun, 22 Dec 2019 11:33:06 +0000 Original-Received: from PS1PR03MB3606.apcprd03.prod.outlook.com (10.152.250.51) by SG2APC01FT048.mail.protection.outlook.com (10.152.251.160) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2559.14 via Frontend Transport; Sun, 22 Dec 2019 11:33:06 +0000 X-IncomingTopHeaderMarker: OriginalChecksum:FF1E76A77E14FB1A301469F6BD098D1AF43BD143C34C2CFB16AE5BC8F846AF95; UpperCasedChecksum:D9B654B6D961BA2600239125F6E46771E083E9CA83407C6A7684886F9A9979DC; SizeAsReceived:9213; Count:48 Original-Received: from PS1PR03MB3606.apcprd03.prod.outlook.com ([fe80::b05a:28e4:205a:d7d4]) by PS1PR03MB3606.apcprd03.prod.outlook.com ([fe80::b05a:28e4:205a:d7d4%5]) with mapi id 15.20.2559.017; Sun, 22 Dec 2019 11:33:06 +0000 In-Reply-To: <20191221225423.GA28900@breton.holly.idiocy.org> X-Readdle-Message-ID: 67685bab-f1dd-497d-bdb8-d1c2531f4db8@Spark X-ClientProxiedBy: HK2PR03CA0044.apcprd03.prod.outlook.com (2603:1096:202:17::14) To PS1PR03MB3606.apcprd03.prod.outlook.com (2603:1096:803:4e::17) X-Microsoft-Original-Message-ID: <67685bab-f1dd-497d-bdb8-d1c2531f4db8@Spark> Original-Received: from [192.168.1.103] (1.196.186.208) by HK2PR03CA0044.apcprd03.prod.outlook.com (2603:1096:202:17::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2581.4 via Frontend Transport; Sun, 22 Dec 2019 11:33:05 +0000 X-Readdle-Message-ID: 67685bab-f1dd-497d-bdb8-d1c2531f4db8@Spark X-Microsoft-Original-Message-ID: <67685bab-f1dd-497d-bdb8-d1c2531f4db8@Spark> X-TMN: [NGSo1OeDmRKdcpBChRgUHEtgvh4cp6nP] X-MS-PublicTrafficType: Email X-IncomingHeaderCount: 48 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-Correlation-Id: dae033a3-845d-4ce9-0746-08d786d2b6aa X-MS-TrafficTypeDiagnostic: SG2APC01HT146: X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: fXP7vcHn9TwHR8z05Q2HDWbveibztvgfH8IH7QAajYAlRNJdEywyrL3aP79V5ZhD2VX8R4UtzoyM+mMAwybMCPAFXQRooxX1wuBrkgQasIlwkWyA94Adzp1A7UXWcxYkxLAbaH4TYlC5+X7i++wcmMq80z4odpMcJUXQRPIOjvceRf7zlljaPS7CpkVuTxWf X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: dae033a3-845d-4ce9-0746-08d786d2b6aa X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Dec 2019 11:33:06.4233 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-FromEntityHeader: Internet X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: SG2APC01HT146 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:173631 Archived-At: --5dff546f_749abb43_4a9 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline =E5=9C=A8 2019=E5=B9=B412=E6=9C=8822=E6=97=A5 +0800 AM6:54=EF=BC=8CAlan T= hird =EF=BC=8C=E5=86=99=E9=81=93=EF=BC=9A > > I could have sworn we had another bug open for this, but I can=E2=80=99= t find > it right now=E2=80=A6 It may be the bug in the fixme of ns-insert-working-text=3F =C2=A0 ;; =46IXME: if buffer is read-only, don=E2=80=99t try to insert an= ything =C2=A0 ;; and if text is bound to a command, execute that instead (Bug=23= 1453) Two issues in it. I don=E2=80=99t think the former is a problem to me. Th= e working text is not the real text to be inserted into the buffer. It is= just like a tip message. =46or the latter, I think the better resolution is to let emacs interact = with the input method. Let emacs tell the input method to switch to Engli= sh when the buffer only accepts English chars. --5dff546f_749abb43_4a9 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline
=E5=9C=A8 2019=E5=B9=B412=E6=9C=8822=E6= =97=A5 +0800 AM6:54=EF=BC=8CAlan Third <alan@idiocy.org>=EF=BC=8C= =E5=86=99=E9=81=93=EF=BC=9A

I could have sworn we had another bug open for this, but I can=E2=80=99t fi= nd
it right now=E2=80=A6 

It may be the bug in the fixme of ns-insert-working-text?

  ;; FIXME: if buffer is read-only, don=E2=80=99t tr= y to insert anything
  ;; and if text is bound to a command, execute that= instead (Bug#1453)

Two issues in it. I don=E2=80=99t think the former is a p= roblem to me. The working text is not the real text to be inserted into the= buffer. It is just like a tip message.
For the latter, I think the better resolution is to let e= macs interact with the input method. Let emacs tell the input method to swi= tch to English when the buffer only accepts English chars.
--5dff546f_749abb43_4a9--