From: Daniel Clemente <n142857@gmail.com>
To: Carsten Dominik <dominik@science.uva.nl>
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 12:09:11 +0100 [thread overview]
Message-ID: <874oz1kz6w.fsf@CPU107.opentrends.net> (raw)
In-Reply-To: <B4CF018A-D247-4090-886D-20234DCDEC7F@uva.nl> (Carsten Dominik's message of "Wed, 11 Feb 2009 11:34:17 +0100")
> 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
next prev parent reply other threads:[~2009-02-11 11:09 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
2009-02-11 11:09 ` Daniel Clemente [this message]
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=874oz1kz6w.fsf@CPU107.opentrends.net \
--to=n142857@gmail.com \
--cc=dominik@science.uva.nl \
--cc=emacs-orgmode@gnu.org \
/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).