On Sun, Sep 11 2011, Samuel Wales wrote:

> Eric,
>
>> I'm starting with the easiest use-case: attaching a "level" text
>> property to each TODO. I'm trying to do this for TODOs produced by
>
> This might or might not solve all your needs, but one option for
> finding ancestors is to simply grab the olpath for each agenda line.
> Then you can compare pathname components.  For example /a/b is an
> ancestor of /a/b/c/d/e.

Thanks for keeping an eye on this! I had moved from calculating level to
calculating path, and that looks like it will solve the basic issue. Now
I'm fiddling with edge cases, and distinguishing todo blocks from agenda
blocks in custom views, and… and…

Getting close though!

E


Reply via email to