emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eros Zaupa <eroszaupa@gmail.com>
To: emacs-orgmode@gnu.org
Subject: [BUG] org-mode #+SETUPFILE not working with properties [9.5.2 (release_9.5.2-378-g98588e @ /home/eros/src/org-mode/lisp/)]
Date: Wed, 27 Apr 2022 17:19:36 +0200	[thread overview]
Message-ID: <CAFEsDey-Lqtbsq6fdcaKgy1LHfg4_jsMKudn2s67wJ+wmVKang@mail.gmail.com> (raw)

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

Given this file

    :PROPERTIES:
    :header-args:sh: :var A="this is a"
    :END:

    #+begin_src sh
    echo ${A}
    #+end_src

    #+RESULTS:
    : this is a

I would like to move the properties drawer to a separate file and import it
into the main one. To do so I'm using the `#SETUPFILE` property suggested
[here][1], but this doesn't seem to work.

***main.org***

    #+SETUPFILE: test.org

    #+begin_src sh
    echo ${A}
    #+end_src

    #+RESULTS:

***test.org***

    :PROPERTIES:
    :header-args:sh: :var A="this is a"
    :END:


  [1]: https://emacs.stackexchange.com/a/59059/36590

------------------------------------------------------------------------

Emacs  : GNU Emacs 28.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version
3.24.33, cairo version 1.17.6)
 of 2022-04-04
Package: Org mode version 9.5.2 (release_9.5.2-378-g98588e @
/home/eros/src/org-mode/lisp/)

[-- Attachment #2: Type: text/html, Size: 1261 bytes --]

             reply	other threads:[~2022-04-27 15:39 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-27 15:19 Eros Zaupa [this message]
2022-04-28 14:40 ` [BUG] org-mode #+SETUPFILE not working with properties [9.5.2 (release_9.5.2-378-g98588e @ /home/eros/src/org-mode/lisp/)] Ihor Radchenko
2022-04-29 15:51   ` Cook, Malcolm
2022-05-02 18:59   ` Nick Dokos

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAFEsDey-Lqtbsq6fdcaKgy1LHfg4_jsMKudn2s67wJ+wmVKang@mail.gmail.com \
    --to=eroszaupa@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).