From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Help with agenda-custom commands Date: Wed, 1 Oct 2008 11:01:57 +0200 Message-ID: <23E675E6-2987-4C4C-9526-5CDE58FFB75D@uva.nl> References: <20080924231637.GM28285@cpoint.net> <20080930164045.GC28285@cpoint.net> Mime-Version: 1.0 (Apple Message framework v929.2) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Kkxbp-0002VJ-VF for emacs-orgmode@gnu.org; Wed, 01 Oct 2008 05:03:02 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Kkxbo-0002UZ-PO for emacs-orgmode@gnu.org; Wed, 01 Oct 2008 05:03:01 -0400 Received: from [199.232.76.173] (port=52023 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kkxbo-0002UE-Ev for emacs-orgmode@gnu.org; Wed, 01 Oct 2008 05:03:00 -0400 Received: from paard.ic.uva.nl ([145.18.40.182]:41724) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Kkxbn-0005Te-Tm for emacs-orgmode@gnu.org; Wed, 01 Oct 2008 05:03:00 -0400 In-Reply-To: <20080930164045.GC28285@cpoint.net> 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: pholcomb@cpoint.net Cc: emacs-orgmode@gnu.org On Sep 30, 2008, at 6:40 PM, Paul Holcomb wrote: > On Sun, Sep 28, 2008 at 07:16:41AM +0200, Carsten Dominik wrote: > >>> *) Is there a simple way to construct an agenda view that: >>> -shows all past scheduled events for one TODO keyword only >>> -skips for all others > >> I have not tested this, but you might be able to use the general >> tags/ >> property/todo matcher >> on `C-c a m' like this: >> >> SCHEDULED<""/!+MYTODOKEYWORD > > This works, but not for a day or week view. Yes, correct, you cannot do this for the agenda..... > > > On the positive side, while I was trying to figure out how to do > this, I've started to rethink how I'm using the different date > keywords. > > I was originally trying to overload the meaning of SCHEDULED. Making > a TODO item that starts in the future and then will continue showing > up until done (as in the manual) for "WAITING" items, but also as a > TODO item that starts in the future, but then should become a normal > TODO item for everything not a "WAITING" item. > > I think a better approach to the second one is going to be using a > property like ACTIVEON, like so: > > :PROPERTIES: > :ACTIVEON: <2008-10-01 Wed> > :END: > > I'm still at the idea stage here, but think it could work with a hook > similar to org-expiry.el or org-depend.el Well, keep thinking and keep us posted. > > >>> *) Using a defconst symbol or function that evaluates to a stringp >>> in place of an actual string in for the match field. >>> >>> It seems like the evaluation order is at fault, but I couldn't get >>> further. >> >> indeed, currently the match entry is not evaluated. I guess we could >> do that, but it would involve changing several functions. I would >> need a convincing use case before I invest the time. How would you >> want to use this? > > Totally not important. I was just trying to clean up some of my > agenda functions and feared I was missing something basic. OK. - Carsten