Re: [PATCH] org-list.el: Reduce scope to subtree

2023-10-05 Thread Jeremias Gonzalez
On Thu, Oct 5, 2023 at 2:39 AM Ihor Radchenko wrote: > Thanks for providing the reproducer! > Fixed, on main. > https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=88ff6c2fb Wonderful, thank you! Looking at your patch it is definitely much more involved than I was anticipating. Than

Re: [PATCH] org-list.el: Reduce scope to subtree

2023-10-05 Thread Ihor Radchenko
"J. G." writes: > When the relevant headline has that property set, is recurring, and is marked > as done, the headline and its subtrees (without my patch as I've now learned) > have their checkboxes and counter cookies correctly reset. However, top level > headlines elsewhere have their count

Re: [PATCH] org-list.el: Reduce scope to subtree

2023-09-26 Thread J. G.
Good catch, thanks for the feedback. The original problem I was attempting to correct was when making use of org-contrib's org-checklist.el feature to reset checkboxes with the RESET_CHECK_BOXES property. The earliest report of this bug I'm aware of is here: https://github.com/doomemacs/doomema

Re: [PATCH] org-list.el: Reduce scope to subtree

2023-09-26 Thread Ihor Radchenko
"J. G." writes: > Hi, this patch reduces the scope of the function  > org-reset-checkbox-state-subtree to just the subtree per its name and > documentation. > ... > - (org-update-checkbox-count-maybe 'all) > + (org-update-checkbox-count-maybe) Thanks for the patch, but without '