From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jarmo Hurri Subject: Include lines in setupfile are not evaluated: bug or feature? Date: Sat, 07 Dec 2019 09:58:54 +0200 Message-ID: <87fthwsh1d.fsf@iki.fi> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:36758) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1idUzb-0002Bu-UC for emacs-orgmode@gnu.org; Sat, 07 Dec 2019 02:59:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1idUza-0005HB-Pc for emacs-orgmode@gnu.org; Sat, 07 Dec 2019 02:59:07 -0500 Received: from 195-159-176-226.customer.powertech.no ([195.159.176.226]:35752 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1idUza-00055o-HZ for emacs-orgmode@gnu.org; Sat, 07 Dec 2019 02:59:06 -0500 Received: from list by blaine.gmane.org with local (Exim 4.89) (envelope-from ) id 1idUzY-000MH3-MQ for emacs-orgmode@gnu.org; Sat, 07 Dec 2019 08:59:04 +0100 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 Greetings. I am (still) trying to figure out a SINGLE common setup/include file for all settings for a large batch of files. I found out recently that common #properties can be set in a setup file (but not in an included file). However, now it seems that in a setup file I can not include all common included files. Is this intended behaviour? Below is an example that demonstrates this. First the main (exported file): # ----------------------- file main-file.org ---------------------------- #+setupfile: setup-file.org src_elisp[:exports results :results raw]{(org-entry-get nil "MY_PROPERTY" t)} # ----------------------------------------------------------------------- Then the setup file: # ------------------ file setup-file.org ---------------------------- #+property: MY_PROPERTY true #+include: setup-included.org # ----------------------------------------------------------------------- Then the file that is supposed to be included in the setup file (and, consequently, in the main file): # ------------------ file setup-included.org ---------------------------- Some text to be included. # ----------------------------------------------------------------------- But the text is not included in the main file. Documentation of #setupfile says that "Org parses the contents of this document as if it was included in the buffer." https://orgmode.org/manual/In_002dbuffer-settings.html But that does not seem to be the case. Jarmo