* Re: More Flexibility for Stuck Projects?
2009-03-18 17:01 More Flexibility for Stuck Projects? Peter Jones
@ 2009-03-19 16:40 ` Carsten Dominik
2009-03-19 18:00 ` Peter Jones
0 siblings, 1 reply; 3+ messages in thread
From: Carsten Dominik @ 2009-03-19 16:40 UTC (permalink / raw)
To: Peter Jones; +Cc: emacs-orgmode
[-- Attachment #1.1: Type: text/plain, Size: 3385 bytes --]
Hi Peter,
I guess you might want to use
(setq org-tags-exclude-from-inheritance '("project" "subproject"))
Then you can select projects for the stuck-project listing with
"project|subproject"
If you have a reason to actually want the inheritance of these tags
in other circumstances, you could implement this setting
as an option to an agenda custom command that does look for stuck
projects:
(("#" "Stuck" stuck ""
((org-tags-exclude-from-inheritance
'("project" "subproject"))))
To answer to your original question:
On Mar 18, 2009, at 6:01 PM, Peter Jones wrote:
> I really love the idea of stuck projects, it helps me every day.
> Right
> now, I consider projects to be level two headings with the :project:
> tag. 90% of my projects follow this convention.
>
> However, I sometimes find myself needing sub-projects, where level two
> is a project, level three is a sub-project, and level four are tasks:
>
> * Projects :project:
> ** Some Complex Project
> *** Sub-Project 1 :subproject:
> **** NEXT Do something
> **** Do something else
> *** Sub-Project 2 :subproject:
> **** Do something again
>
> With the above headings, and my current configuration for stuck
> projects, Sub-Project 2 won't show up in the stuck projects list
> (because technically it's not a stuck project).
>
> Does anyone have a setting for org-stuck-projects that would allow
> me to
> define a project as either:
>
> 1. A level 2 heading tagged :project:
>
> 2. A level 3 heading tagged :subproject:
"+project+LEVEL=2|+subproject+LEVEL=3"
>
> Or a better way to do what I'm doing.
I am using TODO keywords
#+TODO: PROJ | PRDONE PRCANCELLED
to make projects, because they do not involve inheritance, and a project
is never a TODO item itself, only the subtasks are....
Now, maybe the real problem you are having is this:
When the stuck project search goes through your tree, it first finds a
project tree and checks if it is stuck. If not, the entire tree is
skipped, including the subprojects. This is not what you want.
The best solution probably is to say that a project that has sub
projects is never stuck, by adding the subproject tag to the unstuck
conditions.
Hmm, I see now that part of this problem stems from the fact that
the skipper skips the entire subtree and never looks at subitems.
Maybe this is a mistake... I actually think it is. I am changing
this... done.
With this change, I guess you can switch to
- use :project: to define both projects and subprojects
- exclude :project: from inheritance
- define your stuck project search "+project" to identify a project.
or
- use a TODO keyword PROJ
- define the search as "TODO=\"PROJ\""
HTH
- Carsten
>
> The biggest challenge to getting this working is that I use tag
> inheritance with the :project: tag. In some files I have level 1
> headings tagged :project:, and in others, I use file level tags with
> :project:. That means that all headings are basically tagged as
> :project:, so I need to specify a heading level for stuck projects.
>
> TIA.
>
> --
> Peter Jones, http://pmade.com
> pmade inc. Louisville, CO US
>
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[-- Attachment #1.2: Type: text/html, Size: 4741 bytes --]
[-- Attachment #2: Type: text/plain, Size: 204 bytes --]
_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode
^ permalink raw reply [flat|nested] 3+ messages in thread