From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?utf-8?Q?Peter_M=C3=BCnster?= Newsgroups: gmane.emacs.help Subject: Re: notifications-notify resets idle-time Date: Mon, 13 Feb 2012 09:29:02 +0100 Message-ID: <874nuvi1bl.fsf@micropit.couberia.bzh> References: <874nuy5okw.fsf@micropit.couberia.bzh> <87wr7tr8um.fsf@gmx.de> <87obt5siph.fsf@micropit.couberia.bzh> <87wr7t5ys8.fsf@gmx.de> <87hayxsfbo.fsf@micropit.couberia.bzh> <87sjih2wdo.fsf@gmx.de> <87mx8p5nqa.fsf@micropit.couberia.bzh> <87obt5mgc8.fsf@gmx.de> <87fweh5gw4.fsf@micropit.couberia.bzh> <87fwegv2c1.fsf@gmx.de> <877gzs5mw1.fsf@micropit.couberia.bzh> <87bop4uut0.fsf@gmx.de> <87lio7okjw.fsf@micropit.couberia.bzh> <87sjif21m2.fsf@gmx.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1329121770 30044 80.91.229.3 (13 Feb 2012 08:29:30 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 13 Feb 2012 08:29:30 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Feb 13 09:29:28 2012 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RwrHs-0000wq-55 for geh-help-gnu-emacs@m.gmane.org; Mon, 13 Feb 2012 09:29:28 +0100 Original-Received: from localhost ([::1]:56751 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RwrHq-0001D5-BQ for geh-help-gnu-emacs@m.gmane.org; Mon, 13 Feb 2012 03:29:26 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:40163) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RwrHl-0001Cu-CJ for help-gnu-emacs@gnu.org; Mon, 13 Feb 2012 03:29:22 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RwrHk-0004gr-7t for help-gnu-emacs@gnu.org; Mon, 13 Feb 2012 03:29:21 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:58829) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RwrHk-0004gY-2s for help-gnu-emacs@gnu.org; Mon, 13 Feb 2012 03:29:20 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1RwrHd-0000oh-SX for help-gnu-emacs@gnu.org; Mon, 13 Feb 2012 09:29:13 +0100 Original-Received: from arennes-359-1-260-148.w2-12.abo.wanadoo.fr ([2.12.35.148]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 13 Feb 2012 09:29:13 +0100 Original-Received: from pmlists by arennes-359-1-260-148.w2-12.abo.wanadoo.fr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 13 Feb 2012 09:29:13 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 43 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: arennes-359-1-260-148.w2-12.abo.wanadoo.fr User-Agent: Gnus/5.130002 (Ma Gnus v0.2) Emacs/24.0.93 (gnu/linux) Cancel-Lock: sha1:R5aVDwz7T73uR7QvT6Na0uxKvzU= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:83728 Archived-At: On Sun, Feb 12 2012, Michael Albinus wrote: > xd_read_message_1: Event received: DBUS_MESSAGE_TYPE_SIGNAL 2 > org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus NameAcquired > (:1.240) > idle time: 1.297380 Thanks! The only difference is, that you don't get a NotificationClosed signal, but on my system I do: --8<---------------cut here---------------start------------->8--- xd_read_message_1: Event received: DBUS_MESSAGE_TYPE_SIGNAL 1773 :1.10 /org/freedesktop/Notifications org.freedesktop.Notifications NotificationClosed (221 1) xd_read_message_1: Event stored: (:session 4 1773 :1.10 /org/freedesktop/Notifications org.freedesktop.Notifications NotificationClosed notifications-on-closed-signal 221 1) DBus-Event (dbus-event :session 4 1773 :1.10 /org/freedesktop/Notifications org.freedesktop.Notifications NotificationClosed notifications-on-closed-signal 221 1) idle time: 0.498186 --8<---------------cut here---------------end--------------->8--- So there are 2 issues: - The NotificationClosed signal resets the idle-time, and IMO it should not. (emacs issue) - You don't get the NotificationClosed signal and that's probably a bug of your notification system, perhaps this one: https://bugs.kde.org/show_bug.cgi?id=228743 On my system, it's the notification-daemon-0.5.0. According to the spec, the NotificationClosed signal should be sent: http://www.galago-project.org/specs/notification/0.9/x408.html#signal-notification-closed Should I make an emacs bug report? Does anyone know a workaround? -- Peter