From mboxrd@z Thu Jan 1 00:00:00 1970 From: Cameron Horsburgh Subject: Re: Possible bug with tag inheritance Date: Sun, 26 Apr 2009 04:54:45 +1000 Message-ID: <20090425185444.GE17832@earth> References: <20090424104335.GA17832@earth> <87hc0euso2.fsf@gollum.intra.norang.ca> <20090424130833.GB17832@earth> <87zle6tcat.fsf@gollum.intra.norang.ca> <20090424180253.GC17832@earth> <87fxfxsyys.fsf@gollum.intra.norang.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Lxn2Y-0000v5-OS for emacs-orgmode@gnu.org; Sat, 25 Apr 2009 14:55:54 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Lxn2S-0000qE-LY for emacs-orgmode@gnu.org; Sat, 25 Apr 2009 14:55:54 -0400 Received: from [199.232.76.173] (port=38570 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lxn2S-0000py-26 for emacs-orgmode@gnu.org; Sat, 25 Apr 2009 14:55:48 -0400 Received: from poplet2.per.eftel.com ([203.24.100.45]:37989) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Lxn2R-0001xe-0h for emacs-orgmode@gnu.org; Sat, 25 Apr 2009 14:55:47 -0400 Content-Disposition: inline In-Reply-To: <87fxfxsyys.fsf@gollum.intra.norang.ca> 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: Bernt Hansen Cc: emacs-orgmode@gnu.org On Fri, Apr 24, 2009 at 02:12:11PM -0400, Bernt Hansen wrote: > Cameron Horsburgh writes: > > > On Fri, Apr 24, 2009 at 09:24:10AM -0400, Bernt Hansen wrote: > >> Cameron Horsburgh writes: > >> > >> > On Fri, Apr 24, 2009 at 08:45:17AM -0400, Bernt Hansen wrote: > >> >> I think we need more information to help. Could you show us what your > >> >> value of org-stuck-projects is? > >> > > >> > Sure. > >> > > >> > '(org-stuck-projects (quote ("+LEVEL=2/-DONE" ("TODO" "NEXT" "NEXTACTION") ("Info") " > >> > [State]: EDITED, shown value does not take effect until you set or save it."))) > >> > > >> > >> I think that's a little messed up. Can you post what C-h v > >> org-stuck-projects displays (or cut and paste the value out of your > >> custom file? The [State]: EDITED, ... stuff shouldn't be part of the > >> value. > > > > That's cut straight from my .emacs. The first few lines of C-h v tell me: > > > > org-stuck-projects is a variable defined in `org-agenda.el'. > > Its value is > > ("+LEVEL=2/-DONE" > > ("TODO" "NEXT" "NEXTACTION") > > ("Info") > > "\n [State]: EDITED, shown value does not take effect until you set or save it.") > > Okay. That string is used for regexp matching and probably should not > be there. True! But there it is... > > - If this regexp -> "\n [State]: ...it." matches anywhere in the > subtree then the project is not stuck. > > That's probably not what you want even if matching that exactly string > is unlikely. If you click on the _customize_ link you'll see what each > value is used for. You probably just want an empty string there. Yes, I got that. I've adjusted the string manually. > Carsten mentioned that inherited tags are not considers for stuck > project matching during the search and you should probably try his > suggestion to see if it works better for your scenario. > I haven't had a chance to play around with this yet. As I said in my original mail, though, it's probably more correct to use PROPERTIES to mark something as information. org-stuck-projects seems to be able to read PROPERTIES, so I'll fiddle around with that and see how I go. Thanks for your help, -- Cameron Horsburgh Blog: http://spiritcry.wordpress.com/