From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id uCVIFg1c8GNCKgEAbAwnHQ (envelope-from ) for ; Sat, 18 Feb 2023 06:03:09 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id 6GpWFQ1c8GPBnQAAG6o9tA (envelope-from ) for ; Sat, 18 Feb 2023 06:03:09 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 3A94823CE3 for ; Sat, 18 Feb 2023 06:03:08 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=univ-lille.fr header.s=dkim header.b=ITjMf6WO; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=univ-lille.fr (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1676696588; a=rsa-sha256; cv=none; b=hB5cDBhfHOCs//6fniNH1fEStp+4HOvc5z1r7PwqIRAfjAsxICOrlwLMMKh4chXw0TyUXR YheJOQti/9CMPIPu37qlihlKvw+F1oUgRuUKME8BFb8DmjpqdhdYp+ARf0HJkMeFlme7xb hcBnic6IzSiMuVkspSeKLtt/QQAUv7SSC6aLtxPl2+1UEv8JZco0sDdr+16Q2S4t3ebTtw MUQE4gAhXJ2IH16bdZcDlubH5TrMsm9x2zYNG0vMKW1THFFV753J9QzCT4GK8/a5OLBmq7 Fmc4rtmR7W6HoNOstpMYhY3Pa9YMAQSRP2A6qYg0OmHzeICILwXOVnQnrG030Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=univ-lille.fr header.s=dkim header.b=ITjMf6WO; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=univ-lille.fr (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1676696588; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=+PSCstnVWjTctqsxIjEVRVALQfoqFdsNhV3B8vR8Wpk=; b=ILrZ3LoNKc4obTI7Il0Qok+dPNA9T+gmhu9B0QPzUC+FJujv8ByOUjNjH8FuOndMcNbfX7 4iP4LTi5A8QeIRDxmO/GAHLT+skF4kndeVz2H8Jh2DjduGTev01hwAAATGd8nh3P88MM0u 2rnc6bSavq99M98SuRyYkpe1uaGPn0GMdjC3coF/zyuLRSbLt1jWGwDIPgC1HPAoLm97O1 qvyvMmWve4sl4zKX/wJFw1PiDU/gq8U1Aq2IFft7MygeWPNe2qJbw3Crp1FmKQXjT3I53q TdoW1KKHLvsXu65W0uG+X+1SlGsjFSIGYWT7wMOVxnUBxMm3arDlb46pLOB4cA== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pTFMg-0008IT-2C; Sat, 18 Feb 2023 00:02:26 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pSo3G-000510-AN for emacs-orgmode@gnu.org; Thu, 16 Feb 2023 18:52:34 -0500 Received: from smtp-out-2.univ-lille.fr ([194.254.129.106]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pSo3C-0008Oh-2f for emacs-orgmode@gnu.org; Thu, 16 Feb 2023 18:52:33 -0500 Received: from smtp01.univ-lille.fr (smtp01.univ-lille.fr [194.254.129.95]) by smtp-out-2.univ-lille.fr (Postfix) with ESMTP id 4PHsF530pbz7sBg for ; Fri, 17 Feb 2023 00:52:25 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=univ-lille.fr; s=dkim; t=1676591545; bh=dZ8TaNeCuzsM0PDjgqo/3BCrgqJHr7TeakK2gJ0lmpY=; h=Date:From:To:Cc:Subject:From; b=ITjMf6WOflcblNXAebTQHc9Vs/452wVXsVxzhpvYzzKMHnHX92VamhH8/81TvJGQS q0xFybI6HcLi0vVNEv528SgWpeMPTUKEblkUuSBWQh+wAcJMco1oHiTjad1Hw6Jz7M UpdKGWXnzBE7gmx4pUZefyWAv2KMSGnCEf4a9DHVPmYPOTTUaqfkou9RQ2ZLfFjc8G DzRR/b31dSbqtOGN7S/nRD3lLidcKajU0dWp7f+BJCTm2+hisuyiQIOaW/0H9iaQ09 B18dihKC4L6acr8iLoHIRIPqNkb22xwz4NojnkQw/mYVNjInVxnELPwEQAYcRRe/oL 6Fu+n/kLWUXaA== Received: from settat (unknown [10.134.12.96]) (Authenticated sender: bruno.beaufils) by smtp01.univ-lille.fr (Postfix) with ESMTPSA id 4PHsF53Lrgz7rZy; Fri, 17 Feb 2023 00:52:25 +0100 (CET) Date: Fri, 17 Feb 2023 00:52:24 +0100 From: Bruno BEAUFILS To: emacs-orgmode@gnu.org Cc: Bruno BEAUFILS Subject: Bug: code block not evaluated during export when placed in SETUPFILE [9.4 (9.4-elpa @ /home/bruno/.emacs.d/elpa/org-9.4/)] Message-ID: <20230216235224.7g5xdlkcnw2z4k3n@settat> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="nd5sdfu7zas7pzmb" Content-Disposition: inline Received-SPF: pass client-ip=194.254.129.106; envelope-from=bruno.beaufils@univ-lille.fr; helo=smtp-out-2.univ-lille.fr X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Sat, 18 Feb 2023 00:02:24 -0500 X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: X-Migadu-Queue-Id: 3A94823CE3 X-Spam-Score: -1.43 X-Migadu-Spam-Score: -1.43 X-Migadu-Scanner: scn0.migadu.com List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-TUID: AEj7yQhIS2/K --nd5sdfu7zas7pzmb Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In the org manual the following lines can be read about #+SETUPFILE: (emphaze is mine): =BB Org also parses and loads the document during normal exporting process. =BB Org parses the contents of this document **as if it was included** in t= he =BB buffer. It can be **another Org file**. However, when I consider the two following files, code block in setup.org is not evaluated at all when exporting, whereas when #+SETUPFILE: is replaced by #+INCLUDE: it is. --- main.org ---------------------------------------------------------- #+setupfile: setup.org Something ------------------------------------------------------------------------ --- setup.org --------------------------------------------------------- #+begin_src emacs-lisp :exports results :result silent (message "DEBUG") #+end_src ------------------------------------------------------------------------ Emacs : GNU Emacs 27.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.24= , cairo version 1.16.0) of 2021-03-28, modified by Debian Package: Org mode version 9.4 (9.4-elpa @ /home/bruno/.emacs.d/elpa/org-9.4= /) --=20 Bruno BEAUFILS Tr=E9sorier de la Societ=E9 Informatique de France --nd5sdfu7zas7pzmb Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEBBABrHgyEtoGKdzdSG8gcoPQLaAFAmPuwbgACgkQSG8gcoPQ LaATBQ/+MdmjR52E6KrdTDPtk+cGTMjb13rrxqQU/T8esVuOer3pK92+CprgvBGE fniCfBz9kp8ymFtQYnUqvBtJ5/cumBi41PoZUllQkWkr7FWVpm/gjYjBos6yBTTT pPv49t7RffdRNBVJN/l8L54CjDE9VTfki2ISSCofknNBJNeeoBEf164F9cLRH1nx 0fRsuVacmpWCB5VgZnzxB5uaM+NAZ80hqYboYxUq7EUTFGQkL8agm6Fs2BoYpa2t tKL9nVVu7PuEMb1Q/Mp0sLU5O1X4YRkYLCPm4q7BvvUm5KSGQ0mRoshFHMjZRcol aBOmThfbenNtAjlRLKg0MRnuJxGi92ey8POTM6AwlmYI7n7zEiaFbpqDXx2A9NyD qD/JHyIhaLz7VG/QKFfABsC1yoiBhn9bXTfB9AGHDRYtDAY9tvJcbVte43IQ5S9N uQw2v7joavtn1Mgzblk299xLj2NV0eroA7BpwCi6BrfOmRqI5mpjrpqkan+cU7Ed DS7XGAlXiHQXY2hxcxVcWqeoQ4WGfKnyRxgPEQQK+w1/juE+dREUh3+BDX/oniG9 uWL2yAIUQtrTK2iskwo/OZxfteAIO4w5wv6g1DYIijGCGaYiifnxrTouon1R3S53 AjcGRH0PeAKSP5begdulCC/dcfb1TrB+b5UgmUJW+lwN9B0wcvc= =snjs -----END PGP SIGNATURE----- --nd5sdfu7zas7pzmb--