From: <tomas@tuxteam.de>
To: John Kitchin <jkitchin@andrew.cmu.edu>
Cc: HJ <hj-orgmode-1@hj.proberto.com>,
org-mode-email <emacs-orgmode@gnu.org>
Subject: Re: self-referencing babel shell code blocks
Date: Mon, 18 Jan 2021 10:10:10 +0100 [thread overview]
Message-ID: <20210118091010.GA32436@tuxteam.de> (raw)
In-Reply-To: <CAJ51ETogZXiRfZ+ZRUvMbScQ2LjHPWyGBM95ztFSQ-TOj4Bz-w@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 399 bytes --]
On Sun, Jan 17, 2021 at 07:12:21PM -0500, John Kitchin wrote:
> I guess this is what you mean:
>
>
> * heading L1_12
> ** heading L2_37
>
> #+name: this-block
> #+header: :var VAR1=(getenv "HOSTNAME")
> #+header: :var VAR2=(message user-login-name)
[more good stuff elided]
Not the OP here, but... thanks a bunch!
You just saved me a few hours of hair pulling.
Cheers
- t
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
prev parent reply other threads:[~2021-01-18 9:11 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-17 21:41 self-referencing babel shell code blocks HJ
2021-01-18 0:12 ` John Kitchin
2021-01-18 0:33 ` HJ
2021-01-18 1:22 ` John Kitchin
2021-01-18 9:10 ` tomas [this message]
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210118091010.GA32436@tuxteam.de \
--to=tomas@tuxteam.de \
--cc=emacs-orgmode@gnu.org \
--cc=hj-orgmode-1@hj.proberto.com \
--cc=jkitchin@andrew.cmu.edu \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.