emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Projects with priority items
@ 2011-02-14 18:46 Nathan Neff
  2011-02-14 21:14 ` Samuel Wales
  0 siblings, 1 reply; 4+ messages in thread
From: Nathan Neff @ 2011-02-14 18:46 UTC (permalink / raw)
  To: emacs-orgmode

I have a custom agenda view that shows items with the tag "project".

It shows a TODO list like this:

* TODO Project A
** TODO Subtask for project A
** TODO Another task for A
* TODO Project B
** TODO B subtask

However, if I put a priority on "Subtask for project A", then the
subtask jumps out of its nested structure like this:

** TODO [#A] Subtask for project A
* TODO Project A
<etc>

This becomes confusing when I have 6-7 projects going on.

Is there an agenda sorting strategy that I can use to keep the TODOs
inside their respective parents?

Thanks,
--Nate

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Projects with priority items
  2011-02-14 18:46 Projects with priority items Nathan Neff
@ 2011-02-14 21:14 ` Samuel Wales
  2011-02-15  2:44   ` Nathan Neff
  0 siblings, 1 reply; 4+ messages in thread
From: Samuel Wales @ 2011-02-14 21:14 UTC (permalink / raw)
  To: Nathan Neff; +Cc: emacs-orgmode

Excellent question.  Do you mean all ancestors?

===

More options you might consider (don't want to hijack thread):

Other options include dimming tasks that have at least one descendent
in the same agenda view.

Motivation is that sometimes I mark a task as important (or any other
tag), and mark its child as important.  When I look at the agenda view
for important items without inheritance, I am less interested in the
parent.  But when B is done, I am interested in A again.  I don't want
to manipulate tags.  I just want to have both there all the time in the
agenda, but one dimmed.

  * deal with company A :important:
    * call B at company A :important:
    * call C

However, this is also not implemented.

Samuel

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Projects with priority items
  2011-02-14 21:14 ` Samuel Wales
@ 2011-02-15  2:44   ` Nathan Neff
  2011-02-15  3:32     ` Nathan Neff
  0 siblings, 1 reply; 4+ messages in thread
From: Nathan Neff @ 2011-02-15  2:44 UTC (permalink / raw)
  To: Samuel Wales; +Cc: emacs-orgmode

On Mon, Feb 14, 2011 at 3:14 PM, Samuel Wales <samologist@gmail.com> wrote:
> Excellent question.  Do you mean all ancestors?
>

Yes.  That makes sense.

If I have this:

* Some project   :project:
** TODO Task Foo
** [#A] TODO Task Bar

I would like an agenda view that would show items tagged with
:project: and its TODO descendants.  I would like the descendants
to remain under the parent, otherwise they lose context, and get spread around
the agenda view.

My main goal is part of a weekly review, where I look at all my
projects, and make
sure they have some TODO item that's scheduled.

I'll look around for some solutions, and post anything that I come up with.

Any ideas are appreciated.

Thanks,
--Nate

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Projects with priority items
  2011-02-15  2:44   ` Nathan Neff
@ 2011-02-15  3:32     ` Nathan Neff
  0 siblings, 0 replies; 4+ messages in thread
From: Nathan Neff @ 2011-02-15  3:32 UTC (permalink / raw)
  To: Samuel Wales; +Cc: emacs-orgmode

On Mon, Feb 14, 2011 at 8:44 PM, Nathan Neff <nathan.neff@gmail.com> wrote:
> On Mon, Feb 14, 2011 at 3:14 PM, Samuel Wales <samologist@gmail.com> wrote:
>> Excellent question.  Do you mean all ancestors?
>>
>
> Yes.  That makes sense.
>
> If I have this:
>
> * Some project   :project:
> ** TODO Task Foo
> ** [#A] TODO Task Bar
>
> I would like an agenda view that would show items tagged with
> :project: and its TODO descendants.  I would like the descendants
> to remain under the parent, otherwise they lose context, and get spread around
> the agenda view.
>
> My main goal is part of a weekly review, where I look at all my
> projects, and make
> sure they have some TODO item that's scheduled.
>
> I'll look around for some solutions, and post anything that I come up with.

I think I found a suitable solution:  Just set
org-agenda-sorting-strategy nil for my custom project agenda:

 ("pp" "Projects" tags-todo "project-DONE-CANCELLED"
	       ((org-agenda-overriding-header "Projects (High Level)")
            (org-agenda-sorting-strategy nil)))

At least this keeps the sub-tasks under the tasks, and provides a readable
agenda view, like this:

TODO Project A
.TODO Project A subtask
.TODO [#A] Another project A subtask

Will update the list w/any other fixes/tweaks to this solution.

--Nate

>
> Any ideas are appreciated.
>
> Thanks,
> --Nate
>

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-02-15  3:32 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-02-14 18:46 Projects with priority items Nathan Neff
2011-02-14 21:14 ` Samuel Wales
2011-02-15  2:44   ` Nathan Neff
2011-02-15  3:32     ` Nathan Neff

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).