help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: dbus problem: "notifications-notify :on-action" stops working


From: Peter Münster
Subject: Re: dbus problem: "notifications-notify :on-action" stops working
Date: Tue, 28 Feb 2012 09:10:21 +0100
User-agent: Gnus/5.130004 (Ma Gnus v0.4) Emacs/24.0.93 (gnu/linux)

On Mon, Feb 27 2012, Michael Albinus wrote:

> Maybe you could replay your scenario, and let dbus-monitor run in
> parallel. Please comment exactly what you have done (starting Emacs,
> every keystroke), and mark the corresponding traces from
> dbus-monitor. By this, we might be able to understand what happens.

Hi Michael,

Yesterday evening, after a reboot of the system, I've started my normal
emacs session and "dbus-monitor --session" and "dbus-monitor --profile".
"--profile", because there are timestamps.

Sometimes, I've started another "emacs -Q -l /tmp/init.el" just to see,
if it works or not. Now, the problem appears again, at timestamp
"1330414472". Here the "*Messages*":

--8<---------------cut here---------------start------------->8---
Begin test (id = 23)
Success (id = 23)
Begin test (id = 24)
Success (id = 24)
Begin test (id = 25)
Success (id = 25)
Begin test (id = 26)
Success (id = 26)
Begin test (id = 27)
Success (id = 27)
Begin test (id = 28)
Success (id = 28)
Begin test (id = 4)
Begin test (id = 5)
--8<---------------cut here---------------end--------------->8---

The output of dbus-monitor is perhaps too big for usenet, so you can
find it here: http://pmrb.free.fr/tmp/dbus/



Another test:
I've restarted the 2 dbus-monitors, and also "emacs -Q -l /tmp/init.el".

I've added this to my init.el:

--8<---------------cut here---------------start------------->8---
(defun my-register-again ()
  (interactive)
  (dbus-register-signal
   :session
   notifications-service
   notifications-path
   notifications-interface
   notifications-action-signal
   'notifications-on-action-signal))

(global-set-key [?\C-b] 'my-register-again)
--8<---------------cut here---------------end--------------->8---


The results:

--8<---------------cut here---------------start------------->8---
Begin test (id = 11)
Success (id = 11)
Begin test (id = 12)
Success (id = 12)
Begin test (id = 13)
Success (id = 13)
Begin test (id = 14)
Success (id = 14)
Begin test (id = 15)
Success (id = 15)
##################### Here I've waited for some minutes.
Begin test (id = 3)
Begin test (id = 4)
Begin test (id = 5)
##################### Here I've pressed "C-b" !
Begin test (id = 6)
Success (id = 6)
Begin test (id = 7)
Success (id = 7)
Begin test (id = 8)
Success (id = 8)
Begin test (id = 9)
Success (id = 9)
##################### Here I've waited for some minutes.
Begin test (id = 1)
Begin test (id = 2)
Begin test (id = 3)
--8<---------------cut here---------------end--------------->8---

And here the dbus-output: http://pmrb.free.fr/tmp/dbus2/

I hope, that you have some time to look at this and can find what's
going on.

Thanks for your efforts,
-- 
           Peter




reply via email to

[Prev in Thread] Current Thread [Next in Thread]