emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <n.goaziou@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: Bug (?) in new exporter (export subtree)
Date: Fri, 18 Jan 2013 22:12:19 +0100	[thread overview]
Message-ID: <874nie2o24.fsf@gmail.com> (raw)
In-Reply-To: <20130117132849.GA39115@BigDog.local> (Rick Frankel's message of "Thu, 17 Jan 2013 08:28:49 -0500")

Rick Frankel <rick@rickster.com> writes:

> So, it seems that as long as there is a body (or blank) line after the
> parent heading and you position the cursor on that line, it works
> (point at X):
>
> #+begin_src org
> * Title
>   X
> ** heading 1
>    text
> ** heading 2
>    ...
> #+end_src
>
> But if there is no blank line after the "title", there is no way to
> get the expected results with the point either on the title line or
> the first asterix on heading 1:
>
> #+begin_src org
> * Title
> ** heading 1
>    text
> ** heading 2
>    ...
> #+end_src

Indeed, you have to be within the subtree you want to export in order to
effectively export it. In your example there's no such place, so there's
no way to tell which subtree you want to be exported.

This is a reasonable behaviour in my opinion.


Regards,

-- 
Nicolas Goaziou

      reply	other threads:[~2013-01-18 21:12 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-15 20:36 Bug (?) in new exporter (export subtree) Rick Frankel
2013-01-16 18:36 ` Nicolas Goaziou
2013-01-17 13:28   ` Rick Frankel
2013-01-18 21:12     ` Nicolas Goaziou [this message]

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=874nie2o24.fsf@gmail.com \
    --to=n.goaziou@gmail.com \
    --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).