emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: Michael Welle <mwe012008@gmx.net>
Cc: emacs-orgmode@gnu.org
Subject: Re: Export subtrees of level n
Date: Sun, 03 Sep 2017 10:12:37 +0200	[thread overview]
Message-ID: <87a82cmc96.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <8737846w8s.fsf@luisa.c0t0d0s0.de> (Michael Welle's message of "Sun, 03 Sep 2017 10:07:31 +0200")

Hello,

Michael Welle <mwe012008@gmx.net> writes:

> imagine the following document structure:
>
> * talk1
> * talk2
> ** foo
> ** bar
> ** foobaz
>
>
> Now the point is in section foobaz and I want to export the subtree
> talk2. C-c C-e C-s doesn't do exactly what I want. I can move the point
> up to * talk2, export the subtree and then move the point back.

Note that subsequent C-u C-c C-e will re-use the same subtree.

> Is there an existing way to say that I want to go up to a level n
> heading and then export, or do I have to implement that by myself?

The latter, if you want to have this right from the start (and not from
the second call)

Regards,

-- 
Nicolas Goaziou

  reply	other threads:[~2017-09-03  8:12 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-03  8:07 Export subtrees of level n Michael Welle
2017-09-03  8:12 ` Nicolas Goaziou [this message]
2017-09-03  8:18   ` Michael Welle
2017-09-03  8:13 ` Adam Porter
2017-09-03  8:23   ` Michael Welle
2017-09-03 17:26     ` Joon Ro
2017-09-03 18:20       ` Michael Welle

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=87a82cmc96.fsf@nicolasgoaziou.fr \
    --to=mail@nicolasgoaziou.fr \
    --cc=emacs-orgmode@gnu.org \
    --cc=mwe012008@gmx.net \
    /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).