emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <dominik@science.uva.nl>
To: Daniel Clemente <n142857@gmail.com>
Cc: emacs org-mode mailing list <emacs-orgmode@gnu.org>
Subject: Re: Bug in clocking in: the list becomes corrupted by the CLOCK drawer
Date: Wed, 11 Feb 2009 11:34:17 +0100	[thread overview]
Message-ID: <B4CF018A-D247-4090-886D-20234DCDEC7F@uva.nl> (raw)
In-Reply-To: <8763jj1wj3.fsf@CPU107.opentrends.net>


[-- Attachment #1.1: Type: text/plain, Size: 995 bytes --]


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


[-- Attachment #1.2: Type: text/html, Size: 1599 bytes --]

[-- Attachment #2: Type: text/plain, Size: 204 bytes --]

_______________________________________________
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

  reply	other threads:[~2009-02-11 10:34 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-09 15:04 Bug in clocking in: the list becomes corrupted by the CLOCK drawer Daniel Clemente
2009-02-11 10:34 ` Carsten Dominik [this message]
2009-02-11 11:09   ` Daniel Clemente
2009-02-11 12:21     ` Carsten Dominik
2009-02-11 12:24       ` Manish
2009-02-11 13:02       ` Daniel Clemente
2009-02-11 14:10         ` Carsten Dominik
2009-02-12 10:49           ` Daniel Clemente
2009-02-11 15:03   ` Bernt Hansen
2009-02-11 15:18     ` Carsten Dominik
2009-02-11 15:31       ` Bernt Hansen
2009-02-11 15:27     ` Bernt Hansen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=B4CF018A-D247-4090-886D-20234DCDEC7F@uva.nl \
    --to=dominik@science.uva.nl \
    --cc=emacs-orgmode@gnu.org \
    --cc=n142857@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).