When I call org-toggle-checkbox on the following headline: --8<---------------cut here---------------start------------->8--- * An entry with logbook entries SCHEDULED: <2011-03-19 Sat 08:00 .+1d> :LOGBOOK: CLOCK: [2011-03-23 Wed 08:07] - State "DONE" from "NOW" [2011-03-18 Fri 13:44] CLOCK: [2011-03-18 Fri 13:11]--[2011-03-18 Fri 13:44] => 0:33 - State "DONE" from "NOW" [2011-03-01 Tue 08:51] :END: - [ ] Item one - [ ] Item two - [ ] Item three --8<---------------cut here---------------end--------------->8--- All the items are checked correctly. --8<---------------cut here---------------start------------->8--- - [X] Item one - [X] Item two - [X] Item three --8<---------------cut here---------------end--------------->8--- But when I call org-toggle-checkbox on the entry again, the items are not unchecked. If I remove the LOGBOOK drawer, everything works as expected. Best, Matt
[-- Attachment #1: Type: text/plain, Size: 263 bytes --] Hi, It seems that org-toggle-checkbox doesn't skip the drawer because of the SCHEDULED line. So the reference item is the first one inside the drawer. A non-destructive workaround would be to move the SCHEDULED line after the drawer! Hope this helps! Sylvain. [-- Attachment #2: Type: text/html, Size: 300 bytes --]
Hello,
Matt Lundin <mdl@imapmail.org> writes:
> When I call org-toggle-checkbox on the following headline:
>
> * An entry with logbook entries
> SCHEDULED: <2011-03-19 Sat 08:00 .+1d>
> :LOGBOOK:
> CLOCK: [2011-03-23 Wed 08:07]
> - State "DONE" from "NOW" [2011-03-18 Fri 13:44]
> CLOCK: [2011-03-18 Fri 13:11]--[2011-03-18 Fri 13:44] => 0:33
> - State "DONE" from "NOW" [2011-03-01 Tue 08:51]
> :END:
>
> - [ ] Item one
> - [ ] Item two
> - [ ] Item three
>
> All the items are checked correctly.
>
> - [X] Item one - [X] Item two - [X] Item three
>
> But when I call org-toggle-checkbox on the entry again, the items are
> not unchecked.
>
> If I remove the LOGBOOK drawer, everything works as expected.
This should be now fixed on master. Thank you for reporting this.
Regards,
--
Nicolas