From unknown Sun Jun 22 19:07:55 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#21456 <21456@debbugs.gnu.org> To: bug#21456 <21456@debbugs.gnu.org> Subject: Status: 24.5; Emacs does not respect fcitx as GTK input method Reply-To: bug#21456 <21456@debbugs.gnu.org> Date: Mon, 23 Jun 2025 02:07:55 +0000 retitle 21456 24.5; Emacs does not respect fcitx as GTK input method reassign 21456 emacs submitter 21456 Zachary Acreman severity 21456 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 10 23:55:12 2015 Received: (at submit) by debbugs.gnu.org; 11 Sep 2015 03:55:12 +0000 Received: from localhost ([127.0.0.1]:56009 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZaFQd-00016b-UK for submit@debbugs.gnu.org; Thu, 10 Sep 2015 23:55:12 -0400 Received: from eggs.gnu.org ([208.118.235.92]:58808) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZaEwM-0000NX-Lz for submit@debbugs.gnu.org; Thu, 10 Sep 2015 23:23:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZaEwL-00020X-DZ for submit@debbugs.gnu.org; Thu, 10 Sep 2015 23:23:54 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:36908) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZaEwL-00020R-BX for submit@debbugs.gnu.org; Thu, 10 Sep 2015 23:23:53 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40556) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZaEwK-0002FJ-3l for bug-gnu-emacs@gnu.org; Thu, 10 Sep 2015 23:23:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZaEwG-0001wV-5r for bug-gnu-emacs@gnu.org; Thu, 10 Sep 2015 23:23:52 -0400 Received: from mail-yk0-f178.google.com ([209.85.160.178]:36530) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZaEwG-0001v4-16 for bug-gnu-emacs@gnu.org; Thu, 10 Sep 2015 23:23:48 -0400 Received: by ykdt18 with SMTP id t18so58917040ykd.3 for ; Thu, 10 Sep 2015 20:23:46 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:to:from:subject:message-id:date:user-agent :mime-version:content-type:content-transfer-encoding; bh=QL/pxVs4nviilSlMU7XnSzGqf+oKeO813kpk82/iYdE=; b=PFbTOHv5sG/PCsJJULH49aLWSeIraDhwM6+kq2Uam/kFVITGA2vzN9tdFnubLW+9ri jo8lhbmZd17dCz+u2DGLbU3XzxmT7q5GjQXKqJgZ/0X2i+4yiOQMYiEfFLJfEl9lxOzT GymOtmYtSk/gpbgAk8dgonV2osMRFAxBpImQ+gayrLar9xWigOKL6hIhwvCulg8l7jdP 3JXKVsMOvoHBgXgaFFyVWCmBGJOJeIRvSbcEmz2mkpqcorpxkFhtlwF3eXPXt3y0qQmc +w8qt5ZIBTLw1t86TfxUauO0qLlqJhIZTqlmqmUG1z9SbdLX3X6fBrjOP71vWo0BzTSR WlqQ== X-Gm-Message-State: ALoCoQnyYJ99IHTC3ebzF8BhuHoi1IsoBO4G2xOVddwl24ymr3oX3KwBE+N1j41qeHyh8PmjaJcl X-Received: by 10.129.71.5 with SMTP id u5mr49507382ywa.82.1441941825922; Thu, 10 Sep 2015 20:23:45 -0700 (PDT) Received: from [192.168.1.8] ([190.9.192.58]) by smtp.gmail.com with ESMTPSA id t16sm11512729ywe.45.2015.09.10.20.23.44 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 10 Sep 2015 20:23:45 -0700 (PDT) To: bug-gnu-emacs@gnu.org From: Zachary Acreman Subject: 24.5; Emacs does not respect fcitx as GTK input method Message-ID: <55F2493F.5070007@acreman.net> Date: Thu, 10 Sep 2015 22:23:43 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Thu, 10 Sep 2015 23:55:10 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) Emacs compiled with GTK does not respect fcitx as the system-wide GTK input method. When I use a keyboard configuration with right-alt mapped to Compose, I get " is undefined" messages in Emacs instead of the expected behavior. When I use a keyboard configuration with dead keys for accented characters, I get messages like " is undefined" instead of the expected behavior. Chinese Pinyin input methods are ignored. XMODIFIERS=@im=fcitx GTK_IM_MODULE=fcitx fcitx input works correctly in every other application on this system that I have tested. I am using a freshly downloaded and compiled 24.5 source distribution, because I saw the same problems with the Ubuntu-provided 24.4 package. For the purposes of this bug report, I am running the binary with the -Q flag. In GNU Emacs 24.5.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.14.13) of 2015-09-10 on guru Windowing system distributor `The X.Org Foundation', version 11.0.11701000 System Description: Ubuntu 15.04 Important settings: value of $LC_MONETARY: en_US.UTF-8 value of $LC_NUMERIC: en_US.UTF-8 value of $LC_TIME: en_US.UTF-8 value of $LANG: en_US.UTF-8 value of $XMODIFIERS: @im=fcitx locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent messages: Menu-Bar mode disabled Menu-bar mode disabled. Use M-x menu-bar-mode to make the menu bar appear. Menu-Bar mode enabled Quit Making completion list... Quit is undefined [5 times] @im=fcitx Making completion list... [2 times] Quit Load-path shadows: None found. Features: (shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util help-fns mail-prsvr mail-utils help-mode easymenu cus-start cus-load time-date tooltip electric uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind gfilenotify dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs) Memory information: ((conses 16 78990 7449) (symbols 48 18422 0) (miscs 40 41 99) (strings 32 10686 3295) (string-bytes 1 276107) (vectors 16 8990) (vector-slots 8 384103 17853) (floats 8 65 423) (intervals 56 227 16) (buffers 960 13) (heap 1024 44666 967)) From debbugs-submit-bounces@debbugs.gnu.org Thu Dec 03 06:04:50 2020 Received: (at 21456) by debbugs.gnu.org; 3 Dec 2020 11:04:50 +0000 Received: from localhost ([127.0.0.1]:38627 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kkmPp-0005hD-RC for submit@debbugs.gnu.org; Thu, 03 Dec 2020 06:04:50 -0500 Received: from quimby.gnus.org ([95.216.78.240]:44806) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kkmPn-0005gx-4W for 21456@debbugs.gnu.org; Thu, 03 Dec 2020 06:04:48 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=71V5fazfkJTzhF1fug8lwFoVhA+zC95nlNtdO1VmO4k=; b=FrPC9OhbqaghrDtuz0Tsc5+JXz zvKI+y8dpVebKloRedNQiJaXOm6/h8mIjy8wWtunknz4FGLTK8Dj678JLWAWKSUzwumRo0Buc8V8g 9W4OMF55FasTLGd5ffERD4/sL+QQcEhSIBe4NMNu68QozDerfOQ2VyLCl09jnK7mYPHg=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kkmPe-0002dE-A9; Thu, 03 Dec 2020 12:04:41 +0100 From: Lars Ingebrigtsen To: Zachary Acreman Subject: Re: bug#21456: 24.5; Emacs does not respect fcitx as GTK input method References: <55F2493F.5070007@acreman.net> X-Now-Playing: Old's _Formula_: "Last Look" Date: Thu, 03 Dec 2020 12:04:37 +0100 In-Reply-To: <55F2493F.5070007@acreman.net> (Zachary Acreman's message of "Thu, 10 Sep 2015 22:23:43 -0500") Message-ID: <87k0tztaka.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Zachary Acreman writes: > Emacs compiled with GTK does not respect fcitx as the system-wide GTK > input method. > > When I use a keyboard configuration with right-alt mapped to Compose, I > get " is undefined" mes [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 21456 Cc: 21456@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Zachary Acreman writes: > Emacs compiled with GTK does not respect fcitx as the system-wide GTK > input method. > > When I use a keyboard configuration with right-alt mapped to Compose, I > get " is undefined" messages in Emacs instead of the expected > behavior. > > When I use a keyboard configuration with dead keys for accented > characters, I get messages like " is undefined" instead of > the expected behavior. > > Chinese Pinyin input methods are ignored. > > XMODIFIERS=@im=fcitx > GTK_IM_MODULE=fcitx > > fcitx input works correctly in every other application on this system > that I have tested. (This bug report unfortunately got no response at the time.) Do you have a recipe, starting from "emacs -Q", to reproduce this issue? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Thu Dec 03 06:04:54 2020 Received: (at control) by debbugs.gnu.org; 3 Dec 2020 11:04:54 +0000 Received: from localhost ([127.0.0.1]:38630 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kkmPu-0005hW-2Q for submit@debbugs.gnu.org; Thu, 03 Dec 2020 06:04:54 -0500 Received: from quimby.gnus.org ([95.216.78.240]:44820) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kkmPs-0005h5-KK for control@debbugs.gnu.org; Thu, 03 Dec 2020 06:04:52 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=p8B/es2axfmfl8HQntNrPfhxb01GMO8wVjEWS9amsEo=; b=jOGmVcIDd7GUOUzkm+3WmzHldS u9Ag3V1k6+Nb2D7EESIBu4XF13isCzvLUvUf7n5IadaBPaqFMZ41kOGnQAk0RkJigH0CtPOthHp+X 6DaqsbEMNYlB5/G3sMYCKexYCghbetvO4nhKBJWmiRA2wF1/6o2CkGiRWwpdJAKMZxds=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kkmPk-0002dL-Ue for control@debbugs.gnu.org; Thu, 03 Dec 2020 12:04:47 +0100 Date: Thu, 03 Dec 2020 12:04:43 +0100 Message-Id: <87im9jtak4.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #21456 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 21456 + moreinfo quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) tags 21456 + moreinfo quit From debbugs-submit-bounces@debbugs.gnu.org Thu Dec 03 13:06:44 2020 Received: (at 21456) by debbugs.gnu.org; 3 Dec 2020 18:06:44 +0000 Received: from localhost ([127.0.0.1]:41706 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kkt08-0002HH-5o for submit@debbugs.gnu.org; Thu, 03 Dec 2020 13:06:44 -0500 Received: from ericabrahamsen.net ([52.70.2.18]:44228 helo=mail.ericabrahamsen.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kkt06-0002H1-48 for 21456@debbugs.gnu.org; Thu, 03 Dec 2020 13:06:42 -0500 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 A467DFA08F; Thu, 3 Dec 2020 18:06:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ericabrahamsen.net; s=mail; t=1607018796; bh=Lwb3Ns6oF5wS6YX+QHQgyxFq12O6LGGnScrcK7PCXF8=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=UICA2f7WsRFXwoTXkTH7NY4i74BQjD7Du3Ynt9I1zy1h1VB0soOP/tiNiIjFXN28d ZMcinroTNh9W0Ch4pm05VYPXj7+cGrgwafzp/ruwxHOutkPQZnvJNBC4ygi9UYFFqL gQZVMJ5qFg6RMYgCVzf4dEj/Ix5vNSXSARJB0CHo= From: Eric Abrahamsen To: Lars Ingebrigtsen Subject: Re: bug#21456: 24.5; Emacs does not respect fcitx as GTK input method References: <55F2493F.5070007@acreman.net> <87k0tztaka.fsf@gnus.org> Date: Thu, 03 Dec 2020 10:06:34 -0800 In-Reply-To: <87k0tztaka.fsf@gnus.org> (Lars Ingebrigtsen's message of "Thu, 03 Dec 2020 12:04:37 +0100") Message-ID: <87zh2u932t.fsf@ericabrahamsen.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 21456 Cc: 21456@debbugs.gnu.org, Zachary Acreman X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Lars Ingebrigtsen writes: > Zachary Acreman writes: > >> Emacs compiled with GTK does not respect fcitx as the system-wide GTK >> input method. >> >> When I use a keyboard configuration with right-alt mapped to Compose, I >> get " is undefined" messages in Emacs instead of the expected >> behavior. >> >> When I use a keyboard configuration with dead keys for accented >> characters, I get messages like " is undefined" instead of >> the expected behavior. >> >> Chinese Pinyin input methods are ignored. >> >> XMODIFIERS=@im=fcitx >> GTK_IM_MODULE=fcitx >> >> fcitx input works correctly in every other application on this system >> that I have tested. > > (This bug report unfortunately got no response at the time.) > > Do you have a recipe, starting from "emacs -Q", to reproduce this issue? Reproduction would likely require installing and configuring fcitx, if you're willing to do that. 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. Actually, I'm running the pgtk branch as my daily driver now, maybe it's time to remove that incantation and see if anything's changed. Eric From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 04 04:53:11 2020 Received: (at 21456) by debbugs.gnu.org; 4 Dec 2020 09:53:11 +0000 Received: from localhost ([127.0.0.1]:42722 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kl7m3-00022j-JJ for submit@debbugs.gnu.org; Fri, 04 Dec 2020 04:53:11 -0500 Received: from quimby.gnus.org ([95.216.78.240]:56528) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kl7m1-00022V-Ud for 21456@debbugs.gnu.org; Fri, 04 Dec 2020 04:53:10 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=0EIiXGyssYGPu3b2IjKmUOc1tJ9ASWyprNesTOsmHRE=; b=HQTtdosO9aUvwizULFV6QVuGPB TDJ0EH8ybyUecMMRW4sIK8Q/RZEI79tCwW8g5A5w3BrC6gaXDj67rdDRfimMc4ky9BCzUqUIw+smI D4SY8jruBx4UA5HDPVX/r9JENr6GRg4GkDPKMmFVeaAXSqUAkeLcwXWue2cqKxIiJIKc=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kl7lt-0006uc-AS; Fri, 04 Dec 2020 10:53:03 +0100 From: Lars Ingebrigtsen To: Eric Abrahamsen Subject: Re: bug#21456: 24.5; Emacs does not respect fcitx as GTK input method References: <55F2493F.5070007@acreman.net> <87k0tztaka.fsf@gnus.org> <87zh2u932t.fsf@ericabrahamsen.net> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAHlBMVEU4Xo1JbpdNdaBg j62aqrbv8+MtRnXZtYAnN2H///+0oGb7AAAAAWJLR0QJ8dml7AAAAAd0SU1FB+QMBAggJkIJeYUA AAGASURBVDjLdZNLTsQwDIZTCc16DFyg7g2aIPbTVByAZt9VNXuQ5gYox8aPPCvwLEb1l992HNsY YwDgGSerhvQF5DTXQfxoM8AEYIDnsQrsjCPAVeMgVgGRUSUcBquAJSASOd8IUvqrgqkFkgVM63dL JRk47xbvl5omARfC5gvgyySwhhD8ui0lDRqNFNS2WprJkdRaMNMlCvAVaKkZLI2C/3wGa9LMnKOJ JCIuOoG30Nun1XLn9QRCAnhWhBuF4ocN/4Cn8FcoepHXs3/jJhoaBud8Y9p3s8swtG/O9x6Bx+T0 5uIXQFP1zX2hFnxZ+76oX+p9YfBBTgU0JIMA0E6qwt1QJlFH+pQhjWgPUEpSSQfmBnAOVwQICdCG EHjo8Yn9lOJidm4K2umRB0q346CfrkIf6EJgL0siprUyYMmga4Vjznww2JUQk4UdRMBANHJR3bEE YgJUNh0u/ruJlRQ7FMSfE2FBZBCPTsRfUYGQvRxnQQIcrbVYQE/uDegQf/4CJrPmcJViBpAAAAAl dEVYdGRhdGU6Y3JlYXRlADIwMjAtMTItMDRUMDg6MzI6MzgrMDA6MDCzCjsXAAAAJXRFWHRkYXRl Om1vZGlmeQAyMDIwLTEyLTA0VDA4OjMyOjM4KzAwOjAwwleDqwAAAABJRU5ErkJggg== X-Now-Playing: Edh's =?utf-8?Q?=5FV=C3=A4nskap?= 002_: "Slaughter" Date: Fri, 04 Dec 2020 10:53:00 +0100 In-Reply-To: <87zh2u932t.fsf@ericabrahamsen.net> (Eric Abrahamsen's message of "Thu, 03 Dec 2020 10:06:34 -0800") Message-ID: <87pn3pnbib.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Eric Abrahamsen writes: > Reproduction would likely require installing and configuring fcitx, if > you're willing to do that. Sure. Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 21456 Cc: 21456@debbugs.gnu.org, Zachary Acreman X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) 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? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 04 13:13:26 2020 Received: (at 21456) by debbugs.gnu.org; 4 Dec 2020 18:13:26 +0000 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 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 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= From: Eric Abrahamsen To: Lars Ingebrigtsen Subject: Re: bug#21456: 24.5; Emacs does not respect fcitx as GTK input method References: <55F2493F.5070007@acreman.net> <87k0tztaka.fsf@gnus.org> <87zh2u932t.fsf@ericabrahamsen.net> <87pn3pnbib.fsf@gnus.org> Date: Fri, 04 Dec 2020 10:13:13 -0800 In-Reply-To: <87pn3pnbib.fsf@gnus.org> (Lars Ingebrigtsen's message of "Fri, 04 Dec 2020 10:53:00 +0100") Message-ID: <877dpxo2x2.fsf@ericabrahamsen.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 21456 Cc: 21456@debbugs.gnu.org, Zachary Acreman X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) 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 From debbugs-submit-bounces@debbugs.gnu.org Sun Dec 06 08:11:23 2020 Received: (at 21456) by debbugs.gnu.org; 6 Dec 2020 13:11:23 +0000 Received: from localhost ([127.0.0.1]:49142 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kltow-00053G-Ve for submit@debbugs.gnu.org; Sun, 06 Dec 2020 08:11:23 -0500 Received: from quimby.gnus.org ([95.216.78.240]:52402) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kltov-000534-9o for 21456@debbugs.gnu.org; Sun, 06 Dec 2020 08:11:21 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=guFeKWrUEok7FmoNXoSEgunoXLin7Ua8y7E5kvzloxY=; b=ZOPilu5i3uXAPpBp1nm5C72lca 5h927WGML7whMrKFBUQo4BKq1AT4KwysKNY9v8h6df3Frz8a+8hzklBY4pXqHqc+d2Flk9cM2muos 81npN/VKw56MA7epSq+oGa/VWaHMlU9cjbdjOO3KxA0r1Da86+OheEsC59jsY/8IJhWQ=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kltoj-0004Pt-1S; Sun, 06 Dec 2020 14:11:14 +0100 From: Lars Ingebrigtsen To: Eric Abrahamsen Subject: Re: bug#21456: 24.5; Emacs does not respect fcitx as GTK input method References: <55F2493F.5070007@acreman.net> <87k0tztaka.fsf@gnus.org> <87zh2u932t.fsf@ericabrahamsen.net> <87pn3pnbib.fsf@gnus.org> <877dpxo2x2.fsf@ericabrahamsen.net> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAGFBMVEUOCQktDAtcEA/h HBTXRzjai3brvK7///9zpNO7AAAAAWJLR0QHFmGI6wAAAAd0SU1FB+QMBg0JMF5ZWV8AAAGvSURB VDjLjZNhktMwDIXdlgN0CQcIDQfYRsp/qOQegLV8AUjufwSelGyYZFsGTaZ29VnSs2ynlNKhIyYi xceUBdP+8AJ/OjJpGLGI3hyksI6EJdfCQgUzfgcHClMTFVbSDn/ODk75zT2cC5tqsW+gbWQys5Jt sJxtvE/ZrMp3zzQEyIOPVif/lR+eiUMQJCGP1umtRw0HHStSlFivANIvejnnglx8LwYBdaQrAIdY ZMCumSBXAVrXu+zicnn5jKFoycWBytn3TSEbI3atQm3DAY5LLR/Fu3nGzMEaMncGnfXYc/ob0s0A JcQiIpa2K3AVPAMPQT+XVMHXAyG6fZGFoDVzQITwWFa3apsWa2iwCODi4JZWu3z66e5cp60fBjE8 wcpaIL3XwXKY6uvGH2Xgl47aLegi1YhK1y2Af5jqb9ytfuPHseD0pl84sn5Xm2qFWBuFdgAV7iPj MmyrnwCq2jDtQYNuGJf8IQJPRI0UAoRed2Ao3q2PIF4V7phsd7icK8gzsO/Jv8HXZ+DaPQCCJ903 DwFu0/EBwPN4CNArgMMjEBez+39wnEHzDJxW8AeobKeu9nzLPgAAACV0RVh0ZGF0ZTpjcmVhdGUA MjAyMC0xMi0wNlQxMzowOTo0NyswMDowMNPjpKcAAAAldEVYdGRhdGU6bW9kaWZ5ADIwMjAtMTIt MDZUMTM6MDk6NDcrMDA6MDCivhwbAAAAAElFTkSuQmCC X-Now-Playing: Joan as Police Woman's _Cover Two_: "Kiss" Date: Sun, 06 Dec 2020 14:11:07 +0100 In-Reply-To: <877dpxo2x2.fsf@ericabrahamsen.net> (Eric Abrahamsen's message of "Fri, 04 Dec 2020 10:13:13 -0800") Message-ID: <87mtyrdqqc.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Eric Abrahamsen writes: > 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 ot [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 21456 Cc: 21456@debbugs.gnu.org, Zachary Acreman X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Eric Abrahamsen writes: > 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. I've never used any of that stuff, so bear with me: I say $ fcitx [...] (INFO-1295180 addon.c:151) Load Addon Config File:fcitx-x11.conf (INFO-1295180 addon.c:151) Load Addon Config File:fcitx-vk.conf (INFO-1295180 addon.c:151) Load Addon Config File:fcitx-classic-ui.conf (INFO-1295180 addon.c:151) Load Addon Config File:fcitx-xkb.conf (INFO-1295180 addon.c:151) Load Addon Config File:fcitx-keyboard.conf (INFO-1295180 addon.c:151) Load Addon Config File:fcitx-notificationitem.conf (ERROR-1295180 ime.c:432) fcitx-keyboard-in-tel-kagapa already exists (ERROR-1295180 ime.c:432) fcitx-keyboard-cm-mmuock already exists $ Now what? I don't see any way to configure anything, and "man fcitx" is singularly unhelpful. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Sun Dec 06 12:56:24 2020 Received: (at 21456) by debbugs.gnu.org; 6 Dec 2020 17:56:24 +0000 Received: from localhost ([127.0.0.1]:51157 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1klyGm-00008D-Gs for submit@debbugs.gnu.org; Sun, 06 Dec 2020 12:56:24 -0500 Received: from ericabrahamsen.net ([52.70.2.18]:43448 helo=mail.ericabrahamsen.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1klyGk-000080-S6 for 21456@debbugs.gnu.org; Sun, 06 Dec 2020 12:56:23 -0500 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 886B4FA08F; Sun, 6 Dec 2020 17:56:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ericabrahamsen.net; s=mail; t=1607277376; bh=DTRsSW8UVIvwgnZuHfhat5VrWeag6qZVGl7onbdMNj8=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=aCvfHVix/WYfXUrSD5BrVFA1B6mRt2SwIi45Tom6HvwfyPL/FJnqm4S00f9nEJE43 oMZE+gFK74fEYAnbVGDDHP7bWylvyOtSC4xHOxdkBkgYC39gjwDg1kiH5nE1e0Ks6V kmNrqhZ953jhSnLEuFfO3rhWOYWoenJda//QkHG8= From: Eric Abrahamsen To: Lars Ingebrigtsen Subject: Re: bug#21456: 24.5; Emacs does not respect fcitx as GTK input method References: <55F2493F.5070007@acreman.net> <87k0tztaka.fsf@gnus.org> <87zh2u932t.fsf@ericabrahamsen.net> <87pn3pnbib.fsf@gnus.org> <877dpxo2x2.fsf@ericabrahamsen.net> <87mtyrdqqc.fsf@gnus.org> Date: Sun, 06 Dec 2020 09:56:14 -0800 In-Reply-To: <87mtyrdqqc.fsf@gnus.org> (Lars Ingebrigtsen's message of "Sun, 06 Dec 2020 14:11:07 +0100") Message-ID: <875z5eom2p.fsf@ericabrahamsen.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 21456 Cc: 21456@debbugs.gnu.org, Zachary Acreman X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) On 12/06/20 14:11 PM, Lars Ingebrigtsen wrote: > Eric Abrahamsen writes: > >> 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. > > I've never used any of that stuff, so bear with me: > > I say > > $ fcitx > [...] > (INFO-1295180 addon.c:151) Load Addon Config File:fcitx-x11.conf > (INFO-1295180 addon.c:151) Load Addon Config File:fcitx-vk.conf > (INFO-1295180 addon.c:151) Load Addon Config File:fcitx-classic-ui.conf > (INFO-1295180 addon.c:151) Load Addon Config File:fcitx-xkb.conf > (INFO-1295180 addon.c:151) Load Addon Config File:fcitx-keyboard.conf > (INFO-1295180 addon.c:151) Load Addon Config File:fcitx-notificationitem.conf > (ERROR-1295180 ime.c:432) fcitx-keyboard-in-tel-kagapa already exists > (ERROR-1295180 ime.c:432) fcitx-keyboard-cm-mmuock already exists > $ > > Now what? I don't see any way to configure anything, and "man fcitx" is > singularly unhelpful. Sorry, I could have given more useful directions. What system are you on? Are these errors preventing fcitx from starting up at all? On Arch Linux I installed the "fcitx", "fcitx-libpinyin", and "fcitx-googlepinyin" libraries -- the last two each have a dependency, "libpinyin" and "libgooglepinyin", respectively. libpinyin and libgooglepinyin are redundant with each other, as far as I can tell either one should display the erroneous behavior, but you might have an easier time installing one over the other. There's also a "fcitx-configtool" which provides a GTK view on the config files, that might be more work than it's worth. On my machine the TriggerKey config is set in ~/.config/fcitx/config. You might have to look around, but try to find the TriggerKey item. Once fcitx is running, that's your hotkey for toggling input. If fcitx won't start at all... I'm not sure how to debug that. Eric From debbugs-submit-bounces@debbugs.gnu.org Mon Dec 07 08:48:29 2020 Received: (at 21456) by debbugs.gnu.org; 7 Dec 2020 13:48:30 +0000 Received: from localhost ([127.0.0.1]:52917 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kmGsP-000314-La for submit@debbugs.gnu.org; Mon, 07 Dec 2020 08:48:29 -0500 Received: from quimby.gnus.org ([95.216.78.240]:37040) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kmGsN-00030p-Ka for 21456@debbugs.gnu.org; Mon, 07 Dec 2020 08:48:28 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=Iexy197UnRp0Wp4d7QiJJfZ2wwB/lUCLr1eysyxIgOY=; b=vQKF+zd3EsQtgVbXR+RvDrh8+j K2At6oJAhM6/FgJHdEGFHfEeJre/jsCVuxd/jQ8Qi8U2vmq4J0m4Yafp/sxMeVibfQl2vvGK2HR1o s24dO2RFBC6Ysnc4sZPs5Kcv4RvmMB9sIfBaRUqLzPFZ1Fla9BbV9W15vttWFc2QGcAg=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kmGsF-00060b-2B; Mon, 07 Dec 2020 14:48:21 +0100 From: Lars Ingebrigtsen To: Eric Abrahamsen Subject: Re: bug#21456: 24.5; Emacs does not respect fcitx as GTK input method References: <55F2493F.5070007@acreman.net> <87k0tztaka.fsf@gnus.org> <87zh2u932t.fsf@ericabrahamsen.net> <87pn3pnbib.fsf@gnus.org> <877dpxo2x2.fsf@ericabrahamsen.net> <87mtyrdqqc.fsf@gnus.org> <875z5eom2p.fsf@ericabrahamsen.net> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAGFBMVEWMbVafjHCpsZ9U QTq/wa3f1rnIxrD///8EdFpvAAAAAWJLR0QHFmGI6wAAAAd0SU1FB+QMBw0MKxH3A5MAAAG7SURB VDjLlZLLUuswDIblaug6bhjWSQhZuxUP0AnGexZk3WZcv/8jIMlOywl05qCZxLY+6Zd8AQBr7a5b WVvDpvvVWtj9EXT/AXzXj70ffwBf7ArK2PsVgZXb+368A0oO/FPg/XO6TGkeF6AJ8gtJzEtvAkbx HfeaE7JAAeJ5JvYGH8YsoEBDK/DJpxRT1OUIfa4wojNdClphATo5k0PaKIkFaEJoGmLbxDXw3UkA DamIXQFriR0EBFlfwazAPZYtFiBBCggURAESLgvMYJsyUhCky2enWnQDIR/d22utOQ8FDFkopXmb EEyTG1MQ02L1lFK7n1YZbA1/l27JKCUWsBiD2+IYvoNvUaeXe2C4B36RmmU8px9gto8KphAv8XO6 gbPdTQKqAzqwXbiCFiBc0umDtkgI9YuCmUFFZCzxKRoG5KpBNli7J3kJAOT4Iz39w8SAaJ+vlVkF +SJdC0NEzJfHAVgb0eNEgEEm7FTo0MjDY00mJVyGmouAETkGLkS5UiNtsSg6N1sERNjvGo5AgPYp tij6HFABgjtKi+DIGGvRSarshKVQ2pWCLM4Fq9Kh1HaOMHdVGpE9fgHaLgewPOinBQAAACV0RVh0 ZGF0ZTpjcmVhdGUAMjAyMC0xMi0wN1QxMzoxMjo0MyswMDowMLCqNRIAAAAldEVYdGRhdGU6bW9k aWZ5ADIwMjAtMTItMDdUMTM6MTI6NDMrMDA6MDDB942uAAAAAElFTkSuQmCC X-Now-Playing: Nihiloxica's _Kaloli_: "Busoga" Date: Mon, 07 Dec 2020 14:48:17 +0100 In-Reply-To: <875z5eom2p.fsf@ericabrahamsen.net> (Eric Abrahamsen's message of "Sun, 06 Dec 2020 09:56:14 -0800") Message-ID: <875z5dk9r2.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Eric Abrahamsen writes: > Sorry, I could have given more useful directions. What system are you > on? Are these errors preventing fcitx from starting up at all? No, it seems to start up fine... Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 21456 Cc: 21456@debbugs.gnu.org, Zachary Acreman X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Eric Abrahamsen writes: > Sorry, I could have given more useful directions. What system are you > on? Are these errors preventing fcitx from starting up at all? No, it seems to start up fine... > There's also a "fcitx-configtool" which provides a GTK view on the > config files, that might be more work than it's worth. Ah, yes, that command exists here and seems to work. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Tue Jan 19 12:53:18 2021 Received: (at control) by debbugs.gnu.org; 19 Jan 2021 17:53:18 +0000 Received: from localhost ([127.0.0.1]:51521 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l1vBu-0002Io-Ml for submit@debbugs.gnu.org; Tue, 19 Jan 2021 12:53:18 -0500 Received: from quimby.gnus.org ([95.216.78.240]:34020) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l1vBs-0002IZ-Ir for control@debbugs.gnu.org; Tue, 19 Jan 2021 12:53:16 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=8QdVcBaHpCCr4oXPr3efmnKX3QF2JftAVajDU0HoL1w=; b=lSPyauHtQlTDS/R9sidpnTaUeh cTy4nsTir7JM2EZ7rNPxPWQTb/NMn38HUtlf1tRLAUvqrwPAo+/NXLWMmZZekVIiMHvT0nP7bM7yN tSE3Oav313YR60Bw9Yegf0N1Iq0jmu7XgDAv/55QUf1j7PToXDBNxIqpjF3OJLUfZKGc=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1l1vBk-0002ki-Tr for control@debbugs.gnu.org; Tue, 19 Jan 2021 18:53:10 +0100 Date: Tue, 19 Jan 2021 18:53:07 +0100 Message-Id: <87mtx4hkzg.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #21456 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 21456 - moreinfo quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) tags 21456 - moreinfo quit From debbugs-submit-bounces@debbugs.gnu.org Fri Sep 03 02:21:31 2021 Received: (at control) by debbugs.gnu.org; 3 Sep 2021 06:21:31 +0000 Received: from localhost ([127.0.0.1]:42611 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mM2Zv-0006dO-BJ for submit@debbugs.gnu.org; Fri, 03 Sep 2021 02:21:31 -0400 Received: from quimby.gnus.org ([95.216.78.240]:53488) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mM2Zs-0006dA-TF for control@debbugs.gnu.org; Fri, 03 Sep 2021 02:21:29 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=J11wJAvweqJmslKYgoNj5zGAnr2jct7oUTqhF5y6oLo=; b=hxqbot/VOMHYArDPXA3QcQmGmP EmsdFEmYIurYrDWnIU0ExpCZF3W1EY/ISR419q/ReNLFi15jj3gDSVFDc4USrM7c5FtY0Tiu6JXpJ frErh95JnRbk4feJT6KFhaRcHsUI+1UC4SjmhTxlgu172xZY+Bc6CXtR7HQsFdq74suE=; Received: from [84.212.220.105] (helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mM2Zl-0003iB-6E for control@debbugs.gnu.org; Fri, 03 Sep 2021 08:21:23 +0200 Date: Fri, 03 Sep 2021 08:21:17 +0200 Message-Id: <87sfym41sy.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #21456 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: forcemerge 21456 27312 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) forcemerge 21456 27312 quit From debbugs-submit-bounces@debbugs.gnu.org Thu Dec 09 05:23:38 2021 Received: (at 21456) by debbugs.gnu.org; 9 Dec 2021 10:23:38 +0000 Received: from localhost ([127.0.0.1]:42503 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mvGaP-0001uI-9a for submit@debbugs.gnu.org; Thu, 09 Dec 2021 05:23:37 -0500 Received: from mout02.posteo.de ([185.67.36.66]:60677) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mvAI7-0006CI-OT for 21456@debbugs.gnu.org; Wed, 08 Dec 2021 22:40:21 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 5E0E8240101 for <21456@debbugs.gnu.org>; Thu, 9 Dec 2021 04:40:13 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1639021213; bh=2L6C7HGuLBR5P+XjkxrCA3vQ9sOP3VaNF6bFIwxdC/w=; h=From:To:Cc:Subject:Date:From; b=NiNXf/0a5oOKEQ+M53hxK7BURQyvVBOZXbftzEaP7dCKWUcpl5fLc93zlvsg1Bm9p K7uF6MmKol6UQd7q7e1ciDZlxmbAqJ/7Se6XxcavSmMhqkeTETB4S1BDpJ5Z0JhTQM 24gxW9kG/GkF2uDp24xKeapKbCV1uq0xazWOjDrjtX1t8PJ+5/hjAhTIdyXQ/DgkgF AZJx+dpHCNeO5hlGnZrxDLCwQ9QLMcAp0WLNLz62eYAHqwzQmSYzdZEoY3frfKSCoB BsO79T7FpjDprB425eeoyWltX99+hnInomE6Fs0r6WSe+lQYVJYSvkQ6+Vqj7vOYLP hwoEG20JYBacA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4J8ftg5tQtz6tmT; Thu, 9 Dec 2021 04:40:11 +0100 (CET) From: "Mingde (Matthew) Zeng" To: Leonard Lausen Subject: Re: bug#21456: 24.5; Emacs does not respect fcitx as GTK input method References: <7db29009-200d-4921-20b1-71e2df37e67f@lausen.nl> Date: Thu, 09 Dec 2021 03:40:07 +0000 In-Reply-To: <7db29009-200d-4921-20b1-71e2df37e67f@lausen.nl> (Leonard Lausen's message of "Sat, 10 Jun 2017 16:37:09 +0900") Message-ID: <87y24utpig.fsf@posteo.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 21456 X-Mailman-Approved-At: Thu, 09 Dec 2021 05:23:35 -0500 Cc: 21456@debbugs.gnu.org, 27312@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi, =20 I came across this bug report as I was having the same problem, and I also thought there was a bug in Emacs, as fcitx5 works great everywhere else. Note I'm using fcitx5 so it may not be exactly the same for you. > Specifically: > =E2=9E=9C ~ cat .xprofile > export XMODIFIERS=3D@im=3Dfcitx > export QT_IM_MODULE=3Dfcitx > export GTK_IM_MODULE=3Dfcitx > export LC_CTYPE=3Dzh_CN.UTF-8 Apparently these settings should be enough for every application to work, but when it doesn't work on some application, there is a bigger hole you have to dig into than simply looking at whether the environment variables are set properly - because they are, and Emacs respected it, fcit= x5 just didn't work in Emacs due to other reasons. You have to fully utilize `fcitx5-diagnose` to see what is wrong. 1. Open a subshell within Emacs, run `fcitx5-remote` to see if fcitx5 is surely not enabled. 2. Run `fcitx5-diagnose` in the subshell *and* outside Emacs (in a regular terminal), compare the results, look for errors I also got help from the fcitx5 maintainer: https://github.com/fcitx/fcitx5/issues/402 Anyways at the end of the day I'm using fcitx5 in Emacs, so I believe this = bug report should be closed. Mingde (Matthew) Zeng Leonard Lausen writes: > Even though all environment variables are (afaik) set up correctly, and > fcitx is working in all other programs, it does not work in emacs GUI > mode. It works fine if I start emacs in the terminal. I compiled emacs > myself using the Gentoo ebuild. > > I would be very thankful for any suggestions. Currently I believe it is > a bug in emacs (?). > > Specifically: > =E2=9E=9C ~ cat .xprofile > export XMODIFIERS=3D@im=3Dfcitx > export QT_IM_MODULE=3Dfcitx > export GTK_IM_MODULE=3Dfcitx > export LC_CTYPE=3Dzh_CN.UTF-8 > > In GNU Emacs 25.2.1 (x86_64-pc-linux-gnu, GTK+ Version 3.22.15) > of 2017-06-10 built on leonard-xps13 > Windowing system distributor 'The X.Org Foundation', version 11.0.11903000 > Configured using: > 'configure --prefix=3D/usr --build=3Dx86_64-pc-linux-gnu > --host=3Dx86_64-pc-linux-gnu --mandir=3D/usr/share/man > --infodir=3D/usr/share/info --datadir=3D/usr/share --sysconfdir=3D/etc > --localstatedir=3D/var/lib --disable-dependency-tracking > --disable-silent-rules --docdir=3D/usr/share/doc/emacs-25.2 > --htmldir=3D/usr/share/doc/emacs-25.2/html --libdir=3D/usr/lib64 > --program-suffix=3D-emacs-25 --infodir=3D/usr/share/info/emacs-25 > --localstatedir=3D/var > --enable-locallisppath=3D/etc/emacs:/usr/share/emacs/site-lisp > --with-gameuser=3D:gamestat --without-compress-install > --with-file-notification=3Dinotify --enable-acl --with-dbus > --with-modules --with-gpm --without-hesiod --without-kerberos > --without-kerberos5 --with-xml2 --without-selinux --with-gnutls > --without-wide-int --with-zlib --with-sound=3Dalsa --with-x --without-ns > --without-gconf --without-gsettings --without-toolkit-scroll-bars > --with-gif --with-jpeg --with-png --with-rsvg --with-tiff --with-xpm > --with-imagemagick --with-xft --without-cairo --with-libotf > --with-m17n-flt --with-x-toolkit=3Dgtk3 --without-xwidgets > GENTOO_PACKAGE=3Dapp-editors/emacs-25.2 'CFLAGS=3D-march=3Dnative > -mtune=3Dnative -O2 -pipe' CPPFLAGS=3D 'LDFLAGS=3D-Wl,-O1 -Wl,--as-neede= d'' > > Configured features: > XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS NOTIFY ACL GNUTLS > LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB GTK3 X11 MODULES > > Important settings: > value of $LC_COLLATE: C > value of $LC_CTYPE: zh_CN.UTF-8 > value of $LANG: en_US.UTF-8 > value of $XMODIFIERS: @im=3Dfcitx > locale-coding-system: utf-8-unix > > Major mode: Lisp Interaction > > Minor modes in effect: > tooltip-mode: t > global-eldoc-mode: t > electric-indent-mode: t > mouse-wheel-mode: t > tool-bar-mode: t > menu-bar-mode: t > file-name-shadow-mode: t > global-font-lock-mode: t > font-lock-mode: t > blink-cursor-mode: t > auto-composition-mode: t > auto-encryption-mode: t > auto-compression-mode: t > line-number-mode: t > transient-mark-mode: t > > Recent messages: > For information about GNU Emacs and the GNU system, type C-h C-a. > delete-backward-char: Text is read-only [3 times] > > Load-path shadows: > None found. > > Features: > (shadow sort mail-extr emacsbug message dired format-spec rfc822 mml > mml-sec password-cache epg epg-config gnus-util mm-decode mm-bodies > mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail > rfc2047 rfc2045 ietf-drums mm-util help-fns help-mode easymenu > cl-loaddefs pcase cl-lib mail-prsvr mail-utils time-date mule-util > china-util tooltip eldoc electric uniquify ediff-hook vc-hooks > lisp-float-type mwheel x-win term/common-win x-dnd tool-bar dnd fontset > image regexp-opt fringe tabulated-list newcomment elisp-mode lisp-mode > prog-mode register page menu-bar rfn-eshadow timer select scroll-bar > mouse jit-lock font-lock syntax facemenu font-core frame cl-generic cham > georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao > korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech > european ethiopic indian cyrillic chinese charscript case-table epa-hook > jka-cmpr-hook help simple abbrev minibuffer cl-preloaded nadvice > loaddefs button faces cus-face macroexp files text-properties overlay > sha1 md5 base64 format env code-pages mule custom widget > hashtable-print-readable backquote dbusbind inotify dynamic-setting > font-render-setting move-toolbar gtk x-toolkit x multi-tty > make-network-process emacs) > > Memory information: > ((conses 16 86627 8161) > (symbols 48 19787 0) > (miscs 40 51 121) > (strings 32 14408 4750) > (string-bytes 1 413404) > (vectors 16 12193) > (vector-slots 8 484323 15836) > (floats 8 166 10) > (intervals 56 265 0) > (buffers 976 18) > (heap 1024 16091 922)) From debbugs-submit-bounces@debbugs.gnu.org Thu Dec 09 05:23:39 2021 Received: (at 21456) by debbugs.gnu.org; 9 Dec 2021 10:23:39 +0000 Received: from localhost ([127.0.0.1]:42507 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mvGaQ-0001uX-GZ for submit@debbugs.gnu.org; Thu, 09 Dec 2021 05:23:39 -0500 Received: from mout02.posteo.de ([185.67.36.66]:40587) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mvALF-0006HD-69 for 21456@debbugs.gnu.org; Wed, 08 Dec 2021 22:43:33 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 7F2DC240101 for <21456@debbugs.gnu.org>; Thu, 9 Dec 2021 04:43:27 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1639021407; bh=W82ttlL5OUhypMElgewZzfquazwz1VlHyuksBB1TP+w=; h=From:To:Cc:Subject:Date:From; b=KUUq0pe+Fo3dP+jswJmW7rgWsCb7zyUKyRePzaLatdkD9oGd+LP4LvnSinWgXHhK4 DB8xan0/ltr4ixX4j2h83vi+JW2jqOA5BBqJQFFXtnVWs4DlnPXhPiKPV3YLRTWaPV PTdoTpW3OcPEuiNyWlcONUBg6bjkHmzIsik/tdlPx4FQwASlU1sN/td1GpyYeXKFYP 3PcEauk+vJeXmy52lDILSptLXUbLv9jLMqXuEzY4fAKQ4ozC6dupmT78JEdBnV4MvU oLEgqXJVoJa+mk8Hy2cWJ6eV5hCqn9vEJ4Z5OnQmEljUdofOg/GTcvIGv2z6sM4VtX pqrbdNsi9s+uw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4J8fyQ2FVNz9rxL; Thu, 9 Dec 2021 04:43:25 +0100 (CET) From: "Mingde (Matthew) Zeng" To: Leonard Lausen Subject: Re: bug#21456: 24.5; Emacs does not respect fcitx as GTK input method Date: Thu, 09 Dec 2021 03:42:39 +0000 Message-ID: <87o85qtpcz.fsf@posteo.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 21456 X-Mailman-Approved-At: Thu, 09 Dec 2021 05:23:35 -0500 Cc: 21456@debbugs.gnu.org, 27312@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi, I came across this bug report as I was having the same problem, and I also thought there was a bug in Emacs, as fcitx5 works great everywhere else. Note I'm using fcitx5 so it may not be exactly the same for you. > Specifically: > =E2=9E=9C ~ cat .xprofile > export XMODIFIERS=3D@im=3Dfcitx > export QT_IM_MODULE=3Dfcitx > export GTK_IM_MODULE=3Dfcitx > export LC_CTYPE=3Dzh_CN.UTF-8 Apparently these settings should be enough for every application to work, but when it doesn't work on some application, there is a bigger hole you have to dig into than simply looking at whether the environment variables are set properly - because they are, and Emacs respected it, fcit= x5 just didn't work in Emacs due to other reasons. You have to fully utilize `fcitx5-diagnose` to see what is wrong. 1. Open a subshell within Emacs, run `fcitx5-remote` to see if fcitx5 is surely not enabled. 2. Run `fcitx5-diagnose` in the subshell *and* outside Emacs (in a regular terminal), compare the results, look for errors I also got help from the fcitx5 maintainer: https://github.com/fcitx/fcitx5/issues/402 Anyways at the end of the day I'm using fcitx5 in Emacs, so I believe this = bug report should be closed. Mingde (Matthew) Zeng Leonard Lausen writes: > Even though all environment variables are (afaik) set up correctly, and > fcitx is working in all other programs, it does not work in emacs GUI > mode. It works fine if I start emacs in the terminal. I compiled emacs > myself using the Gentoo ebuild. > > I would be very thankful for any suggestions. Currently I believe it is > a bug in emacs (?). > > Specifically: > =E2=9E=9C ~ cat .xprofile > export XMODIFIERS=3D@im=3Dfcitx > export QT_IM_MODULE=3Dfcitx > export GTK_IM_MODULE=3Dfcitx > export LC_CTYPE=3Dzh_CN.UTF-8 > > In GNU Emacs 25.2.1 (x86_64-pc-linux-gnu, GTK+ Version 3.22.15) > of 2017-06-10 built on leonard-xps13 > Windowing system distributor 'The X.Org Foundation', version 11.0.11903000 > Configured using: > 'configure --prefix=3D/usr --build=3Dx86_64-pc-linux-gnu > --host=3Dx86_64-pc-linux-gnu --mandir=3D/usr/share/man > --infodir=3D/usr/share/info --datadir=3D/usr/share --sysconfdir=3D/etc > --localstatedir=3D/var/lib --disable-dependency-tracking > --disable-silent-rules --docdir=3D/usr/share/doc/emacs-25.2 > --htmldir=3D/usr/share/doc/emacs-25.2/html --libdir=3D/usr/lib64 > --program-suffix=3D-emacs-25 --infodir=3D/usr/share/info/emacs-25 > --localstatedir=3D/var > --enable-locallisppath=3D/etc/emacs:/usr/share/emacs/site-lisp > --with-gameuser=3D:gamestat --without-compress-install > --with-file-notification=3Dinotify --enable-acl --with-dbus > --with-modules --with-gpm --without-hesiod --without-kerberos > --without-kerberos5 --with-xml2 --without-selinux --with-gnutls > --without-wide-int --with-zlib --with-sound=3Dalsa --with-x --without-ns > --without-gconf --without-gsettings --without-toolkit-scroll-bars > --with-gif --with-jpeg --with-png --with-rsvg --with-tiff --with-xpm > --with-imagemagick --with-xft --without-cairo --with-libotf > --with-m17n-flt --with-x-toolkit=3Dgtk3 --without-xwidgets > GENTOO_PACKAGE=3Dapp-editors/emacs-25.2 'CFLAGS=3D-march=3Dnative > -mtune=3Dnative -O2 -pipe' CPPFLAGS=3D 'LDFLAGS=3D-Wl,-O1 -Wl,--as-neede= d'' > > Configured features: > XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS NOTIFY ACL GNUTLS > LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB GTK3 X11 MODULES > > Important settings: > value of $LC_COLLATE: C > value of $LC_CTYPE: zh_CN.UTF-8 > value of $LANG: en_US.UTF-8 > value of $XMODIFIERS: @im=3Dfcitx > locale-coding-system: utf-8-unix > > Major mode: Lisp Interaction > > Minor modes in effect: > tooltip-mode: t > global-eldoc-mode: t > electric-indent-mode: t > mouse-wheel-mode: t > tool-bar-mode: t > menu-bar-mode: t > file-name-shadow-mode: t > global-font-lock-mode: t > font-lock-mode: t > blink-cursor-mode: t > auto-composition-mode: t > auto-encryption-mode: t > auto-compression-mode: t > line-number-mode: t > transient-mark-mode: t > > Recent messages: > For information about GNU Emacs and the GNU system, type C-h C-a. > delete-backward-char: Text is read-only [3 times] > > Load-path shadows: > None found. > > Features: > (shadow sort mail-extr emacsbug message dired format-spec rfc822 mml > mml-sec password-cache epg epg-config gnus-util mm-decode mm-bodies > mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail > rfc2047 rfc2045 ietf-drums mm-util help-fns help-mode easymenu > cl-loaddefs pcase cl-lib mail-prsvr mail-utils time-date mule-util > china-util tooltip eldoc electric uniquify ediff-hook vc-hooks > lisp-float-type mwheel x-win term/common-win x-dnd tool-bar dnd fontset > image regexp-opt fringe tabulated-list newcomment elisp-mode lisp-mode > prog-mode register page menu-bar rfn-eshadow timer select scroll-bar > mouse jit-lock font-lock syntax facemenu font-core frame cl-generic cham > georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao > korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech > european ethiopic indian cyrillic chinese charscript case-table epa-hook > jka-cmpr-hook help simple abbrev minibuffer cl-preloaded nadvice > loaddefs button faces cus-face macroexp files text-properties overlay > sha1 md5 base64 format env code-pages mule custom widget > hashtable-print-readable backquote dbusbind inotify dynamic-setting > font-render-setting move-toolbar gtk x-toolkit x multi-tty > make-network-process emacs) > > Memory information: > ((conses 16 86627 8161) > (symbols 48 19787 0) > (miscs 40 51 121) > (strings 32 14408 4750) > (string-bytes 1 413404) > (vectors 16 12193) > (vector-slots 8 484323 15836) > (floats 8 166 10) > (intervals 56 265 0) > (buffers 976 18) > (heap 1024 16091 922)) From debbugs-submit-bounces@debbugs.gnu.org Thu Dec 09 19:42:26 2021 Received: (at 21456) by debbugs.gnu.org; 10 Dec 2021 00:42:26 +0000 Received: from localhost ([127.0.0.1]:45058 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mvTzV-0007Oq-N1 for submit@debbugs.gnu.org; Thu, 09 Dec 2021 19:42:25 -0500 Received: from quimby.gnus.org ([95.216.78.240]:49826) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mvTzT-0007OT-UY; Thu, 09 Dec 2021 19:42:24 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=lKpBZPcz2+lalj1/GW6Tu+XAW5AuSUdFccBulTo7gKQ=; b=e+lnQNCNSPPm51IXBB1VGQRuR2 Ir7HCmRIpFLk/IuL/qWei6sYWBCx1V8/9XJkr/4JtjVDuItQpN0hpK8g5Pq4OoknmaQHKGvujKu0e o3q8eGfKnRKpGQzlJ0VbLUjnsynDkQ1jS00sJ6yoUxn5zUFGTB6FPIdQOZ0Io1WyLvuQ=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mvTzK-0006Yx-L5; Fri, 10 Dec 2021 01:42:17 +0100 From: Lars Ingebrigtsen To: "Mingde (Matthew) Zeng" Subject: Re: bug#27312: bug#21456: 24.5; Emacs does not respect fcitx as GTK input method References: <7db29009-200d-4921-20b1-71e2df37e67f@lausen.nl> <87y24utpig.fsf@posteo.net> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAElBMVEWZb3hlVl+/qKtM MzwkFhn///8fEXZMAAAAAWJLR0QF+G/pxwAAAAd0SU1FB+UMCgAPBKDl9SIAAAGuSURBVDjLrZNr kuMgDIQFzgHAcABZcwF7xAHioPufaVt+TZLZ/NiqVVXi4I9u9CBEiJDfIwnlv8ZnQB9A/n8ghRMU Xfz7NzDrWYHzsq/jAUpXAMQpOUFTtUX3eAFmzdYD7Ganwsw0/wYwsl7nopqmw+wArjBFziIDNMuT ogOoAy5a+gl869AbcosuaesFZhGpXWfCMyDzC3zjxa37fjxRa3AQxgHWwrUvlCmGpiNkhCkKuxPF MrMStU0IACwZnyhfD8k0oAczxwO4WCSNQqGarcJUNqvB/HC4ETIygxM80Uip9mAkylm4devYMnVC cWrtQRTlhhzqUtatJsqKwuwuLPE2EpUYvchqAMiv2SgcCzEl8SLZHBisXBINCn9LVHvZASLV2b7j 4Af7zVDS7bUH8lFLUUr11RPYYuWhhR1s63bJJm15A836UhJdhMr+E81Eh4TqCcbp2NDu3iPM8wD3 Q0vb1Igj22uQd4aZ4vQOfHgSpiM7v0VPgGlIGB1ull1VUfJBoKkbeLbSu58ReHg/A32VIH54by+g dcwT1+LrXdFswX8m/JR+WX2Ifwd/ABSkr20AjVmfAAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDIxLTEy LTEwVDAwOjE1OjA0KzAwOjAwXinEUQAAACV0RVh0ZGF0ZTptb2RpZnkAMjAyMS0xMi0xMFQwMDox NTowNCswMDowMC90fO0AAAAASUVORK5CYII= X-Now-Playing: New Order's _Power, Corruption & Lies_: "Ecstasy" Date: Fri, 10 Dec 2021 01:42:12 +0100 In-Reply-To: <87y24utpig.fsf@posteo.net> (Mingde Zeng's message of "Thu, 09 Dec 2021 03:40:07 +0000") Message-ID: <87pmq51eaj.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: "Mingde (Matthew) Zeng" writes: > Anyways at the end of the day I'm using fcitx5 in Emacs, so I believe this bug > report should be closed. OK; I'm closing this bug report, then. Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 21456 Cc: 21456@debbugs.gnu.org, Leonard Lausen , 27312@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) "Mingde (Matthew) Zeng" writes: > Anyways at the end of the day I'm using fcitx5 in Emacs, so I believe this bug > report should be closed. OK; I'm closing this bug report, then. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Thu Dec 09 19:42:35 2021 Received: (at control) by debbugs.gnu.org; 10 Dec 2021 00:42:35 +0000 Received: from localhost ([127.0.0.1]:45064 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mvTzf-0007PZ-6F for submit@debbugs.gnu.org; Thu, 09 Dec 2021 19:42:35 -0500 Received: from quimby.gnus.org ([95.216.78.240]:49842) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mvTzd-0007PA-4z for control@debbugs.gnu.org; Thu, 09 Dec 2021 19:42:33 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=d4ml8VykE2iv1NvgPgz3fI0g1LY1y/3tpZb5UWFzBDA=; b=Ru8NiEdBjNvV1KpIUcRgStnn6R IK3Cb1ZYxB9NKP2nVEmoUlrDP+eLFWsj0bgf7tlwzEdenMMZQnDBEe5Hc5+qHjN3vAux6U7mU+n4B u/FXaPcA8QgDTwsXV/0wMIRIP9xv2d1EKc9G45gFD2gUkzMjEczPoWRkfljjHINXJqmA=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mvTzV-0006Z3-5M for control@debbugs.gnu.org; Fri, 10 Dec 2021 01:42:27 +0100 Date: Fri, 10 Dec 2021 01:42:24 +0100 Message-Id: <87o85p1ea7.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #27312 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: close 27312 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) close 27312 quit From unknown Sun Jun 22 19:07:55 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 07 Jan 2022 12:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator