* org-toggle-checkbox does not work on entry with logbook entries @ 2011-03-23 12:14 Matt Lundin 2011-03-23 13:42 ` Sylvain Rousseau 2011-03-23 16:39 ` Nicolas 0 siblings, 2 replies; 3+ messages in thread From: Matt Lundin @ 2011-03-23 12:14 UTC (permalink / raw) To: Org Mode 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 ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: org-toggle-checkbox does not work on entry with logbook entries 2011-03-23 12:14 org-toggle-checkbox does not work on entry with logbook entries Matt Lundin @ 2011-03-23 13:42 ` Sylvain Rousseau 2011-03-23 16:39 ` Nicolas 1 sibling, 0 replies; 3+ messages in thread From: Sylvain Rousseau @ 2011-03-23 13:42 UTC (permalink / raw) To: Matt Lundin; +Cc: Org Mode [-- 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 --] ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: org-toggle-checkbox does not work on entry with logbook entries 2011-03-23 12:14 org-toggle-checkbox does not work on entry with logbook entries Matt Lundin 2011-03-23 13:42 ` Sylvain Rousseau @ 2011-03-23 16:39 ` Nicolas 1 sibling, 0 replies; 3+ messages in thread From: Nicolas @ 2011-03-23 16:39 UTC (permalink / raw) To: Matt Lundin; +Cc: Org Mode 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 ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-03-23 16:39 UTC | newest] Thread overview: 3+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2011-03-23 12:14 org-toggle-checkbox does not work on entry with logbook entries Matt Lundin 2011-03-23 13:42 ` Sylvain Rousseau 2011-03-23 16:39 ` Nicolas
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).