Comment 2 for bug 980509

Revision history for this message
Diep Pham (favadi) wrote : Re: [Bug 980509] Re: Can't toggle ibus in emacsclient

On Mon, Apr 23, 2012 at 05:10:25PM -0000, Dương "Yang" ヤン Nguyễn wrote:
> Are you using the latest ibus-el? I have tried to start a new Emacs
> session, start the server and try both of your cases but I don't have
> any error.

My ibus-el version is 0.3.2-1.
My emacs version is 23.4.1 (with-x-toolkit=lucid).
Ibus 1.4.1.

What's yours?

>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/980509
>
> Title:
> Can't toggle ibus in emacsclient
>
> Status in ibus.el - IBus client for GNU Emacs:
> New
>
> Bug description:
> Strange behaviour of ibus-el.
>
> I'm using emacs in daemon mode.
> If I start emacsclient like:
>     emacsclient -c
> I can use ibus-toggle normally.
> But if I start emacsclient with a file name like:
>     emacsclient -c aa.txt
> When use ibus-toggle, I get IBus: Couldn't receive data from agent.
>
> Any one can confirm this bug?
>
> My ibus-el config:
>
> (require 'ibus)
> ;; (add-hook 'after-init-hook 'ibus-mode-on)
> (add-hook 'after-make-frame-functions
>           (lambda (new-frame)
>             (select-frame new-frame)
>             (or ibus-mode (ibus-mode-on))))
>
> P/S: If I start emacsclient with `emacsclient -c` and use ibus-toggle,
> then I can use ibus-toggle normally in frame start with `emacsclient
> -c aa.txt`.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ibus.el/+bug/980509/+subscriptions

--
PHẠM Văn Điệp

h : http://favadi.com
e : <email address hidden>
m : +84 984 339 841
                       _
ASCII ribbon campaign ( )
 - against HTML email X
             & vCards / \