From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: [PATCH v3] fix SETUPFILE pathname expansion with subdirectories Date: Fri, 25 Sep 2015 13:51:12 +0200 Message-ID: <87wpved8en.fsf@nicolasgoaziou.fr> References: <87bncxhe5i.fsf@kyleam.com> <1442726933-14360-1-git-send-email-rhansen@bbn.com> <5601D603.7060303@bbn.com> <87mvwcw7jq.fsf@nicolasgoaziou.fr> <56047142.1060404@bbn.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54884) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZfRVO-0005hz-Lz for emacs-orgmode@gnu.org; Fri, 25 Sep 2015 07:49:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZfRVN-0001to-SS for emacs-orgmode@gnu.org; Fri, 25 Sep 2015 07:49:34 -0400 Received: from relay4-d.mail.gandi.net ([2001:4b98:c:538::196]:34857) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZfRVN-0001tK-MI for emacs-orgmode@gnu.org; Fri, 25 Sep 2015 07:49:33 -0400 In-Reply-To: <56047142.1060404@bbn.com> (Richard Hansen's message of "Thu, 24 Sep 2015 17:55:14 -0400") 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Richard Hansen Cc: emacs-orgmode@gnu.org Hello, Richard Hansen writes: > The intended meanings of #+INCLUDE and #+SETUPFILE have never been clear > to me, so I have a couple of questions: INCLUDE is only expanded during export. SETUPFILE are parsed when refreshing document properties (e.g., when using C-c C-c on a keyword). > * What is supposed to happen if you have a #+SETUPFILE that has > an #+INCLUDE? Org will SETUPFILE when refreshing document properties, but will parse it when exporting the document. > * What is supposed to happen if you have an #+INCLUDE file that > has a #+SETUPFILE line? Nothing. Contents of a SETUPFILE are not inserted in the current document. INCLUDE keywords are not read when refreshing properties. Regards,