all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: John Hendy <jw.hendy@gmail.com>
To: Skip Collins <skip.collins@gmail.com>
Cc: emacs-org list <emacs-orgmode@gnu.org>
Subject: Re: export subtree
Date: Thu, 10 Dec 2015 21:53:44 -0600	[thread overview]
Message-ID: <CA+M2ft8jFarVanvt+4Yjm3-PTN2ZDCYeJpY6qFkqHDnFwDBj8g@mail.gmail.com> (raw)
In-Reply-To: <CABUh-742iZFY0Cdg+dMKPN-29fH2PBSJd2TSKNLHhhCNkrX-aA@mail.gmail.com>

On Thu, Dec 10, 2015 at 8:50 PM, Skip Collins <skip.collins@gmail.com> wrote:
> Herbert Sitz <hesitz@gmail.com> wrote:
>> * Main tree     :myexporttree:
>> fkjaldfk
>> ** subhead
>> ** subhead
>> * anoher heading 1
>> * another heading level 1
>> ** subhead
>> ** subhead
>
> I did try using the default SELECT_TAG :export: on my main document
> subtree. The problem is that the subtree is not "promoted" to the main
> level. In your example, the title would not become "Main tree" as it
> would if I selected subtree export in the dispatcher.
>

Ah. Agreed on the behavior. I missed your specific request and agree
this doesn't work.

Thinking about it more, using select_tags as a potential solution to
your export of a subtree without navigating to it, problems could
arise if more than one were tagged. If multiple same-level headlines
were tagged with the select_tag, which one should Org use as the
"master" for the document title/level structure?

It sounds like the C-u option did work for you, correct? If so, glad
you found a solution!


John

  reply	other threads:[~2015-12-11  3:53 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-11  0:27 export subtree Herbert Sitz
2015-12-11  0:40 ` John Hendy
     [not found]   ` <CA+iLYJsj=gMvRQXO+h8GKwNvdXzTcZ7vqT_6eYSDnNdbHyJxwg@mail.gmail.com>
2015-12-16  4:43     ` John Hendy
2015-12-11  2:50 ` Skip Collins
2015-12-11  3:53   ` John Hendy [this message]
2015-12-11 13:56     ` Skip Collins
  -- strict thread matches above, loose matches on Subject: below --
2015-12-10 18:24 Skip Collins
2015-12-10 20:06 ` Andreas Leha
2015-12-10 22:06   ` Skip Collins
2015-12-10 22:43     ` Andreas Leha
2015-12-11  0:10       ` Skip Collins

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=CA+M2ft8jFarVanvt+4Yjm3-PTN2ZDCYeJpY6qFkqHDnFwDBj8g@mail.gmail.com \
    --to=jw.hendy@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=skip.collins@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.