[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Orgmode] org-clock-find-position confusion (bug?)
From: |
Ethan Blanton |
Subject: |
[Orgmode] org-clock-find-position confusion (bug?) |
Date: |
Sat, 27 Sep 2008 23:49:23 -0400 |
User-agent: |
Mutt/1.5.17+20080114 (2008-01-14) |
Thanks for taking care of my last issue so quickly; as a reward, I've
found another one! ;-) (Seriously, thanks for the blazing turn
around last time -- and thanks for org-mode, I'm finding a lot of
things to love!)
org-clock-find-position (6.07b again) displays unexpected behavior
when it encounters a clock line preceding a bulleted list.
Specifically, when a :CLOCK: drawer is created, the drawer encompasses
the first list item. E.g.:
* Heading
CLOCK: [2008-09-27 Sat 14:00]--[2008-09-27 Sat 14:30] => 0:30
- Bullet 1
- Bullet 2
Clocking in on this item again will yield (if drawer creation is
enabled):
* Heading
:CLOCK:
CLOCK: [2008-09-27 Sat 15:00]
CLOCK: [2008-09-27 Sat 14:00]--[2008-09-27 Sat 14:30] => 0:30
- Bullet 1
:END:
- Bullet 2
Looking at org-clock-find-position, this seems to be intentional;
removing the (if (org-at-item-p) (org-end-of-item)) statement "fixes"
this behavior for me, but may be breaking something else which I am
not seeing.
Ethan
--
The laws that forbid the carrying of arms are laws [that have no remedy
for evils]. They disarm only those who are neither inclined nor
determined to commit crimes.
-- Cesare Beccaria, "On Crimes and Punishments", 1764
signature.asc
Description: Digital signature
- [Orgmode] org-clock-find-position confusion (bug?),
Ethan Blanton <=