emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: "Clément Pit--Claudel" <clement.pit@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Restrict include to some backend
Date: Tue, 06 Sep 2016 22:32:30 +0200	[thread overview]
Message-ID: <87oa40rcpt.fsf@saiph.selenimh> (raw)
In-Reply-To: <1c034d43-221c-2f48-8693-9fbf7b5cb727@gmail.com> ("Clément Pit--Claudel"'s message of "Tue, 6 Sep 2016 14:15:18 -0400")

Hello,

Clément Pit--Claudel <clement.pit@gmail.com> writes:

> Do you think so? Wouldn't BEGIN_ONLY … END_ONLY work? It would be similar to BEGIN_EXPORT, right?
> Or it could even be an option to begin_export?

No, it wouldn't. 

INCLUDE keywords are expanded way before the document is parsed.
Included file can contain, e.g., headlines, and those blocks would
explode without a special treatment.

Regards,

-- 
Nicolas Goaziou

  reply	other threads:[~2016-09-06 21:38 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-06  5:13 Restrict include to some backend Fabrice Popineau
2016-09-06 13:59 ` Clément Pit--Claudel
2016-09-06 14:59   ` Clément Pit--Claudel
2016-09-06 15:58   ` Nicolas Goaziou
2016-09-06 18:15     ` Clément Pit--Claudel
2016-09-06 20:32       ` Nicolas Goaziou [this message]
2016-09-13  3:10         ` Kaushal Modi
2016-09-13  3:14           ` Clément Pit--Claudel
2016-09-14 11:55             ` Kaushal Modi
2016-09-14 12:21               ` Clément Pit--Claudel
2016-09-14 12:33                 ` Kaushal Modi
2016-09-06 20:10   ` Fabrice Popineau

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=87oa40rcpt.fsf@saiph.selenimh \
    --to=mail@nicolasgoaziou.fr \
    --cc=clement.pit@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).