emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Bug: code block not evaluated during export when placed in SETUPFILE [9.4 (9.4-elpa @ /home/bruno/.emacs.d/elpa/org-9.4/)]
@ 2023-02-16 23:52 Bruno BEAUFILS
  2023-02-18 10:32 ` Ihor Radchenko
  0 siblings, 1 reply; 5+ messages in thread
From: Bruno BEAUFILS @ 2023-02-16 23:52 UTC (permalink / raw)
  To: emacs-orgmode; +Cc: Bruno BEAUFILS

[-- Attachment #1: Type: text/plain, Size: 1179 bytes --]

In the org manual the following lines can be read about #+SETUPFILE:
(emphaze is mine):

» Org also parses and loads the document during normal exporting process.
» Org parses the contents of this document **as if it was included** in the
» 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/)

-- 
Bruno BEAUFILS
Trésorier de la Societé Informatique de France

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-04-03  7:32 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-02-16 23:52 Bug: code block not evaluated during export when placed in SETUPFILE [9.4 (9.4-elpa @ /home/bruno/.emacs.d/elpa/org-9.4/)] Bruno BEAUFILS
2023-02-18 10:32 ` Ihor Radchenko
2023-02-18 14:00   ` Bruno BEAUFILS
2023-04-02 13:58   ` Ihor Radchenko
2023-04-03  7:10     ` Bruno BEAUFILS

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).