emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* #+include: with ``adjustable'' path (separately defined, like macro expansion)
@ 2015-11-14  7:31 Martin Steffen
  2015-11-14  8:34 ` Nicolas Goaziou
  0 siblings, 1 reply; 2+ messages in thread
From: Martin Steffen @ 2015-11-14  7:31 UTC (permalink / raw)
  To: emacs-orgmode

Hi,

I'd like to achieve something like the following (which does not work)

#+MACRO: custompath  ~/some/place/where/the/code/resides
#+include: "{{{custompath}}}src/example.code" 


Macro-expansion generally works, but not in those circumstances. I also
seens that there's the 

#+LINK: customurl

which conceptually does such macro expansion but it seems intended for
linking in stuff, not for "embedding" pieces of code.


Is there a way to achieve what I want, which I overlooked?
Thanks, Martin

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

end of thread, other threads:[~2015-11-14  8:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-14  7:31 #+include: with ``adjustable'' path (separately defined, like macro expansion) Martin Steffen
2015-11-14  8:34 ` Nicolas Goaziou

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).