Page 4 of 6
Re: Emacs 24.3 with FCITX input methods[09/17 Update]
Posted: 5. Sep 2015, 18:34
by tsuren
I am using fcitx-4.2.7 as I could not compile for 4.2.9. You can recompile with
djemos' SLKBUILD.
After testing some time, I see consistently IME works twice on emacs. And from the third time on, the IME stops working. To make it work again, I have to restart the sesson.
Re: Emacs 24.3 with FCITX input methods[09/17 Update]
Posted: 5. Sep 2015, 18:58
by zw963
tsuren wrote:I am using fcitx-4.2.7 as I could not compile for 4.2.9. You can recompile with
djemos' SLKBUILD.
After testing some time, I see consistently IME works twice on emacs. And from the third time on, the IME stops working. To make it work again, I have to restart the sesson.
Very thanks.
I install djemos' fcitxx-4.27, but can not active fcitx in my terminal. unless right menu
change input method to X input method.
when I run emacsclient first time, it can work, exit, and run again, input method broken.
I am very pool understood input method, so it even more bad than before.
Re: Emacs 24.3 with FCITX input methods[09/17 Update]
Posted: 5. Sep 2015, 19:11
by zw963
tsuren wrote:I am using fcitx-4.2.7 as I could not compile for 4.2.9. You can recompile with
djemos' SLKBUILD.
After testing some time, I see consistently IME works twice on emacs. And from the third time on, the IME stops working. To make it work again, I have to restart the sesson.
Could you tell me how to restore Terminal right menu -> input methods -> system to X Input Method ?
I uninstall 4.2.7, reboot system, but it still show me System is FCITX.
yesterday, because this reason, I reinstall my Salix two time, I can't google meaningful result for this.
Re: Emacs 24.3 with FCITX input methods[09/17 Update]
Posted: 5. Sep 2015, 19:14
by tsuren
I install djemos' fcitxx-4.27, but can not active fcitx in my terminal. unless right menu
change input method to X input method.
You have to restart session or restart your machine.
Re: Emacs 24.3 with FCITX input methods[09/17 Update]
Posted: 5. Sep 2015, 19:17
by tsuren
zw963 wrote:tsuren wrote:I am using fcitx-4.2.7 as I could not compile for 4.2.9. You can recompile with
djemos' SLKBUILD.
After testing some time, I see consistently IME works twice on emacs. And from the third time on, the IME stops working. To make it work again, I have to restart the sesson.
Could you tell me how to restore Terminal right menu -> input methods -> system to X Input Method ?
I uninstall 4.2.7, reboot system, but it still show me System is FCITX.
yesterday, because this reason, I reinstall my Salix two time, I can't google meaningful result for this.
You do not need to reinstall Salix... I assume you are using xfce4, correct?
In general, after installing IME, you have to do several things. For example, first to uninstall ibus related packages. Second, restart to see:
Code: Select all
export XIM=fcitx
export XMODIFIERS=@im=fcitx
export GTK_IM_MODULE=fcitx
export QT_IM_MODULE=fcitx
is properly done.
Third, update gtk immodulme cache.
Re: Emacs 24.3 with FCITX input methods[09/17 Update]
Posted: 5. Sep 2015, 19:20
by tsuren
And what is your locale by default?
Re: Emacs 24.3 with FCITX input methods[09/17 Update]
Posted: 5. Sep 2015, 19:25
by tsuren
By the way, perhaps it's better you recompile it for your system.
Create a directory, and put SLKBUILD, fcitx-4.2.7_dict.tar.xz and profile.d.tar.gz there.
Then 'sudo slkbuild -X' to recompile.
Re: Emacs 24.3 with FCITX input methods[09/17 Update]
Posted: 5. Sep 2015, 19:32
by zw963
tsuren wrote:By the way, perhaps it's better you recompile it for your system.
Create a directory, and put SLKBUILD, fcitx-4.2.7_dict.tar.xz and profile.d.tar.gz there.
Then 'sudo slkbuild -X' to recompile.
Thanks very much!
I lose this step,
Third, update gtk immodulme cache.
when I update to this, default change to XIM.
my locale settings is:
Code: Select all
export LANG=en_US.utf8
export LC_CTYPE=zh_CN.utf8
I will tried it tomorrow, here is 3:30 middle of night anyway.
Thanks.
Re: Emacs 24.3 with FCITX input methods[09/17 Update]
Posted: 6. Sep 2015, 06:36
by zw963
tsuren wrote:I am using fcitx-4.2.7 as I could not compile for 4.2.9. You can recompile with
djemos' SLKBUILD.
After testing some time, I see consistently IME works twice on emacs. And from the third time on, the IME stops working. To make it work again, I have to restart the sesson.
Any one can help out to hack this Salix specify undesirable behavior ?
Thanks.
Re: Emacs 24.3 with FCITX input methods[09/17 Update]
Posted: 6. Sep 2015, 08:49
by tsuren
Hi zw963, I still think it is a Salix specific problem. Perhaps people who use emacs do not use external IMEs, as it seems that emacs offers its
own IME. I've just tried the emacs IME and it works OK. Have you already asked other Chinese colleagues if emacs and fcitx work well together?