From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Problem exporting visible with ARCHIVE tag Date: Tue, 8 May 2007 08:40:43 +0200 Message-ID: References: <87tzuudkst.fsf@gollum.intra.norang.ca> Mime-Version: 1.0 (Apple Message framework v624) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HlKWr-000711-2S for emacs-orgmode@gnu.org; Tue, 08 May 2007 03:54:37 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HlKWn-0006vo-02 for emacs-orgmode@gnu.org; Tue, 08 May 2007 03:54:35 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HlKWm-0006vh-Hv for emacs-orgmode@gnu.org; Tue, 08 May 2007 03:54:32 -0400 Received: from korteweg.uva.nl ([146.50.98.70]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HlKPi-0001iV-7x for emacs-orgmode@gnu.org; Tue, 08 May 2007 03:47:14 -0400 In-Reply-To: <87tzuudkst.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 for the clear description and example of this bug. - Carsten On May 3, 2007, at 16:49, Bernt Hansen wrote: > 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 > > > > _______________________________________________ > Emacs-orgmode mailing list > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode > > -- Carsten Dominik Sterrenkundig Instituut "Anton Pannekoek" Universiteit van Amsterdam Kruislaan 403 NL-1098SJ Amsterdam phone: +31 20 525 7477