Hello,

I noticed a strange behavior when running
org-update-parent-todo-statistics where it would report N/M (and N !=
M) even though all the subtasks were done.  This seems to happen when
a headline is spuriously considered as starting with a todo keyword,
for example:

```org
#+TODO: TODO | DONE
#+TODO: BUG | FIXED

* TODO [1/3] two tasks for a bug report
** bug report text
** TODO Actual todo item
** DONE done item
```

In the above, "bug report text" seems to cause the parent's statistics
to become [1/3] instead of [1/2].  Changing it to just "report text"
doesn't have this issue.  This is surprising, since todo keywords seem
to be case-sensitive otherwise (such as for font-lock).

Thanks,
Aaron Zeng

Emacs  : GNU Emacs 31.1.50 (build 1, x86_64-pc-linux-gnu, X toolkit, cairo 
version 1.18.4, Xaw scroll bars)
Package: Org mode version 9.8.10 (9.8.10-80c431 @ 
/usr/local/home/azeng/workspaces/24833141-bffb-3c99-a9d6-c366d37c4f5e/+share+/app/emacs/site-lisp/elpa/org-9.8.10/)

Reply via email to