emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Is it possible to pass variable to variables of src block?
@ 2017-12-05  5:19 Xi Shen
  2017-12-06  9:31 ` Michael Welle
  0 siblings, 1 reply; 5+ messages in thread
From: Xi Shen @ 2017-12-05  5:19 UTC (permalink / raw)
  To: emacs-orgmode@gnu.org

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

Hi,

http://orgmode.org/manual/var.html

This wiki explains how to use variable inside a src block. But I wonder if
it is possible to specify variable to the variables in the src definition.

E.g. for the sql src block, I want to execute a script on different server.
I want to define a variable for the ":dbhost" variable.


Regards,
David

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

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

end of thread, other threads:[~2017-12-13  9:57 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-12-05  5:19 Is it possible to pass variable to variables of src block? Xi Shen
2017-12-06  9:31 ` Michael Welle
2017-12-12  6:30   ` Xi Shen
2017-12-12  7:17     ` Ihor Radchenko
2017-12-13  9:57     ` 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).