From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eric Abrahamsen Newsgroups: gmane.emacs.bugs Subject: bug#21456: 24.5; Emacs does not respect fcitx as GTK input method Date: Fri, 04 Dec 2020 10:13:13 -0800 Message-ID: <877dpxo2x2.fsf@ericabrahamsen.net> References: <55F2493F.5070007@acreman.net> <87k0tztaka.fsf@gnus.org> <87zh2u932t.fsf@ericabrahamsen.net> <87pn3pnbib.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10129"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 21456@debbugs.gnu.org, Zachary Acreman To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Dec 04 21:48:41 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 1klI0O-0002Xb-A7 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 04 Dec 2020 21:48:40 +0100 Original-Received: from localhost ([::1]:32960 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1klI0N-0007w7-B7 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 04 Dec 2020 15:48:39 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60454) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1klFal-00070o-LF for bug-gnu-emacs@gnu.org; Fri, 04 Dec 2020 13:14:08 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:34155) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1klFak-000331-BV for bug-gnu-emacs@gnu.org; Fri, 04 Dec 2020 13:14:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1klFak-0006v9-78 for bug-gnu-emacs@gnu.org; Fri, 04 Dec 2020 13:14:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eric Abrahamsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 04 Dec 2020 18:14:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21456 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 21456-submit@debbugs.gnu.org id=B21456.160710560626437 (code B ref 21456); Fri, 04 Dec 2020 18:14:02 +0000 Original-Received: (at 21456) by debbugs.gnu.org; 4 Dec 2020 18:13:26 +0000 Original-Received: from localhost ([127.0.0.1]:45671 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1klFa9-0006sL-QM for submit@debbugs.gnu.org; Fri, 04 Dec 2020 13:13:26 -0500 Original-Received: from ericabrahamsen.net ([52.70.2.18]:44114 helo=mail.ericabrahamsen.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1klFa7-0006ro-54 for 21456@debbugs.gnu.org; Fri, 04 Dec 2020 13:13:24 -0500 Original-Received: from localhost (c-73-254-86-141.hsd1.wa.comcast.net [73.254.86.141]) (Authenticated sender: eric@ericabrahamsen.net) by mail.ericabrahamsen.net (Postfix) with ESMTPSA id BF35AFA094; Fri, 4 Dec 2020 18:13:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ericabrahamsen.net; s=mail; t=1607105597; bh=JN5HUBa/Rwiqsys9tJWnehtX1JNDA7dK8xNZIlxgtQE=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=sIMPQapR0I+Yv5klvEgQnfPQwTFsV9PozOjKfLvO1vU/FmeRKlqYQlDrcPOmDwlfJ jwxsozkUIQ4NhfGP93QSQdxgAoGVDzELf88yWd1bF2TW6Lc0zigN6QJi4SDY6f6r19 20DqiVBO6FhXf1kfWnxMW1deIAagyiuBke4SsUI4= In-Reply-To: <87pn3pnbib.fsf@gnus.org> (Lars Ingebrigtsen's message of "Fri, 04 Dec 2020 10:53:00 +0100") 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:195007 Archived-At: On 12/04/20 10:53 AM, Lars Ingebrigtsen wrote: > Eric Abrahamsen writes: > >> Reproduction would likely require installing and configuring fcitx, if >> you're willing to do that. > > Sure. > >> It's 100% reproducible, and I've started >> Emacs like this for many years in order to make it work: >> >> env LC_CTYPE=zh_CN.UTF-8 /home/eric/dev/emacs/src/emacs >> >> I thought that might cause other weirdness in Emacs, but it never did, >> not that I noticed. > > But how do you reproduce the error? Start fcitx, configure it to toggle between English and Chinese, note the "trigger key" (I've set mine to F7). Start Emacs, hit the trigger key, and Emacs tells me " is undefined". In all other applications, F7 toggles the input method. It's been a while since I messed with this, so I did some experimentation. I've had such hit-or-miss luck with using Emacs and the system-wide input method that I think I've been using Emacs' own input for a while. I'm using an Arch Linux machine running the sway Wayland tiling window manager, and it turns out that under this setup fcitx doesn't work in Emacs even with the LC_TYPE incantation that used to work. I wasn't able to get the compose key to work either (" is undefined"). It's possible that the LC_TYPE thing will still work under X11. I've been running the pgtk branch as a daily driver since it was added to the repo, and under that branch both fcitx and the compose key work as expected with no special configuration. The package repos have a "fcitx" package, which I've never used, which might solve this problem a different way. HTH, Eric