From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rasmus Subject: Re: 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 15:00:24 +0200 Message-ID: <877f2d9aqf.fsf@gmx.us> References: <4eea3f8a-cda4-4b10-996f-41e10a723fb2@Spark> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35552) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d1YB0-0005Ik-B0 for emacs-orgmode@gnu.org; Fri, 21 Apr 2017 09:00:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d1YAv-000326-IF for emacs-orgmode@gnu.org; Fri, 21 Apr 2017 09:00:42 -0400 Received: from [195.159.176.226] (port=40729 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1d1YAv-00031y-BR for emacs-orgmode@gnu.org; Fri, 21 Apr 2017 09:00:37 -0400 Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1d1YAn-0002jK-Jg for emacs-orgmode@gnu.org; Fri, 21 Apr 2017 15:00:29 +0200 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 Stefan Kredler writes: > 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"~ IMO this is a feature. I have used this before, for instance when including tables used in source blocks at export time. Rasmus -- Dobbelt-A