emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Orgmode] Problem exporting visible with ARCHIVE tag


From: Bernt Hansen
Subject: [Orgmode] Problem exporting visible with ARCHIVE tag
Date: Thu, 03 May 2007 10:49:22 -0400
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.95 (gnu/linux)

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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]