all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Peter Münster" <pmlists@free.fr>
To: help-gnu-emacs@gnu.org
Subject: Re: dbus problem: "notifications-notify :on-action" stops working
Date: Mon, 27 Feb 2012 12:00:48 +0100	[thread overview]
Message-ID: <87ty2cee1r.fsf@micropit.couberia.bzh> (raw)
In-Reply-To: 87wr78poks.fsf@gmx.de

On Mon, Feb 27 2012, Michael Albinus wrote:

> Which Emacs version are you using?

GNU Emacs 24.0.93.1 (x86_64-suse-linux-gnu, GTK+ Version 2.22.1) of 2012-02-24


> Setting `dbus-debug' to t is a starting point. If the resulting messages
> are confusing you, you might run instead "dbus-monitor --session" in a
> shell outside Emacs

Of course! I had forgotten dbus-debug...

Now I have 2 emacs sessions: one, where it's working as expected, and
another with the problem:

Here the output, where it's working:

--8<---------------cut here---------------start------------->8---
xd_retrieve_arg: u 2
xd_retrieve_arg: s key
xd_read_message_1: Event received: DBUS_MESSAGE_TYPE_SIGNAL 20 :1.278 /org/freedesktop/Notifications org.freedesktop.Notifications ActionInvoked (2 key)
xd_read_message_1: Event stored: (:session 4 20 :1.278 /org/freedesktop/Notifications org.freedesktop.Notifications ActionInvoked notifications-on-action-signal 2 key)
xd_retrieve_arg: u 2 [2 times]
xd_read_message_1: Event received: DBUS_MESSAGE_TYPE_SIGNAL 21 :1.278 /org/freedesktop/Notifications org.freedesktop.Notifications NotificationClosed (2 2)
xd_read_message_1: Event stored: (:session 4 21 :1.278 /org/freedesktop/Notifications org.freedesktop.Notifications NotificationClosed notifications-on-closed-signal 2 2)
--8<---------------cut here---------------end--------------->8---

Here the output with the problem:

--8<---------------cut here---------------start------------->8---
xd_retrieve_arg: u 4
xd_retrieve_arg: s hour
xd_read_message_1: Event received: DBUS_MESSAGE_TYPE_SIGNAL 38 :1.278 /org/freedesktop/Notifications org.freedesktop.Notifications ActionInvoked (4 hour)
xd_retrieve_arg: u 4
xd_retrieve_arg: u 2
xd_read_message_1: Event received: DBUS_MESSAGE_TYPE_SIGNAL 39 :1.278 /org/freedesktop/Notifications org.freedesktop.Notifications NotificationClosed (4 2)
--8<---------------cut here---------------end--------------->8---


When I call

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

in the second emacs session, the problem disappears for a while and then
comes back after a few minutes.

-- 
           Peter




  reply	other threads:[~2012-02-27 11:00 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-27  9:47 dbus problem: "notifications-notify :on-action" stops working Peter Münster
2012-02-27 10:17 ` Michael Albinus
2012-02-27 11:00   ` Peter Münster [this message]
2012-02-27 20:49     ` Michael Albinus
2012-02-28  8:10       ` Peter Münster
2012-03-01 14:18         ` Michael Albinus
2012-03-04 21:10           ` Peter Münster
2012-03-05  7:15             ` Michael Albinus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87ty2cee1r.fsf@micropit.couberia.bzh \
    --to=pmlists@free.fr \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.