emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Sébastien Miquel" <sebastien.miquel@posteo.eu>
To: Michael Dauer <mick.dauer@gmail.com>, emacs-orgmode@gnu.org
Subject: Re: Root heading when exporting sub-trees
Date: Tue, 15 Feb 2022 13:16:55 +0000	[thread overview]
Message-ID: <2d42f513-213c-fb6c-9864-f2a8abe55786@posteo.eu> (raw)
In-Reply-To: <CAP7OBxKNY09VveCt8MbHEN3o+Hdb__C=17pcRZ9=PUwDfg61JQ@mail.gmail.com>

Hi,

Michael Dauer writes:
> When I export a subtree I normally want to produce a document for the 
> topic of the subtree. So I would expect that the contents of the 
> subtree would be exported with the heading as title (and maybe file 
> name) and the children promoted to level 1.

This is the expected behaviour (except for the file name), and what I
get when I run C-c C-e C-s l o.

> What I receive is something like this:
> [...]
> The whole first level of this outline is pointless.

Looking at the code, I don't understand how you can get this outcome.

Regards,

-- 
Sébastien Miquel



  parent reply	other threads:[~2022-02-15 13:19 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-15 10:23 Root heading when exporting sub-trees Michael Dauer
2022-02-15 12:36 ` Juan Manuel Macías
2022-02-15 13:16 ` Sébastien Miquel [this message]
2022-02-15 13:54   ` Michael Dauer

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=2d42f513-213c-fb6c-9864-f2a8abe55786@posteo.eu \
    --to=sebastien.miquel@posteo.eu \
    --cc=emacs-orgmode@gnu.org \
    --cc=mick.dauer@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 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).