ibus.el - IBus client for GNU Emacs

Can't toggle ibus in emacsclient

Reported by Diep Pham Van on 2012-04-13
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ibus.el
Undecided
Unassigned

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`.

Diep Pham Van (favadi) on 2012-04-13
description: updated
Duong H. Nguyen (cmpitg) 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.

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 / \

Duong H. Nguyen (cmpitg) wrote :

I'm using:

* GNU Emacs 23.4.2 (x86_64-pc-linux-gnu, GTK+ Version 2.24.5)
* ibus 1.3.9
* ibus-el 0.3.1

totally different from yours.

If it's not emergency, shall we meet in person to see if there's anything we can do about the bug? Perhaps in the upcoming Ubuntu Release Party in Hanoi?

Diep Pham Van (favadi) wrote :

Yes. Hope to see you soon. :)
On Tue, Apr 24, 2012 at 06:12:54PM -0000, Dương "Yang" ヤン Nguyễn wrote:
> I'm using:
>
> * GNU Emacs 23.4.2 (x86_64-pc-linux-gnu, GTK+ Version 2.24.5)
> * ibus 1.3.9
> * ibus-el 0.3.1
>
> totally different from yours.
>
> If it's not emergency, shall we meet in person to see if there's
> anything we can do about the bug? Perhaps in the upcoming Ubuntu
> Release Party in Hanoi?
>
> --
> 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

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers