From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.help Subject: Re: notifications-notify resets idle-time Date: Mon, 05 Mar 2012 15:51:49 +0100 Message-ID: <87vcmjt81m.fsf@gmx.de> 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> <874nuvi1bl.fsf@micropit.couberia.bzh> <87lio7j6g3.fsf@gmx.de> <87ehtyhh8d.fsf@micropit.couberia.bzh> <87hayuk7jn.fsf@gmx.de> <87pqdie396.fsf@micropit.couberia.bzh> <87k43pycii.fsf@gmx.de> <87fwdogiv5.fsf@micropit.couberia.bzh> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1330959131 5316 80.91.229.3 (5 Mar 2012 14:52:11 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 5 Mar 2012 14:52:11 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Peter =?utf-8?Q?M=C3=BCnster?= Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Mar 05 15:52:10 2012 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1S4ZGk-0008LH-Eh for geh-help-gnu-emacs@m.gmane.org; Mon, 05 Mar 2012 15:52:10 +0100 Original-Received: from localhost ([::1]:56280 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S4ZGj-0007MK-M0 for geh-help-gnu-emacs@m.gmane.org; Mon, 05 Mar 2012 09:52:09 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:34832) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S4ZGe-0007MB-V0 for help-gnu-emacs@gnu.org; Mon, 05 Mar 2012 09:52:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S4ZGW-0003bo-Va for help-gnu-emacs@gnu.org; Mon, 05 Mar 2012 09:52:04 -0500 Original-Received: from mailout-de.gmx.net ([213.165.64.22]:42607) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1S4ZGW-0003ba-Ch for help-gnu-emacs@gnu.org; Mon, 05 Mar 2012 09:51:56 -0500 Original-Received: (qmail invoked by alias); 05 Mar 2012 14:51:53 -0000 Original-Received: from p57BB950E.dip0.t-ipconnect.de (EHLO detlef.gmx.de) [87.187.149.14] by mail.gmx.net (mp004) with SMTP; 05 Mar 2012 15:51:53 +0100 X-Authenticated: #3708877 X-Provags-ID: V01U2FsdGVkX19cMAkWPPlclL58TdnPKXjUSF6fLpaD0AXJE+Tbin bzIyWj00lkz7IN In-Reply-To: <87fwdogiv5.fsf@micropit.couberia.bzh> ("Peter \=\?utf-8\?Q\?M\?\= \=\?utf-8\?Q\?\=C3\=BCnster\=22's\?\= message of "Sun, 04 Mar 2012 22:24:14 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.94 (gnu/linux) X-Y-GMX-Trusted: 0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 213.165.64.22 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:83939 Archived-At: Peter M=C3=BCnster writes: > It seems, that I rather need dbus-unregister-object, because I only want > to unregister the closed-signal, not the action-signal. So I patched > notifications.el: Well, I've played also with notifications.el, in order to make fine-grained signal registering. The ide was, that a new register-signal shall be applied exactly for the signal we do expect. In general it is possible, one could say how the arguments look like of the incoming signals. But unfortunately, the ID argument of the notifications-action-signal and notifications-close-signal is of type UINT32, and using arguments for registering signals is only possible if they are of type STRING. So I failed. Let's wait for Emacs 24.2. Either we will suppress resetting the idle timer when D-Bus events arrive, or I find a way to discriminate incoming signals also by arguments of non-STRING type. Best regards, Michael.