unofficial mirror of emacs-orgmode@gnu.org
 help / color / Atom feed
* #+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, back to index

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

unofficial mirror of emacs-orgmode@gnu.org

Archives are clonable:
	git clone --mirror https://yhetil.org/orgmode/0 orgmode/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 orgmode orgmode/ https://yhetil.org/orgmode \
		emacs-orgmode@gnu.org
	public-inbox-index orgmode

Example config snippet for mirrors

Newsgroups are available over NNTP:
	nntp://news.yhetil.org/yhetil.emacs.orgmode
	nntp://news.gmane.io/gmane.emacs.orgmode


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git