From: <tomas@tuxteam.de>
To: emacs-orgmode@gnu.org
Subject: Re: About babel and header arguments
Date: Sun, 10 Apr 2022 17:37:42 +0200 [thread overview]
Message-ID: <YlL5xhZgRNl7lsin@tuxteam.de> (raw)
In-Reply-To: <CAKuG=vuS7NBVJ7f68a9VZVhEeHxbNWRGJxJrrkFL5DhWbEpOyw@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 839 bytes --]
On Sun, Apr 10, 2022 at 04:00:31PM +0100, Neil Jerram wrote:
> Hi Henrik,
>
> On Sun, 10 Apr 2022 at 10:56, Henrik Frisk <frisk.h@gmail.com> wrote:
> >
> > Hi,
> >
> > I'm not a skilled (scheme) programmer so maybe there is something obvious I'm missing here. In the first example the header argument y is interpreted as I would expect it, but in the second it isn't:
> >
> > #+begin_src scheme :var y=10 :results value
> > (+ 10 y)
> > #+end_src
> >
> > #+RESULTS:
> > : 10
>
> I'm surprised by this one - shouldn't we expect the result 20 ?
Wait a second... where is this `+' coming from?
*Oh* you mean the first one, I see now. I just skimmed over it and didn't
notice. Unfortunately, "my" geiser seems broken at the moment and I can't
double-check it. But you are right, it should be 20.
Cheers
--
t
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 195 bytes --]
next prev parent reply other threads:[~2022-04-10 15:38 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-04-10 9:53 About babel and header arguments Henrik Frisk
2022-04-10 10:11 ` tomas
2022-04-10 10:39 ` Henrik Frisk
2022-04-10 11:18 ` Byung-Hee HWANG
2022-04-10 15:00 ` Neil Jerram
2022-04-10 15:37 ` tomas [this message]
2022-04-10 15:46 ` Neil Jerram
2022-04-11 11:36 ` Henrik Frisk
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=YlL5xhZgRNl7lsin@tuxteam.de \
--to=tomas@tuxteam.de \
--cc=emacs-orgmode@gnu.org \
/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.