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: Carsten Dominik
Subject: Re: [Orgmode] Bug in clocking in: the list becomes corrupted by the CLOCK drawer
Date: Wed, 11 Feb 2009 13:21:33 +0100


On Feb 11, 2009, at 12:09 PM, Daniel Clemente wrote:



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,


The true problem here is:  I am such a user. :-)

- Carsten

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]