Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhancement: worf-delete-subtree to update the todo count #32

Open
heikkil opened this issue Jul 31, 2017 · 0 comments
Open

Enhancement: worf-delete-subtree to update the todo count #32

heikkil opened this issue Jul 31, 2017 · 0 comments

Comments

@heikkil
Copy link

heikkil commented Jul 31, 2017

I found a solution to this emacs stackexchange question and then started to think that it could a good addition to worf-delete-subtree.

I am not too sure about the design philosophy behind worf and implications of adding this functionality, so rather than creating a pull request, I suggest here that this could be added to the end of the worf-delete-subtree function code:

(when org-provide-todo-statistics
      (org-update-parent-todo-statistics))

At least, there is very little overhead in adding it. At best, updating the stats automatically could be a pleasant surprise to the user. There might be other places where org todo stats could be taken into account, but not sure where.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant