From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: tags-tree question Date: Mon, 3 Nov 2008 08:44:10 +0100 Message-ID: References: <7171.1225288853@localhost> <30084876-7A14-42DA-93C6-B434BE43162F@uva.nl> <10913.1225668040@localhost> 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 1KwvZj-0002l6-Mi for emacs-orgmode@gnu.org; Mon, 03 Nov 2008 04:18:19 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KwvZe-0002io-AV for emacs-orgmode@gnu.org; Mon, 03 Nov 2008 04:18:18 -0500 Received: from [199.232.76.173] (port=45003 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KwvZd-0002ih-Pc for emacs-orgmode@gnu.org; Mon, 03 Nov 2008 04:18:13 -0500 Received: from nf-out-0910.google.com ([64.233.182.188]:32512) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KwvZd-0006xs-OJ for emacs-orgmode@gnu.org; Mon, 03 Nov 2008 04:18:14 -0500 Received: by nf-out-0910.google.com with SMTP id c7so1133173nfi.26 for ; Mon, 03 Nov 2008 01:18:12 -0800 (PST) In-Reply-To: <10913.1225668040@localhost> 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: Pete Phillips Cc: emacs-orgmode@gnu.org Hi Pete, there is currently no way o say "today plus 1 month" in a query. The rest of it would be possible. - Carsten On Nov 3, 2008, at 12:20 AM, Pete Phillips wrote: > Hi Carsten > > Carsten> I have now removed the speed-penalty on this syntax. So > Carsten> if, during a tag search, you use property-like expressions > Carsten> for TODO, LEVEL, or CATEGORY, there will be no speed > Carsten> penalty involved. If you access any other properties, > Carsten> there will be a one-time penalty. Once you have paid that > Carsten> penalty for a single property, it is cheap to test > Carsten> additional properties (unless inheritance is involved). > > Many thanks for doing this. I haven't had the chance to try it out yet > (been too busy actually getting things off my Home list this w/e! - > oh - > and letting fireworks off tonight as well ) but your solution > from > last week using the non-intuitive method worked perfectly for me > anyhow. > > On a related question, is it possible to set up an > org-agenda-custom-command to pick out a set of tags, all of which have > NEXT as a todo-type, and which either have no scheduled date, OR which > have a scheduled or deadline date less than or equal to 1 month in the > future. > > For example, show lines with > > NEXT and (Home | LaptopH | DIY) > > where either there is no scheduled (or perhaps, deadline) date OR > > Scheduled Date <= today + 1 month > > My thinking on this is that sometimes I have next actions (such as > cutting my pampas grass every january), which would be set up like > this: > > *** NEXT Cut pampass grass :DIY: > SCHEDULED: <2009-01-12 Thu> > > My current setup uses this: > > ("h" "Home Stuff (Next)" > ((tags "Home//NEXT" nil) > (tags "DIY//NEXT" nil) > (tags "LaptopH//NEXT" nil) > nil) > > The problem at the moment is that it shows up all year in my Home > Stuff > (Next) list (which searches for Home|LaptopH|DIY with NEXT todotypes), > but I only want it to start showing up about a month before the date I > have decided I need to do it. At the moment, NEXT items which I will > need to do, but which I can't do anything about until nearer the time, > clutter up my action lists. > > Is there any way to do this ? > > Cheers, > Pete >