From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bernt Hansen Subject: BUG: Exporting and empty LOGBOOK drawers results in missing data in the export file Date: Tue, 21 Apr 2009 15:57:38 -0400 Message-ID: <87bpqp93v1.fsf@gollum.intra.norang.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LwM6E-00072v-D9 for emacs-orgmode@gnu.org; Tue, 21 Apr 2009 15:57:46 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LwM6B-00072e-WA for emacs-orgmode@gnu.org; Tue, 21 Apr 2009 15:57:46 -0400 Received: from [199.232.76.173] (port=39736 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LwM6B-00072b-QF for emacs-orgmode@gnu.org; Tue, 21 Apr 2009 15:57:43 -0400 Received: from mho-02-ewr.mailhop.org ([204.13.248.72]:53071) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LwM6B-0002Kt-CN for emacs-orgmode@gnu.org; Tue, 21 Apr 2009 15:57:43 -0400 Received: from cpe000102d0fe75-cm0012256ecbde.cpe.net.cable.rogers.com ([99.239.148.180] helo=mail.norang.ca) by mho-02-ewr.mailhop.org with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.68) (envelope-from ) id 1LwM6A-0002G7-53 for emacs-orgmode@gnu.org; Tue, 21 Apr 2009 19:57:42 +0000 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: emacs-orgmode@gnu.org 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