From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik 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 Message-ID: References: <87bpqp93v1.fsf@gollum.intra.norang.ca> Mime-Version: 1.0 (Apple Message framework v930.3) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LwUJp-0003Aw-Io for emacs-orgmode@gnu.org; Wed, 22 Apr 2009 00:44:21 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LwUJl-0003Aj-TW for emacs-orgmode@gnu.org; Wed, 22 Apr 2009 00:44:21 -0400 Received: from [199.232.76.173] (port=49781 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LwUJl-0003Ag-Q8 for emacs-orgmode@gnu.org; Wed, 22 Apr 2009 00:44:17 -0400 Received: from ey-out-1920.google.com ([74.125.78.146]:64012) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LwUJl-0005Pp-6e for emacs-orgmode@gnu.org; Wed, 22 Apr 2009 00:44:17 -0400 Received: by ey-out-1920.google.com with SMTP id 13so485542eye.24 for ; Tue, 21 Apr 2009 21:44:16 -0700 (PDT) In-Reply-To: <87bpqp93v1.fsf@gollum.intra.norang.ca> 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: Bernt Hansen Cc: emacs-orgmode@gnu.org 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 ] > | ... > |
> |

7.2.2 > Using the clock history to clock in old tasks

> |
> | > | > |
> |
> | > | > | > |
> |

7.3 Playing > with ditaa

> |
> | ... > `---- > > 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