emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Stefan Kredler <eska1969@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Bug: export does not ignore #+INCLUDE if archived or tagged :noexport: Package: Org mode version 9.0.5 (9.0.5-elpaplus @ ~/.emacs.d/elpa/org-plus-contrib-20170210/)
Date: Fri, 21 Apr 2017 10:16:52 +0200	[thread overview]
Message-ID: <4eea3f8a-cda4-4b10-996f-41e10a723fb2@Spark> (raw)

[-- Attachment #1: Type: text/plain, Size: 782 bytes --]

when archiving sections or exclude them from export I would expect
them being exempt from being evaluated during export.
The section archived or marked as ~:no export:~ is still evaluated and there is an error
if the reference in the include file is no longer available. I get the error message
~"org-export-expand-include-keyword: Cannot include file ~/filename.org"~

-----
MY PROJECTS -*- mode: org; -*-

* Heading
** sub
** Table to be ignored :noexport:
#+INCLUDE: filename.org::Table_to_ignore

* Archive :ARCHIVE:noexport:
** Table to be ignored :ARCHIVE:
#+INCLUDE: filename.org::Table_to_ignore
-----

Emacs : GNU Emacs 24.5.1 (i686-pc-mingw32)
of 2015-04-11 on LEG570
Package: Org mode version 9.0.5 (9.0.5-elpaplus @ ~/.emacs.d/elpa/org-plus-contrib-20170210/)
--

Stefan

[-- Attachment #2: Type: text/html, Size: 2068 bytes --]

             reply	other threads:[~2017-04-21  8:17 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-21  8:16 Stefan Kredler [this message]
2017-04-21 13:00 ` Bug: export does not ignore #+INCLUDE if archived or tagged :noexport: Package: Org mode version 9.0.5 (9.0.5-elpaplus @ ~/.emacs.d/elpa/org-plus-contrib-20170210/) Rasmus
2017-04-22  7:34   ` Nicolas Goaziou
2017-04-23 17:32     ` Rasmus
2017-04-23 17:50       ` Nicolas Goaziou

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=4eea3f8a-cda4-4b10-996f-41e10a723fb2@Spark \
    --to=eska1969@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).