* recursive checkbox counting
@ 2020-10-01 6:44 Alan Schmitt
2020-10-01 11:26 ` Eric S Fraga
2020-10-01 20:24 ` Tory S. Anderson
0 siblings, 2 replies; 7+ messages in thread
From: Alan Schmitt @ 2020-10-01 6:44 UTC (permalink / raw)
To: emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 549 bytes --]
Hello,
I'm trying to recursively count checkboxes, with intermediate counting:
* [0/0] 2020
:PROPERTIES:
:COOKIE_DATA: checkbox recursive
:END:
** [1/1] Week 39
- [X] [[file:2020-09-29.org][§:2020-09-29 (Tuesday)]]
** [2/2] Week 36
- [X] [[file:2020-09-08.org][§:2020-09-08 (Tuesday)]]
- [X] [[file:2020-09-07.org][§:2020-09-07 (Monday)]]
Unfortunately I don't know what property I need to set on the top-level
node to recursively count everything. I would like to see [3/3] there.
Is there a way to do it?
Thanks,
Alan
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 528 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: recursive checkbox counting
2020-10-01 6:44 recursive checkbox counting Alan Schmitt
@ 2020-10-01 11:26 ` Eric S Fraga
2020-10-01 12:14 ` Alan Schmitt
2020-10-01 20:24 ` Tory S. Anderson
1 sibling, 1 reply; 7+ messages in thread
From: Eric S Fraga @ 2020-10-01 11:26 UTC (permalink / raw)
To: Alan Schmitt; +Cc: emacs-orgmode
On Thursday, 1 Oct 2020 at 08:44, Alan Schmitt wrote:
> I'm trying to recursively count checkboxes, with intermediate counting:
I think you can only do this for lists of lists. In your case, you
would have the 2020 headline but all subheadings would be list elements
with the cookie. You would keep the recursive property in the top
headline.
But, for the record, I would like to be able to do what you want as
well. It just doesn't seem possible currently.
--
: Eric S Fraga via Emacs 28.0.50, Org release_9.4-38-g16f505
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: recursive checkbox counting
2020-10-01 11:26 ` Eric S Fraga
@ 2020-10-01 12:14 ` Alan Schmitt
0 siblings, 0 replies; 7+ messages in thread
From: Alan Schmitt @ 2020-10-01 12:14 UTC (permalink / raw)
To: Eric S Fraga; +Cc: emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 627 bytes --]
Hello Eric,
On 2020-10-01 12:26, Eric S Fraga <e.fraga@ucl.ac.uk> writes:
> On Thursday, 1 Oct 2020 at 08:44, Alan Schmitt wrote:
>> I'm trying to recursively count checkboxes, with intermediate counting:
>
> I think you can only do this for lists of lists. In your case, you
> would have the 2020 headline but all subheadings would be list elements
> with the cookie. You would keep the recursive property in the top
> headline.
Thank you for the suggestion, it works indeed.
> But, for the record, I would like to be able to do what you want as
> well. It just doesn't seem possible currently.
I agree.
Best,
Alan
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 528 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: recursive checkbox counting
2020-10-01 6:44 recursive checkbox counting Alan Schmitt
2020-10-01 11:26 ` Eric S Fraga
@ 2020-10-01 20:24 ` Tory S. Anderson
2020-10-02 9:24 ` Alan Schmitt
1 sibling, 1 reply; 7+ messages in thread
From: Tory S. Anderson @ 2020-10-01 20:24 UTC (permalink / raw)
To: Alan Schmitt; +Cc: emacs-orgmode
The way I've made this work is with the following property:
:COOKIE_DATA: ALL
But I suppose I haven't tried if that's fully recursive.
HTH,
- Tory
Alan Schmitt <alan.schmitt@polytechnique.org> writes:
> Hello,
>
> I'm trying to recursively count checkboxes, with intermediate counting:
>
> * [0/0] 2020
> :PROPERTIES:
> :COOKIE_DATA: checkbox recursive
> :END:
> ** [1/1] Week 39
> - [X] [[file:2020-09-29.org][§:2020-09-29 (Tuesday)]]
> ** [2/2] Week 36
> - [X] [[file:2020-09-08.org][§:2020-09-08 (Tuesday)]]
> - [X] [[file:2020-09-07.org][§:2020-09-07 (Monday)]]
>
> Unfortunately I don't know what property I need to set on the top-level
> node to recursively count everything. I would like to see [3/3] there.
> Is there a way to do it?
>
> Thanks,
>
> Alan
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2020-10-02 13:52 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-10-01 6:44 recursive checkbox counting Alan Schmitt
2020-10-01 11:26 ` Eric S Fraga
2020-10-01 12:14 ` Alan Schmitt
2020-10-01 20:24 ` Tory S. Anderson
2020-10-02 9:24 ` Alan Schmitt
2020-10-02 13:40 ` Nick Dokos
2020-10-02 13:49 ` Alan Schmitt
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.