From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Po Lu via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#53698: 29.0.50; ibus input method of chinese with rime engine can't work in v27 and ibus candidate menu blink in v29 Date: Thu, 03 Feb 2022 20:06:13 +0800 Message-ID: <87tudg5f4a.fsf@yahoo.com> References: <87ee4k924n.fsf@yahoo.com> <20220203123202+0100.45147-stepnem@gmail.com> Reply-To: Po Lu Mime-Version: 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="4692"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.60 (gnu/linux) Cc: 53698@debbugs.gnu.org, Eli Zaretskii , =?UTF-8?Q?=E6=B1=9F_?= =?UTF-8?Q?=E6=9A=87=E7=96=86?= To: =?UTF-8?Q?=C5=A0t=C4=9Bp=C3=A1n_?= =?UTF-8?Q?N=C4=9Bmec?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Feb 03 13:08:15 2022 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 1nFauN-000127-4g for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 03 Feb 2022 13:08:15 +0100 Original-Received: from localhost ([::1]:36404 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nFauL-0003Fp-Aj for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 03 Feb 2022 07:08:13 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:52654) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nFatf-0003FP-0M for bug-gnu-emacs@gnu.org; Thu, 03 Feb 2022 07:07:31 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:60818) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nFatC-00007U-1k for bug-gnu-emacs@gnu.org; Thu, 03 Feb 2022 07:07:30 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nFatB-0005dU-Ll for bug-gnu-emacs@gnu.org; Thu, 03 Feb 2022 07:07:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Po Lu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 03 Feb 2022 12:07:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53698 X-GNU-PR-Package: emacs Original-Received: via spool by 53698-submit@debbugs.gnu.org id=B53698.164388999421617 (code B ref 53698); Thu, 03 Feb 2022 12:07:01 +0000 Original-Received: (at 53698) by debbugs.gnu.org; 3 Feb 2022 12:06:34 +0000 Original-Received: from localhost ([127.0.0.1]:54715 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nFask-0005cb-7w for submit@debbugs.gnu.org; Thu, 03 Feb 2022 07:06:34 -0500 Original-Received: from sonic306-20.consmr.mail.ne1.yahoo.com ([66.163.189.82]:34913) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nFash-0005cK-GB for 53698@debbugs.gnu.org; Thu, 03 Feb 2022 07:06:32 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1643889986; bh=CC+S7zjp3zXbim4Ph63+jTHLOD5GaQcDqotGrMEJM3M=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=AwB6jWk2JcAjz/zJ5GRvWow54gPSTXG8y195s2+LD/QRarqLDIWbP0wO5s5JJ/W3JcFLCOlxWzIUisuDtZLUKjbnESsyeRCygPKgUmcoWtWAmZzESq9+7IDKkxiH6iTjUUvBtaEZzoKzKPAPSrAIpsfOlKcHDlTVrU+eu3vfBRR7XBPFWm1IzMR7ILoWBlPH5u0z68GRxxIis3XFBNY9q4hoG5XsAfXNv0Esgg2IS083WDfPGEyRPaX745RebmF4b0jt4VYxT4em5oInBDVgIYVwzX/c+XCZsd/7VgvnDsBYV4XwLvETx86Dh+e7yvlln9ATAO2Hdkqi2bwkek0aQw== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1643889986; bh=IZCgyMebgCd4ICDF7zZjJ0ZP5kj1ASEDbu8r7RVEHVB=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=sTmc8yFFqSTnamFCySk7fZO1d+F78jybmwTzhyERjCnCB43xN4Z1ggb8YK3vCjv45U4EgDWXiVQxiyurVAcYj6zR2JP85F/P7LAKTr/XoAXqXuMLE47WUdznwTdTsmUFbOcTseoicvma0jm4oi9fpKTSodINX/K98c1PNw7HtX5dOZYrTqYO8Hbi0iR6YMN0ilQ67nWjo/KJd5MnMF0qgGQ+jwEdnpQHHsWTIQY5xmW3b7wW4HbvdG1/WnNG0AIlrgYJrLHR+dXAdC7tb0mwLEUlp2AE9MvjuVVz49rk04TOxSeL8C8e4HJNmHEu3d+UcIlORUVq51LqFXpJd47cZw== X-YMail-OSG: Yua1RuoVM1ldXS1tF.30i2Txm1dTKt8LgAacf1qi6x6r1jm6YT.gSiV55wFWtpv iOJuPkk5vjqEgxYjf01M9gd39_fAVJfIx.ZO.2.141drkXlhS4RwSVIHgg.9g2SEXGZRxRBTIkTY J13gvAkOjvwtfUR5P2Tb1MgENljYgtLAwg6xyqskXG3jEpYobFFltUEdVMtvAXorr3raUuNun5mK l8g1genLyu.EvaE2MVFG_ztsbXfnGu6N89S1htxmZHetGTlkXYoF96KtZIzGyNqIIMTkV8fUoF5i LLI.ukMetPjl1y9AEM74_6WXCivlzckIdzcvigtiUVQa7iLoC2dTH.6_mmZb4gAd31ZjG3E7sTxo _dDturei_u97Uy5aZPUMpH7wNt_or_YxomDwRIVn9HFZzYkP5VqktnuXayVgGXkm5zc9TdbWUV75 3v8gjcH9KM4yjPPENRx8t1GrIDxrTVaW_ls6yBRJZdjBXP1WO23iBKGzLZ8pR5rSl28cJCsMSLVF uLkWa2LcTxGzXspv9bfJ9aFi9DCsJNcO2V3sB8rcksvslhG122fPJgWOC6o0GHU_JjIQfxn2XiXV X19f1MizMsnvzwNrwpWgC9R_zk3uX5oplJzSRV9uRCdJwcO5A2ohkMmT6WYDl91qv75_d9uVNBnC iVCOvQe9ilcpWDRGGsiUSiow2gVvCO4UpigQQGDJ4nb7RtZgkGUijBXh7E3YfL_BacCFCiFeriAM 7hGMgcQmB93FsKhz_FsqFiGIfA1SY7GET5dtvaN3Z3._3f4hFAMY_Dbd1oMPFF.hptxFHQrBia.P IHJlfEqQQNDi3oB5gDy8PYjKwuMrFO27Tr9W_gSeqH X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic306.consmr.mail.ne1.yahoo.com with HTTP; Thu, 3 Feb 2022 12:06:26 +0000 Original-Received: by kubenode518.mail-prod1.omega.sg3.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID d2e4247c0f97cf7879e6fbeb3a1d53d6; Thu, 03 Feb 2022 12:06:19 +0000 (UTC) In-Reply-To: <20220203123202+0100.45147-stepnem@gmail.com> ("=?UTF-8?Q?=C5=A0t=C4=9Bp=C3=A1n_?= =?UTF-8?Q?N=C4=9Bmec?="'s message of "Thu, 03 Feb 2022 12:32:02 +0100") X-Mailer: WebService/1.1.19615 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo 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:225877 Archived-At: =C5=A0t=C4=9Bp=C3=A1n N=C4=9Bmec writes: > The problem with that option is that it apparently breaks some key > modifiers, e.g. with x-gtk-use-native-input non-nil it becomes > impossible to bind C-S-u (Emacs processes it the same as C-u). Yes, the problem is the same as on the PGTK port, since both use the same input method system. > AFAICT, X input has been broken (or rather, you get to pick: either you > get working IME (with x-gtk-use-native-input non-nil), or working > modifier keybindings (with it being nil); but given that > x-gtk-use-native-input defaults to nil, for many/most people IME will > just stop working; It works here for me (Fedora 35, stock GNOME with IBus), but we do want to fix this problem and keep X input methods working as well as they used to. Do you see the same problem in other programs that use XIM, such as xterm? If not, try placing: Emacs.inputStyle: none in your X defaults file, and see if that solves the problem. Most of this is caused by a more fundamental problem: XIM is an obsolete interface with many limitations; most applications today rely on the authors of input method frameworks to provide input modules for their specific toolkit, and as a result the XIM backends for input method frameworks get very little testing and are buggy. Unfortunately, since we cannot demand that input method frame developers provide modules specifically for supporting Emacs, the only choice we have is between using the legacy interface standard to X (XIM) or the toolkit's input method system (GTK native input), each with its own limitations and advantages. It's a sad situation, but there's nothing we can do. > also, it's not just IMEs like fcitx or ibus, XkbLayout switching has > the same problem) since the commit that introduced the option > (bisected yesterday): > > commit d76fb0c11e98 > Author: Po Lu > Date: Sat Jan 8 15:21:51 2022 +0800 > > Allow using GTK+ to handle input methods on X Are you sure that's the commit which introduced this bug, and not one of the preceeding commits that added features to the XIM support? I find that hard to believe, since it doesn't touch anything related to XIM. Thanks.