all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Problem exporting visible with ARCHIVE tag
@ 2007-05-03 14:49 Bernt Hansen
  2007-05-08  6:40 ` Carsten Dominik
  0 siblings, 1 reply; 2+ messages in thread
From: Bernt Hansen @ 2007-05-03 14:49 UTC (permalink / raw)
  To: emacs-orgmode

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Problem exporting visible with ARCHIVE tag
  2007-05-03 14:49 Problem exporting visible with ARCHIVE tag Bernt Hansen
@ 2007-05-08  6:40 ` Carsten Dominik
  0 siblings, 0 replies; 2+ messages in thread
From: Carsten Dominik @ 2007-05-08  6:40 UTC (permalink / raw)
  To: Bernt Hansen; +Cc: emacs-orgmode

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-05-08  7:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-03 14:49 Problem exporting visible with ARCHIVE tag Bernt Hansen
2007-05-08  6:40 ` Carsten Dominik

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.