From: Eric S Fraga <e.fraga@ucl.ac.uk>
To: Hsiu-Khuern Tang <tangoh@gmail.com>
Cc: orgmode <emacs-orgmode@gnu.org>
Subject: Re: bug in selective export when selected heading follows excluded heading
Date: Fri, 1 Jun 2012 15:40:33 +0930 [thread overview]
Message-ID: <87396fr292.fsf@ucl.ac.uk> (raw)
In-Reply-To: <8762bbspiv.fsf@ucl.ac.uk> (Eric S. Fraga's message of "Fri, 1 Jun 2012 12:32:32 +0930")
Eric S Fraga <e.fraga@ucl.ac.uk> writes:
> Hsiu-Khuern Tang <tangoh@gmail.com> writes:
>
>> Hi,
>>
>> Here's an input file, a.org:
>>
>> ----------------------------------------------------
>>
>> #+OPTIONS: toc:nil
>> #+EXPORT_EXCLUDE_TAGS: exclude
>> #+EXPORT_SELECT_TAGS: include
>>
>> * chap1
>>
>> ** sec1 :exclude:
>>
>> ** sec2 :include:
>>
>> ----------------------------------------------------
>>
>> If I export this file, the heading gets mangled. E.g., the ascii export is:
>
> Confirmed with up to date org.
To follow this up further, the solution is to put the :include: tag on
the top level heading (chap1) as well. Then the export works fine.
There is still a bug but whether sec2 should be output at all or not,
given that chap1 has no tag, is unclear! Undefined situation basically.
HTH,
eric
--
: Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.1.50.1
: using Org release_7.8.10-630-g4144c5.dirty
next prev parent reply other threads:[~2012-06-01 6:10 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-26 7:34 bug in selective export when selected heading follows excluded heading Hsiu-Khuern Tang
2012-06-01 3:02 ` Eric S Fraga
2012-06-01 6:10 ` Eric S Fraga [this message]
2012-06-01 19:00 ` Hsiu-Khuern Tang
-- strict thread matches above, loose matches on Subject: below --
2012-05-28 18:44 Bug " Hsiu-Khuern Tang
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87396fr292.fsf@ucl.ac.uk \
--to=e.fraga@ucl.ac.uk \
--cc=emacs-orgmode@gnu.org \
--cc=tangoh@gmail.com \
/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 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.