[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Orgmode] BUG: org-clock-find-position slurpes a non-clock line into dra
From: |
Richard KLINDA |
Subject: |
[Orgmode] BUG: org-clock-find-position slurpes a non-clock line into drawer |
Date: |
Fri, 13 Mar 2009 18:48:55 +0100 |
User-agent: |
Gnus/5.110003 (No Gnus v0.3) XEmacs/21.4 (Educational Television, linux) |
To reproduce, set your org-clock-into-drawer to 3 (or any number).
Then:
,----
| * Foo
| - [ ] bar baz
`----
Clock in and out org-clock-into-drawer times, after that I get (=> the
checkbox line got into the logbook drawer):
,----
| * Foo
| :LOGBOOK:
| CLOCK: [2009-03-13 Fri 18:45]--[2009-03-13 Fri 18:45] => 0:00
| CLOCK: [2009-03-13 Fri 18:39]--[2009-03-13 Fri 18:39] => 0:00
| CLOCK: [2009-03-13 Fri 18:39]--[2009-03-13 Fri 18:39] => 0:00
| - [ ] bar baz
| :END:
`----
The bug is in org-clock-find-position, I commented out these lines:
; (if (and (>= (org-get-indentation) ind-last)
; (org-at-item-p))
; (org-end-of-item))
Now it works, but maybe this breaks other stuff, so please Carsten take
a look at this, thanks!
--
Richard
- [Orgmode] BUG: org-clock-find-position slurpes a non-clock line into drawer,
Richard KLINDA <=