From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Kredler 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 Message-ID: <4eea3f8a-cda4-4b10-996f-41e10a723fb2@Spark> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="58f9c006_327b23c6_efa" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51882) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d1Tkl-0006DP-JD for emacs-orgmode@gnu.org; Fri, 21 Apr 2017 04:17:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d1Tki-0005tb-EW for emacs-orgmode@gnu.org; Fri, 21 Apr 2017 04:17:19 -0400 Received: from mail-wr0-x231.google.com ([2a00:1450:400c:c0c::231]:35282) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1d1Tki-0005tP-68 for emacs-orgmode@gnu.org; Fri, 21 Apr 2017 04:17:16 -0400 Received: by mail-wr0-x231.google.com with SMTP id z52so8435705wrc.2 for ; Fri, 21 Apr 2017 01:17:15 -0700 (PDT) Received: from [192.168.178.103] (p5DCA8160.dip0.t-ipconnect.de. [93.202.129.96]) by smtp.gmail.com with ESMTPSA id s82sm1056664wmb.33.2017.04.21.01.17.13 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 21 Apr 2017 01:17:13 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org --58f9c006_327b23c6_efa Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline 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 --58f9c006_327b23c6_efa Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline
when a= rchiving sections or exclude them from export I would expect
them being exempt from being evaluated during export.
The section archived or marked as =7E:no export:=7E is still evaluated an= d there is an error
if the reference in the include file is no longer available. I get the er= ror message
=7E=22org-export-expand-include-keyword: Cannot include file =7E/filename= .org=22=7E
=E2=80=A8
-----
MY PROJECTS -*- mode: org; -*-
=E2=80=A8
* Heading
** sub
** Table to be ignored&=23160;&=23160;&=23160;&=23160;&=23160;&=23160;&=23= 160;&=23160;&=23160;&=23160;&=23160;&=23160;&=23160;&=23160;&=23160;&=231= 60;&=23160;&=23160;&=23160;&=23160;&=23160;&=23160;&=23160;&=23160;&=2316= 0;&=23160;&=23160;&=23160;&=23160;&=23160;&=23160;&=23160;&=23160;&=23160= ;&=23160;&=23160;&=23160;&=23160;&=23160;&=23160;&=23160;&=23160;&=23160;= &=23160;&=23160; :noexport:
=23+INCLUDE: filename.org::Table=5Fto=5Fignore
=E2=80=A8
* Archive&=23160;&=23160;&=23160;&=23160;&=23160;&=23160;&=23160;&=23160;= &=23160;&=23160;&=23160;&=23160;&=23160;&=23160;&=23160;&=23160;&=23160;&= =23160;&=23160;&=23160;&=23160;&=23160;&=23160;&=23160;&=23160;&=23160;&=23= 160;&=23160;&=23160;&=23160;&=23160;&=23160;&=23160;&=23160;&=23160;&=231= 60;&=23160;&=23160;&=23160;&=23160;&=23160;&=23160;&=23160;&=23160;&=2316= 0;&=23160;&=23160;&=23160;&=23160;&=23160;&=23160;&=23160;&=23160;&=23160= ;&=23160;&=23160;&=23160;&=23160; :ARCHIVE:noexport:
** Table to be ignored&=23160;&=23160;&=23160;&=23160;&=23160;&=23160;&=23= 160;&=23160;&=23160;&=23160;&=23160;&=23160;&=23160;&=23160;&=23160;&=231= 60;&=23160;&=23160;&=23160;&=23160;&=23160;&=23160;&=23160;&=23160;&=2316= 0;&=23160;&=23160;&=23160;&=23160;&=23160;&=23160;&=23160;&=23160;&=23160= ;&=23160;&=23160;&=23160;&=23160;&=23160;&=23160;&=23160;&=23160;&=23160;= &=23160;&=23160; :ARCHIVE:
=23+INCLUDE: filename.org::Table=5Fto=5Fignore
-----

Emacs&=23160; : 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 =40 =7E/.emacs.d/elpa/org= -plus-contrib-20170210/)
--

Stefan
--58f9c006_327b23c6_efa--