From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: notify, when something to do Date: Sun, 23 Oct 2011 23:29:19 +0200 Message-ID: <874nyzo0r4.fsf@gnu.org> References: <87vcrgqav9.fsf@micropit.couberia.bzh> <87pqhnade0.fsf@thinkpad.tsdh.de> <87mxcr373e.fsf@micropit.couberia.bzh> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([140.186.70.92]:60031) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RI5ao-0002dM-UJ for emacs-orgmode@gnu.org; Sun, 23 Oct 2011 17:28:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RI5an-00020g-FP for emacs-orgmode@gnu.org; Sun, 23 Oct 2011 17:28:30 -0400 Received: from mail-wy0-f169.google.com ([74.125.82.169]:56527) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RI5an-0001y5-AG for emacs-orgmode@gnu.org; Sun, 23 Oct 2011 17:28:29 -0400 Received: by wyg34 with SMTP id 34so6576483wyg.0 for ; Sun, 23 Oct 2011 14:28:28 -0700 (PDT) In-Reply-To: <87mxcr373e.fsf@micropit.couberia.bzh> ("Peter =?iso-8859-1?Q?M=FCnster=22's?= message of "Sun, 23 Oct 2011 20:17:57 +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: Peter =?iso-8859-1?Q?M=FCnster?= Cc: emacs-orgmode@gnu.org Hi Peter, pmlists@free.fr (Peter Münster) writes: > - I think, I'll need a filter for org-agenda-to-appt, because I only > want TODO items. Should be no problem. Yes -- just use a function who tries to match the TODO keyword against the entry. > - How to distinguish between SCHEDULED and DEADLINE? I'll > investigate... I introduced the ability to use (org-agenda-to-appt nil t :scheduled) if you just want to get scheduled appointments. This might speeds things and make them more flexible. > - Perhaps the main problem: appt does not know about warning periods. > There are items with "-3d", other with "-5M"[1]. There is only one > universal appt-message-warning-time. Would it be possible, to have a > individual warning-time for each todo-item, directly computed from the > warning time in the org-timestamp? Check what info is available as text properties in the agenda (with `C-u C-x =') and see if you can use this information in a filter function. HTH, -- Bastien