emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Cameron Horsburgh <cammo@netcall.com.au>
To: Bernt Hansen <bernt@norang.ca>
Cc: emacs-orgmode@gnu.org
Subject: Re: Possible bug with tag inheritance
Date: Sun, 26 Apr 2009 04:54:45 +1000	[thread overview]
Message-ID: <20090425185444.GE17832@earth> (raw)
In-Reply-To: <87fxfxsyys.fsf@gollum.intra.norang.ca>

On Fri, Apr 24, 2009 at 02:12:11PM -0400, Bernt Hansen wrote:
> Cameron Horsburgh <cammo@netcall.com.au> writes:
> 
> > On Fri, Apr 24, 2009 at 09:24:10AM -0400, Bernt Hansen wrote:
> >> Cameron Horsburgh <cammo@netcall.com.au> 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/

  reply	other threads:[~2009-04-25 18:55 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-24 10:43 Possible bug with tag inheritance Cameron Horsburgh
2009-04-24 12:45 ` Bernt Hansen
2009-04-24 13:08   ` Cameron Horsburgh
2009-04-24 13:24     ` Bernt Hansen
2009-04-24 18:02       ` Cameron Horsburgh
2009-04-24 18:12         ` Bernt Hansen
2009-04-25 18:54           ` Cameron Horsburgh [this message]
2009-04-24 13:54 ` Carsten Dominik
2009-04-25 19:14   ` Cameron Horsburgh
2009-04-25 20:55     ` Bernt Hansen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090425185444.GE17832@earth \
    --to=cammo@netcall.com.au \
    --cc=bernt@norang.ca \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).