emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bernt Hansen <bernt@alumni.uwaterloo.ca>
To: emacs-orgmode@gnu.org
Subject: Problem exporting visible with ARCHIVE tag
Date: Thu, 03 May 2007 10:49:22 -0400	[thread overview]
Message-ID: <87tzuudkst.fsf@gollum.intra.norang.ca> (raw)

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	other threads:[~2007-05-03 14:56 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-03 14:49 Bernt Hansen [this message]
2007-05-08  6:40 ` Problem exporting visible with ARCHIVE tag Carsten Dominik

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87tzuudkst.fsf@gollum.intra.norang.ca \
    --to=bernt@alumni.uwaterloo.ca \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).