emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bob Wilson <millstadtf@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Missing argument in org-reset-checkbox-state-subtree?
Date: Wed, 11 Nov 2020 09:37:37 -0800	[thread overview]
Message-ID: <56D08D2C-83C1-42C3-A7AF-BCDA797DA277@gmail.com> (raw)

Hi folks,
   I’m writing about a possible bug in org-reset-checkbox-state-subtree. This function calls org-update-checkbox-count-maybe with argument 'all, but this value is not defined in the function (or anywhere else that I can see). 

I’d like this value to be nil because I don’t want to update the statistics cookies in the entire buffer, but I don’t see a way to do this (pardon my limited elisp). My workaround is to add an optional all argument to org-reset-checkbox-state-subtree and pass it to org-update-checkbox-count-maybe.

This seems like the desired functionality unless I’m missing something. Is the current implementation intentional?

Kind regards,
Bob Wilson

             reply	other threads:[~2020-11-11 17:38 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-11 17:37 Bob Wilson [this message]
2020-11-12  3:22 ` Kyle Meyer
2020-11-12 16:59   ` Bob Wilson
2020-11-12 23:10     ` Kyle Meyer
2020-11-12 23:38   ` Bob Wilson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=56D08D2C-83C1-42C3-A7AF-BCDA797DA277@gmail.com \
    --to=millstadtf@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --subject='Re: Missing argument in org-reset-checkbox-state-subtree?' \


* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Code repositories for project(s) associated with this inbox:


This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).