[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
notifications-notify resets idle-time
From: |
Peter Münster |
Subject: |
notifications-notify resets idle-time |
Date: |
Fri, 10 Feb 2012 23:08:15 +0100 |
User-agent: |
Gnus/5.130002 (Ma Gnus v0.2) Emacs/24.0.93 (gnu/linux) |
Hello,
How can I prevent `notifications-notify' from resetting the idle time?
In detail: when evaluating the following code, you'll see, that the idle
time does not increase:
--8<---------------cut here---------------start------------->8---
(require 'notifications)
(defun my-test ()
(notifications-notify)
(message (format "idle: %d" (if (current-idle-time)
(cadr (current-idle-time))
0))))
(run-with-timer 5 5 'my-test)
--8<---------------cut here---------------end--------------->8---
TIA for any hints,
--
Peter
- notifications-notify resets idle-time,
Peter Münster <=
- Re: notifications-notify resets idle-time, Michael Albinus, 2012/02/11
- Re: notifications-notify resets idle-time, Peter Münster, 2012/02/11
- Re: notifications-notify resets idle-time, Michael Albinus, 2012/02/11
- Re: notifications-notify resets idle-time, Peter Münster, 2012/02/11
- Re: notifications-notify resets idle-time, Michael Albinus, 2012/02/11
- Re: notifications-notify resets idle-time, Peter Münster, 2012/02/11
- Re: notifications-notify resets idle-time, Michael Albinus, 2012/02/11
- Re: notifications-notify resets idle-time, Peter Münster, 2012/02/11
- Re: notifications-notify resets idle-time, Michael Albinus, 2012/02/12
- Re: notifications-notify resets idle-time, Peter Münster, 2012/02/12