If I disable xim on emacs by adding:
Code: Select all
Emacs*UseXIM:false
Code: Select all
Emacs*UseXIM:false
Hi, today, I use emacs own input method EIM all day, it so poor.tsuren wrote: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?
Hallo zw963 and tsuren,tsuren wrote: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?
Code: Select all
export LANG
[ -n "$LC_CTYPE" ] && export LC_CTYPE="zh_CN.UTF-8"
I read the article you refer to, and do the following things,tsuren wrote:Have you seen this one already? In slackware, i believe locale.sh is lang.sh. I guess you can just ignore the first part, and the important part is:You might also want to contact this guy on the blog.Code: Select all
export LANG [ -n "$LC_CTYPE" ] && export LC_CTYPE="zh_CN.UTF-8"
Code: Select all
☠ $ cat ~/.Xresources
Emacs*UseXIM:false
Code: Select all
Documentation:
If non-nil, X resources, Windows Registry settings, and NS defaults are not used.
Code: Select all
LANG=en_US.UTF-8
LC_CTYPE=zh_CN.UTF-8
Code: Select all
☠ $ cat /etc/X11/xorg.conf.d/50-fontconfig.conf
Section "Files"
FontPath "/usr/share/fonts/misc"
EndSection
```
When those is done, I can active fcitx in emacs. It looks like emacs use fcitx gtk module?
actually, not, emacs seem like still use XIM, because I am not enable fcitx gitk2 module,
maybe this is a emacs bug,
Salix problem is difference, it still exist here.
when skype is start, emacsclient input methods active is broken.
(or can active, but can not input anythings, if I setting more locale environment variable)
Thanks very much!westms wrote:Hallo zw963 and tsuren,tsuren wrote: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?
its not a Salix/Slackware problem, I think. When I read associated articles on the web, I got the impression that there is a general GNU/Linux problem.
Do you know "Hall of Shame for Linux IME Support"? The penultimate table entry: https://fcitx-im.org/wiki/Hall_of_Shame ... ME_Support
You can read there for Emacs: "English locale (not sure for others) can not use input method. Use CJK locale ."
Do you know this page? https://fcitx-im.org/wiki/FAQ
Really worth reading. The article also shows that the problem can be reproduced with Gedit.
Its a bad thing to set locale to en_US.UTF-8, says:
bug#10867: 23.4 must export LC_CTYPE to zh_CN.UTF-8 or similar CJK local
http://lists.gnu.org/archive/html/bug-g ... 00761.html
Perhaps one can use the documentation "Localization: Adapt Slackware to your own Language' http://docs.slackware.com/slackware:localization to get a proper setup.
I can't use fcitx in firefox or any other application, in terminal, I have to change Simple to X Input Methodtsuren wrote: As for "Simple", did you change your settings more than you described here? If not, just restart your box.