emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Oas: a small addon to Org Mode to automatically close tasks with


From: stardiviner
Subject: Re: [O] Oas: a small addon to Org Mode to automatically close tasks with statistics
Date: Mon, 07 Oct 2019 10:03:19 +0800
User-agent: mu4e 1.3.2; emacs 26.3

Interesting addon, I like this idea. :)

I remember Org Mode has a similar option (can't figure out the option name). And
also have some similar solution like this. Just they are depend on "task
dependencies".

I want to add some hooks on your code, but found this code is hard to read. I
agree Adam's advice, better to use ~org-element~ API to do parsing.

Andrea Giugliano <address@hidden> writes:

> Hi,
>
> I recently landed on this conversation:
> https://lists.gnu.org/archive/html/emacs-orgmode/2010-03/msg00802.html
>
> Since I find myself quite often in a situation like the following:
>
> * TODO abc [3/3]
> - [X] a
> - [X] b
> - [X] c
>
> I decided to dive more into Org's API, and I created this library [0] to
> automatically moving that task to DONE. My library checks that when you
> are in a situation like:
>
> * TODO abc [1/1]
> - [X] a
>
> ** TODO b
>
> the parent task does not swap to DONE because there is still a sub-task
> to complete.
>
> Tasks that have heading like
>
> * abc [0/1]
>
> or
>
> * TODO abc
>
> do NOT get updated, because I want this to work only for TODO that have
> statistics.
>
> How could I propose this as an add-on of Org Mode? Do you think it is
> worth the effort?
>
> Any feedback is very welcome to learn more :)
>
> Best,
>
> Andrea
>
> [0] https://github.com/ag91/org-active-statistics


-- 
[ stardiviner ]
       I try to make every word tell the meaning what I want to express.

       Blog: https://stardiviner.github.io/
       IRC(freenode): stardiviner, Matrix: stardiviner
       GPG: F09F650D7D674819892591401B5DF1C95AE89AC3
      



reply via email to

[Prev in Thread] Current Thread [Next in Thread]