From: Carsten Dominik <carsten.dominik@gmail.com>
To: Bernt Hansen <bernt@norang.ca>
Cc: emacs-orgmode@gnu.org
Subject: Re: BUG: Exporting and empty LOGBOOK drawers results in missing data in the export file
Date: Wed, 22 Apr 2009 06:44:13 +0200 [thread overview]
Message-ID: <B0047236-C8D9-4E28-AA47-DFC53971F06E@gmail.com> (raw)
In-Reply-To: <87bpqp93v1.fsf@gollum.intra.norang.ca>
Fixed, thanks.
- Carsten
On Apr 21, 2009, at 9:57 PM, Bernt Hansen wrote:
> 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
>
>
> _______________________________________________
> 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
next prev parent reply other threads:[~2009-04-22 4:44 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-21 19:57 BUG: Exporting and empty LOGBOOK drawers results in missing data in the export file Bernt Hansen
2009-04-22 4:44 ` Carsten Dominik [this message]
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=B0047236-C8D9-4E28-AA47-DFC53971F06E@gmail.com \
--to=carsten.dominik@gmail.com \
--cc=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).