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: Sun, 12 Feb 2012 10:16:30 +0100 Message-ID: <87fwegv2c1.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> 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 1329038215 5047 80.91.229.3 (12 Feb 2012 09:16:55 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 12 Feb 2012 09:16:55 +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 Sun Feb 12 10:16:53 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 1RwVYB-0005fy-Nn for geh-help-gnu-emacs@m.gmane.org; Sun, 12 Feb 2012 10:16:51 +0100 Original-Received: from localhost ([::1]:49563 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RwVY7-0001i2-Im for geh-help-gnu-emacs@m.gmane.org; Sun, 12 Feb 2012 04:16:47 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:52032) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RwVY3-0001hx-Ez for help-gnu-emacs@gnu.org; Sun, 12 Feb 2012 04:16:44 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RwVY2-0002Va-Jl for help-gnu-emacs@gnu.org; Sun, 12 Feb 2012 04:16:43 -0500 Original-Received: from mailout-de.gmx.net ([213.165.64.22]:44523) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1RwVY2-0002VM-94 for help-gnu-emacs@gnu.org; Sun, 12 Feb 2012 04:16:42 -0500 Original-Received: (qmail invoked by alias); 12 Feb 2012 09:16:39 -0000 Original-Received: from p57BB9C7D.dip0.t-ipconnect.de (EHLO detlef.gmx.de) [87.187.156.125] by mail.gmx.net (mp030) with SMTP; 12 Feb 2012 10:16:39 +0100 X-Authenticated: #3708877 X-Provags-ID: V01U2FsdGVkX1/qErgbAn/qHhjs9xL/+dTitnKcGnkMLlfuDquPb2 g811B5kzMJbajR In-Reply-To: <87fweh5gw4.fsf@micropit.couberia.bzh> ("Peter \=\?utf-8\?Q\?M\?\= \=\?utf-8\?Q\?\=C3\=BCnster\=22's\?\= message of "Sat, 11 Feb 2012 20:06:35 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.93 (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:83712 Archived-At: Peter M=C3=BCnster writes: > On Sat, Feb 11 2012, Michael Albinus wrote: > >> Ahh, that's the difference. I haven't closed the notification window, I >> let it expire. This does not reset idle-time. > > Me too, I let it expire. I've just done another test with closing by > mouse-click. The result is the same: when the windows closes (by click > or expiration) it resets the idle-time. > > Any idea how to debug this? keyboard.c. notifications.el is implemented by D-Bus calls and signals. In keyboard.c, D-Bus events are handled like other input events, for example keyboard pressing. This might also reset idle-time, I haven't checked further. Best regards, Michael.