On 03/29/2015 09:35 PM, Ed Greshko wrote:
On 03/30/15 08:21, Stuart McGraw wrote:
> On 03/29/2015 03:59 PM, Ed Greshko wrote:
>> I installed emacs and started it with "emacs testj" in a terminal
>> in it launched its own window. I then entered into ibus Anthy
>> mode and was able to insert Japanese and Chinese text without
>> problems. I have LC_CTYPE="en_US.UTF-8".
>
> That's odd. That's what's not happening for me. I was using
> libkkc and ibus-kkc as my Japanese IME, I somehow got the idea from
> the Fedora docs that it had replaced Anthy and hadn't realized
> Anthy was still available.
>
> I installed anthy and anthy-ibus, select anthy as the IME, but the
> problem still remains: anything I type in the emacs windows appears
> as English text and not Japanese regardless of the IME selection.
>
> But thanks, I am happy to find out that a solution may be at least
> possible!
>
Yes, that is odd. FWIW, I'm running F21 and KDE. If you were
running KDE and having problem with ibus and input into libreoffice I
would have the answer to that! :-) :-)
Oh, and BTW, when I said I had no problem to enter Chinese I was
using the "Intelligent Pinyin" input method. I also used the "Kana
Kanji" method to input Japanese.
One thing you can try is to create a new user and see if the same
problem exists.
I tried that but get the same results with a new user as well.
One thing it did notice in the .emacs file (pristine from
/etc/skel/) were the lines:
;;; uncomment for CJK utf-8 support for non-Asian users
;; (require 'un-define)
I uncommented but the only result was an error when I started
emacs:
File error: Cannot open load file,
no such file or directory, un-define
However that is probably a red herring as emacs and CJK worked
for you without changing that.
One thing I wondered though... do you have a ~/.Xresources file
and if so, is there anything in it referring to emacs or to XIM?