From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?utf-8?Q?Peter_M=C3=BCnster?= Subject: Re: [RFC] warn time for appointments Date: Tue, 27 Mar 2012 21:58:39 +0200 Message-ID: <87fwct3jf4.fsf@micropit.couberia.bzh> References: <87y5qr8z64.fsf@kanis.fr> <87fwczzk68.fsf@micropit.couberia.bzh> <10199.1332520955@alphaville> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:58041) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SCcXd-0001As-IX for emacs-orgmode@gnu.org; Tue, 27 Mar 2012 15:58:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SCcXb-00031t-V5 for emacs-orgmode@gnu.org; Tue, 27 Mar 2012 15:58:53 -0400 Received: from plane.gmane.org ([80.91.229.3]:53687) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SCcXb-00030m-Nh for emacs-orgmode@gnu.org; Tue, 27 Mar 2012 15:58:51 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1SCcXZ-0005CC-PJ for emacs-orgmode@gnu.org; Tue, 27 Mar 2012 21:58:49 +0200 Received: from arennes-359-1-240-136.w2-2.abo.wanadoo.fr ([2.2.191.136]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 27 Mar 2012 21:58:49 +0200 Received: from pmlists by arennes-359-1-240-136.w2-2.abo.wanadoo.fr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 27 Mar 2012 21:58:49 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org On Fri, Mar 23 2012, Nick Dokos wrote: > But previously, things were bad enough that I had to turn off the notify > process. Now, I'm leaving it on and (mostly) not noticing that > it's there, so that's definitely progress. There is still one thing, that we can do: call org-notify-process periodically, but only when the user is idle for at least some seconds. This logic exists already in gnus-demon-add-handler but the gnus-demon runs only when gnus is running. So, what we can do is: - patch gnus-demon.el to allow running the daemon independently of gnus - copy parts of gnus-demon.el - perhaps something else... Some day I'll take a look. -- Peter