From: Jorge Peixoto de Morais Neto <jorge13515@gmail.com>
To: "Emacs-orgmode@gnu.org" <Emacs-orgmode@gnu.org>
Subject: Potential feature request – more automatic updating of cookies
Date: Wed, 27 Jul 2016 17:21:38 -0300 [thread overview]
Message-ID: <1469650898.16323.41.camel@gmail.com> (raw)
Paste the following in an Org buffer:
--8<---------------cut here---------------start------------->8---
* Cookie_a [0/0]
* TODO Dummy_a
* Cookie_b [0/1]
** TODO Dummy_b
--8<---------------cut here---------------end--------------->8---
Within that buffer:
1. Move point to the line of Dummy_a.
2. <M-right>
I wished the cookie to be updated to [0/1] but it is not.
Then:
1. Move point to the line of Dummy_b.
2. C-c C-x C-w
3. Move point to the line of Dummy_a at column 0.
4. C-c C-x C-y
I wished both cookies to be updated. They are not.
The manual [[info:org#Checkboxes][says]]:
Checkbox statistic cookies are updated automatically if you toggle
checkboxes with `C-c C-c' and make new ones with `M-S-<RET>'. TODO
statistics cookies update when changing TODO states. If you delete
boxes/entries or add/change them by hand, use this command to get things
back into sync.
Should I request the feature of Org automatically updating cookies when using
structure editing commands such as C-c C-x C-w, C-c C-x C-y, <M-left>,
<M-right> and friends? Would it be worth the development cost? I
unfortunately cannot develop it myself.
The point is that C-u C-c # (to update cookies in the entire buffer) takes
long enough that I only call it a few times per week. This means that cookies
can get out of sync. Then I try to remember manually invoking C-c # on the
relevant line every time it goes out of sync, but I sometimes omit it.
I figured I should discuss this in the mailing list before submitting a bug
report with org-submit-bug-report.
Regards
--
• I am Brazilian. I hope my English is correct and I welcome corrections.
• Please adopt free formats like PDF, ODF, Org, LaTeX, Opus, WebM and 7z.
• Free (as in free speech) software for Android: https://f-droid.org/
next reply other threads:[~2016-07-27 20:21 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-07-27 20:21 Jorge Peixoto de Morais Neto [this message]
2016-07-29 3:53 ` Potential feature request – more automatic updating of cookies Adam Porter
2016-08-17 19:05 ` Jorge
2016-09-17 19:34 ` Adam Porter
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:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
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=1469650898.16323.41.camel@gmail.com \
--to=jorge13515@gmail.com \
--cc=Emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
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).