From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Lutomirski Subject: Re: [PATCH] Make org-agenda-todo-ignore-* more flexible Date: Sun, 14 Feb 2010 17:37:36 -0500 Message-ID: References: <39F0C8E9-E1DC-48AD-9A09-B61DA691DA39@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ngn6L-0000Fi-4z for emacs-orgmode@gnu.org; Sun, 14 Feb 2010 17:38:05 -0500 Received: from [140.186.70.92] (port=56462 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ngn6K-0000Ew-30 for emacs-orgmode@gnu.org; Sun, 14 Feb 2010 17:38:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Ngn6I-0000A8-PA for emacs-orgmode@gnu.org; Sun, 14 Feb 2010 17:38:03 -0500 Received: from mail-fx0-f217.google.com ([209.85.220.217]:49639) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ngn6I-00009m-JE for emacs-orgmode@gnu.org; Sun, 14 Feb 2010 17:38:02 -0500 Received: by fxm9 with SMTP id 9so897737fxm.30 for ; Sun, 14 Feb 2010 14:37:56 -0800 (PST) In-Reply-To: <39F0C8E9-E1DC-48AD-9A09-B61DA691DA39@gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Carsten Dominik Cc: emacs-orgmode@gnu.org On Sun, Feb 14, 2010 at 4:37 PM, Carsten Dominik wrote: > Hi Andrew, > > On Feb 13, 2010, at 12:17 AM, Andrew Lutomirski wrote: > >> Hi all- >> >> I'm pretty close to switching to org-mode to keep a todo list, but the >> current set of options doesn't do it for me. =C2=A0I want my todo list t= o >> show: >> >> - todos without a date (that means "do at earliest convenience") >> - todos scheduled for today or earlier (that means "do at earliest >> convenience, but don't bother until scheduled date") >> - todos with near deadlines (that means "do by deadline but not >> before warning") >> >> This patch adds more options to >> org-agenda-todo-ignore-{scheduled,deadlines} to allow this usecase. >> It shouldn't break compatibility with existing uses -- both variables >> do exactly what they used to when set to t. >> >> commit: >> http://github.com/amluto/org-mode/commit/afa59fc91630bcffe388228566aa013= 7d1b2e7fd >> topic: http://github.com/amluto/org-mode/tree/agenda-todo-improvements >> git URL: git@github.com:amluto/org-mode.git agenda-todo-improvements >> >> Do you like this patch? =C2=A0And do I need to submit a copyright assign= ment? > > I like the patch. =C2=A0I have changed it a bit, and therefore I > guess I can accept it for now without. =C2=A0Still - if you don't mind, p= lease > get an assignment just in case you are going to submit more patches. Great! For the record, =C5=81ukasz Stelmach (lukasz.stelmach@iem.pw.edu.pl) inspired this patch -- he had an earlier patch that did something similar, although I didn't use any of his code. A couple thoughts, though: s/applie/applies org-agenda-todo-ignore-scheduled =3D all isn't documented. Maybe the test could be: "all or t Don't show any scheduled entries in the global todo list." (with the appropriate number of spaces) --Andy