From: Bernt Hansen <bernt@norang.ca>
To: emacs-orgmode@gnu.org
Subject: BUG: Exporting and empty LOGBOOK drawers results in missing data in the export file
Date: Tue, 21 Apr 2009 15:57:38 -0400 [thread overview]
Message-ID: <87bpqp93v1.fsf@gollum.intra.norang.ca> (raw)
I haven't been able to isolate this with a minimal emacs setup yet but
I'm still working on it. I thought I should report it early anyway.
I ran into this today - if you export a file to HTML that has an empty
LOGBOOK drawer like this:
,----
| * Task to Export
| :LOGBOOK:
| :END:
|
| Lots of detail follows
`----
Then the exported file has the headline only and no detail. Lots of
following sections are missing. I ran into this by accidentally
clocking in a task in my documentation file, and then clocking in the
correct task within a minute - so the resulting clock duration was 0:00
and was removed by org-clock-out-remove-zero-time-clocks.
This bug seems to be dependent on a ditaa and begin_src section in the
document but pulling some of these out makes the bug go away.
My actual org-file looks like this:
,----[ org-mode.org ]
| ...
| * Time Clocking
| ** Clocking in
| *** Using the clock history to clock in old tasks
| :LOGBOOK:
| :END:
|
| You can use the clock history to restart clocks on old tasks you've clocked or to jump
| directly to a task you have clocked previously. I use this mainly to clock in whatever
| got interrupted by something.
| ...
| ** Make tasks to respond to emails
| ** Create new tasks and clock in when starting something new
| * Tags, Filetags
| * Key bindings
| * GTD stuff
| ** weekly review process
| * Archiving
| ** Archiving Subtrees
| ** Archive Tag
| * Publishing
| :PROPERTIES:
| :CUSTOM_ID: Publishing
| :END:
|
| ** Playing with ditaa
| * Temporary Section to be deleted
| ...
`----
and results in the following HTML output
,----[ partial HTML output - lots of sections missing ]
| ...
| <div id="outline-container-7.2.2" class="outline-4">
| <h4 id="sec-7.2.2"><span class="section-number-4">7.2.2</span> Using the clock history to clock in old tasks </h4>
| <div class="outline-text-4" id="text-7.2.2">
|
|
| </div>
| </div>
|
| </div>
|
| <div id="outline-container-7.3" class="outline-3">
| <h3 id="sec-7.3"><span class="section-number-3">7.3</span> Playing with ditaa </h3>
| <div class="outline-text-3" id="text-7.3">
| ...
`----
If I delete the empty LOGBOOK drawer it exports properly.
-Bernt
next reply other threads:[~2009-04-21 19:57 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-21 19:57 Bernt Hansen [this message]
2009-04-22 4:44 ` BUG: Exporting and empty LOGBOOK drawers results in missing data in the export file Carsten Dominik
2009-04-22 13:48 ` 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=87bpqp93v1.fsf@gollum.intra.norang.ca \
--to=bernt@norang.ca \
--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).