emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] Bug in clocking in: the list becomes corrupted by the CLOC


From: Daniel Clemente
Subject: Re: [Orgmode] Bug in clocking in: the list becomes corrupted by the CLOCK drawer
Date: Wed, 11 Feb 2009 12:09:11 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.90 (gnu/linux)


> this is difficult to avoid, since Org tries to incude clock notes
> into the drawer, which look like items as well.

  They look like normal content except for the indentation.
  If it were like this, it would be very hard to differentiate:

---------------------------------------
* learn the alphabet
CLOCK: [2009-01-26 dl 17:04]--[2009-01-26 dl 18:04] =>  1:00
- a
- b
- c
- d

---------------------------------------


  However, it is never like that. There's always at least 1 space/tab, like in:

---------------------------------------
* learn the alphabet
 CLOCK: [2009-01-26 dl 17:04]--[2009-01-26 dl 18:04] =>  1:00
- a
- b
- c
- d

---------------------------------------

  And thus it's possible to tell where the real content starts: at the first 
line without indentation.


  Of course, if the user uses indentation at the first line, they will be 
considered part of the drawers. Something like this:

---------------------------------------
* learn the alphabet
 CLOCK: [2009-01-26 dl 17:04]--[2009-01-26 dl 18:04] =>  1:00
 - a
- b
- c
- d

---------------------------------------

  But that would probably be what the user wanted; anyway this is not the usual 
case.
  On the other hand, I think the second example is more usual and should work.


  Thanks,
Daniel




reply via email to

[Prev in Thread] Current Thread [Next in Thread]