From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bernt Hansen Subject: Problem exporting visible with ARCHIVE tag Date: Thu, 03 May 2007 10:49:22 -0400 Message-ID: <87tzuudkst.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 1HjcjT-0007AP-CO for emacs-orgmode@gnu.org; Thu, 03 May 2007 10:56:35 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HjcjS-00077i-EC for emacs-orgmode@gnu.org; Thu, 03 May 2007 10:56:34 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HjcjS-000779-56 for emacs-orgmode@gnu.org; Thu, 03 May 2007 10:56:34 -0400 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Hjccu-0004Cp-Ke for emacs-orgmode@gnu.org; Thu, 03 May 2007 10:49:48 -0400 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1Hjcco-0005kI-CB for emacs-orgmode@gnu.org; Thu, 03 May 2007 16:49:42 +0200 Received: from cpe000102d0fe75-cm0012256ecbde.cpe.net.cable.rogers.com ([74.119.210.211]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 03 May 2007 16:49:42 +0200 Received: from bernt by cpe000102d0fe75-cm0012256ecbde.cpe.net.cable.rogers.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 03 May 2007 16:49:42 +0200 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 Hi Carsten, I just today started using the export to HTML feature of org mode (nice!). I think I found a bug with the export code when exporting folded visible regions that includes an ARCHIVE tag. Export to ASCII and export to HTML shows the same behaviour. I have some archived tasks which cause the task immediately following the archived task to get attached to the same line as the archived task. Here's my test file to reproduce the problem. ---- test.org ---- * First Heading ** DONE Project 1B :ARCHIVE: CLOSED: [2007-04-23 Mon 20:29] * Second Heading * Third Heading ---- end of test.org ---- I fold the tasks so they look like this: (hiding the CLOSED: tag on the archived task) ---- folded view of test.org ---- * First Heading ** DONE Project 1B :ARCHIVE: * Second Heading * Third Heading ---- folded view of test.org ---- Then export only the visible region with C-x C-e v a gives: ---- export --- Table of Contents ================= 1 First Heading 1.1 Project 1B :ARCHIVE:* Second Heading 2 Third Heading 1 First Heading ~~~~~~~~~~~~~~~ 1.1 DONE Project 1B :ARCHIVE:* Second Heading ========================================================================== 2 Third Heading ~~~~~~~~~~~~~~~ ---- end of export --- The '* Second Heading' task is on the same line as the ARCHIVE tag. I'm using version 4.73. Thanks for a great tool! Bernt