From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Bug in clocking in: the list becomes corrupted by the CLOCK drawer Date: Wed, 11 Feb 2009 11:34:17 +0100 Message-ID: References: <8763jj1wj3.fsf@CPU107.opentrends.net> Mime-Version: 1.0 (Apple Message framework v930.3) Content-Type: multipart/mixed; boundary="===============1244210303==" Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LXCQG-00025v-5g for emacs-orgmode@gnu.org; Wed, 11 Feb 2009 05:34:28 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LXCQE-000257-NM for emacs-orgmode@gnu.org; Wed, 11 Feb 2009 05:34:27 -0500 Received: from [199.232.76.173] (port=50031 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LXCQE-000251-J1 for emacs-orgmode@gnu.org; Wed, 11 Feb 2009 05:34:26 -0500 Received: from ey-out-1920.google.com ([74.125.78.147]:11932) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LXCQE-0007Zc-0C for emacs-orgmode@gnu.org; Wed, 11 Feb 2009 05:34:26 -0500 Received: by ey-out-1920.google.com with SMTP id 4so10168eyg.24 for ; Wed, 11 Feb 2009 02:34:25 -0800 (PST) In-Reply-To: <8763jj1wj3.fsf@CPU107.opentrends.net> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Daniel Clemente Cc: emacs org-mode mailing list --===============1244210303== Content-Type: multipart/alternative; boundary=Apple-Mail-6-490703932 --Apple-Mail-6-490703932 Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit On Feb 9, 2009, at 4:04 PM, Daniel Clemente wrote: > > Hi, with org-mode 6.21b and since some versions ago: > > --------------------------------------- > * learn the alphabet > CLOCK: [2009-01-26 dl 17:04]--[2009-01-26 dl 18:04] => 1:00 > - a > - b > - c > - d > > --------------------------------------- > > > > With that file, clock in that task. You will get the drawer > written like this: > > --------------------------------------- > * learn the alphabet > :CLOCK: > CLOCK: [2009-02-09 dl 16:03] > CLOCK: [2009-01-26 dl 17:04]--[2009-01-26 dl 18:04] => 1:00 > - a > - b > :END: > - c > - d Hi Daniel, this is difficult to avoid, since Org tries to incude clock notes into the drawer, which look like items as well. Here are your options: 1. Leave an empty line after the heading, before you list 2. The most robust may be to use (setq org-clock-into-drawer t) which will create the drawer immediately, already for the first clock entry. HTH - Carsten --Apple-Mail-6-490703932 Content-Type: text/html; charset=US-ASCII Content-Transfer-Encoding: quoted-printable
On Feb 9, 2009, = at 4:04 PM, Daniel Clemente wrote:


=  Hi, with org-mode 6.21b and since some versions = ago:

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

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



=   With that file, clock in that task. You will get the drawer = written like this:

---------------------------------------
* = learn the alphabet
 :CLOCK:
 CLOCK: [2009-02-09 dl = 16:03]
 CLOCK: [2009-01-26 dl 17:04]--[2009-01-26 dl 18:04] =3D> =  1:00
- a
- b
  :END:
- c
- = d

Hi = Daniel,

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

Here are your = options:

1. Leave an empty line after the = heading, before you list

2. The most robust may = be to use

   (setq = org-clock-into-drawer t)

   which = will create the drawer immediately, already for
   = the first clock = entry.

HTH


- Carsten

= --Apple-Mail-6-490703932-- --===============1244210303== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode --===============1244210303==--