Hi, Here is a problem since I first use Slackware with Emacs, Whether you believe it or not,
This nightmare has been bothering me for many years.
It not be resolved ...
So, I Tried again PLEASE your guys understood deeply Linux help me!
Reproduce:
1. install emacs 24.3 with apt-get.
2. install FCITX (chinese input method) with slackbuild http://slackbuilds.org/repository/13.37/misc/fcitx/
or compile yourself from this github: https://github.com/fcitx/fcitx, I just use default setting.
3. start up with: `emacs -q ' (create a new GUI buffer), I work in this way.
4. input method is worked, when I press C-space (hotkey for FCITX), input method can active and can input chinese.
5. exit emacs with C-x C-c
6. start emacs again. now, When I press C-space, input method missing, only emacs complain: mark-active/mark-deactive.
But in Terminal, or any other GUI app, FCITX still worked for me.
So the only thing I can do is: relogin, restart emacs, FCITX worked again, but, I can not exit this process, and can not
startup a new emacs process, seem like only one emacs process can capture input method, if you quit ...
This problem happen in Slackware 13.1, Slackware 13.37, Slackware 14.01, Slackware 14.1, and Salix all version.
Any one can help me for this? does something missing about XIM support for others input method ?
Emacs 24.3 with FCITX input methods[Resolved in 14.2]
Emacs 24.3 with FCITX input methods[Resolved in 14.2]
Last edited by zw963 on 26. Feb 2017, 14:45, edited 2 times in total.
Re: Emacs 24.3 with FCITX input methods
Have you tried SCIM or Ibus? Chinese input (and CJK in general) seems to have a lot of problems however you go about it, and we really haven't found a solution we're happy with. Do you generally find fcitx is ok, apart from this problem with emacs?
Re: Emacs 24.3 with FCITX input methods
It Happen on Scim, Ibus I have not tried, I think it should be same,mimosa wrote:Have you tried SCIM or Ibus? Chinese input (and CJK in general) seems to have a lot of problems however you go about it, and we really haven't found a solution we're happy with. Do you generally find fcitx is ok, apart from this problem with emacs?
This problem is only occur on Emacs, any other app can work.
Re: Emacs 24.3 with FCITX input methods
Hi, guys, I found the difference Salix with Slackware (Because this cause, I almost go crazy)mimosa wrote:Have you tried SCIM or Ibus? Chinese input (and CJK in general) seems to have a lot of problems however you go about it, and we really haven't found a solution we're happy with. Do you generally find fcitx is ok, apart from this problem with emacs?
When I use Slackware, Emacs will always can trigger FCITX input method unless you start a new emacs process, But in Salix,
When I startup one 32 bit (old version QT) application (I startup 32 bit application with setting LD_LIBRARY_PATH, and copy some 32 bit files
to this path), e.g. beyond compare 3, or Skype, Emacs will lost focus to FCITX, when restart emacsclient, I will can not use input method.
Any one can tell me what happen ?? Thanks.
Re: Emacs 24.3 with FCITX input methods
I have to go back to use Slackware. Some times, I will try salix again.
Re: Emacs 24.3 with FCITX input methods[09/17 Update]
I have switch return to Slackware 14.1 some month, the problem happen in this thread not happen again.
I hope Salix can take account some users with input methods, make salix work well with those user.
It seem like just missing some special files (though I does not know what file missing)
I hope Salix can take account some users with input methods, make salix work well with those user.
It seem like just missing some special files (though I does not know what file missing)
Re: Emacs 24.3 with FCITX input methods[09/17 Update]
Switch back to Slackware 14.1 more than six months.
Input methods problem (chinese input) is not happen again, I want to know Salix fix this during this time?
Input methods problem (chinese input) is not happen again, I want to know Salix fix this during this time?
Re: Emacs 24.3 with FCITX input methods[09/17 Update]
from Slackware 14.1 return salix again.
Because Salix is most beautiful distro I used derived from Slackware.( I tried all)
I hope this time chinese input can worked fine with me.
Because Salix is most beautiful distro I used derived from Slackware.( I tried all)
I hope this time chinese input can worked fine with me.
Re: Emacs 24.3 with FCITX input methods[09/17 Update]
I want to use salix, I want to use mate, but still ...
start emacs with --daemon,
1. open a emacs frame, can input chinese.
2. exit emacs frame.
3. run a 32bit qt application, e.g. skype-4.3.0.37-x86_64-1sl
4. exit qt application
5. open a new emacs frame.
6. input method can not be actived.
Slackware 14.1 not this problem, why? please~~ I want to use this beautiful distro.
start emacs with --daemon,
1. open a emacs frame, can input chinese.
2. exit emacs frame.
3. run a 32bit qt application, e.g. skype-4.3.0.37-x86_64-1sl
4. exit qt application
5. open a new emacs frame.
6. input method can not be actived.
Slackware 14.1 not this problem, why? please~~ I want to use this beautiful distro.
Re: Emacs 24.3 with FCITX input methods[09/17 Update]
I try ibus.
when I install ibus-pinyin, it automatic install ibus 1.5.5
i settings following in my .profile
```sh
export XMODIFIERS="@im=ibus"
XIM_PROGRAM=/bin/true
XIM=ibus
XIM_ARGS=
SHORT_DESC="ibus"
LONG_DESC="ibus"
export GTK_IM_MODULE="ibus"
export QT_IM_MODULE="xim"
```
in my .xprofile
```sh
ibus-daemon -rxd &
```
reboot system, but I can not see the ibus icon in panel.
when I run ibus-setup, cause:
```sh
☠ $ ibus-setup
Traceback (most recent call last):
File "/usr/share/ibus/setup/main.py", line 28, in <module>
from gi.repository import Gio
ImportError: No module named gi.repository
```
Could you help me??
thanks.
when I install ibus-pinyin, it automatic install ibus 1.5.5
i settings following in my .profile
```sh
export XMODIFIERS="@im=ibus"
XIM_PROGRAM=/bin/true
XIM=ibus
XIM_ARGS=
SHORT_DESC="ibus"
LONG_DESC="ibus"
export GTK_IM_MODULE="ibus"
export QT_IM_MODULE="xim"
```
in my .xprofile
```sh
ibus-daemon -rxd &
```
reboot system, but I can not see the ibus icon in panel.
when I run ibus-setup, cause:
```sh
☠ $ ibus-setup
Traceback (most recent call last):
File "/usr/share/ibus/setup/main.py", line 28, in <module>
from gi.repository import Gio
ImportError: No module named gi.repository
```
Could you help me??
thanks.