bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#27312: 25.2; can't activate fcitx even though env is set up correctl


From: Leonard Lausen
Subject: bug#27312: 25.2; can't activate fcitx even though env is set up correctly
Date: Thu, 15 Jun 2017 10:55:55 +0900
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0

On 06/15/2017 09:10 AM, address@hidden wrote:
> Leonard Lausen <address@hidden> 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.
> 
> By the "GUI mode" do you mean 'emacs' vs 'emacs -nw'?  Or do you mean
> that the you use a different kind of launcher?

Sorry for being imprecise. Indeed I mean 'emacs -Q' vs 'emacs -Q -nw'

> If you evaluate (getenv "XMODIFIERS") do you get the expected value?
> Does evaluating (setenv "XMODIFIERS" "@im=fcitx") help?

(getenv "XMODIFIERS") returns in "@im=fcitx" for both modes ("emacs -Q"
and "emacs -Q -nw"). Running a further (setenv "XMODIFIERS" "@im=fcitx")
does not make any difference.

Note that if I press the Ctrl-Space key (which should change the fcitx
input method) "emacs -Q" reports "Mark set" and "Mark deactivated",
while for "emacs -Q -nw" the input method is changed correctly (i.e. I
can input Chinese characters thereafter).

Thanks for your help.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]