* #+call and strange behaviour
@ 2020-06-24 9:14 Michael Welle
2020-06-24 9:27 ` Michael Welle
0 siblings, 1 reply; 2+ messages in thread
From: Michael Welle @ 2020-06-24 9:14 UTC (permalink / raw)
To: emacs-orgmode
Hello,
in a file named test.org I have an elisp src code block and a line like
this:
#+call: test.org:hcw(d="foo")
C-c C-c on that line executes the code block just fine. Copying the line
to another org file and pressing C-c C-c results in nothing obvious. On
the other hand, putting a code block in this other org file C-cC-c works
as expected again on a line such as this:
#+call: other.org:hcwother(d="foo")
It seems like it doesn't work if one references a code block in a file
that isn't the current/own file of the reference. Any hints on this,
please?
Regards
hmw
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: #+call and strange behaviour
2020-06-24 9:14 #+call and strange behaviour Michael Welle
@ 2020-06-24 9:27 ` Michael Welle
0 siblings, 0 replies; 2+ messages in thread
From: Michael Welle @ 2020-06-24 9:27 UTC (permalink / raw)
To: emacs-orgmode
Hello again,
sorry, for the noise. Just minutes after posting the question I
discovered the difference between the org files: they are stored in
different sub-directories. Fixing the path solved my problem:
#+call: ../test.org:hcw(d="foo")
Seems like rubber ducking kind of works ;).
Regards
hmw
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-06-24 9:29 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-06-24 9:14 #+call and strange behaviour Michael Welle
2020-06-24 9:27 ` Michael Welle
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).