From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id IGiVHjW0UmKTMgAAgWs5BA (envelope-from ) for ; Sun, 10 Apr 2022 12:40:53 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id QOAjGzW0UmIZqAAAauVa8A (envelope-from ) for ; Sun, 10 Apr 2022 12:40:53 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 2BABEECF0 for ; Sun, 10 Apr 2022 12:40:53 +0200 (CEST) Received: from localhost ([::1]:51546 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ndV00-0005Ks-CC for larch@yhetil.org; Sun, 10 Apr 2022 06:40:52 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45250) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ndUyd-0005Kh-E8 for emacs-orgmode@gnu.org; Sun, 10 Apr 2022 06:39:27 -0400 Received: from mail-lf1-x12e.google.com ([2a00:1450:4864:20::12e]:37466) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ndUya-0008Cs-Vi for emacs-orgmode@gnu.org; Sun, 10 Apr 2022 06:39:26 -0400 Received: by mail-lf1-x12e.google.com with SMTP id u19so1830761lff.4 for ; Sun, 10 Apr 2022 03:39:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=AnZ9tp1Y4NtSjxeG57sfI0UE6z3QBE2IM1i9L1ddBlU=; b=DuET+X51V4cfQBdvSTJMXDOlfXl2jsy44whvekr5AuhdHZku2Q9PHEQdVoKkB+ERmR EchGndtDaOm7fq3e/FMBV0PRH8OVvsvC2t7HU5qGwXOJ6kBpu8RLb6DlWJMulVoxdJlb mHvUAjmc4j8mhlh+yjA87AZyKoQtQ88cMuUZ02aIzKEKEoxW1q8uSzHrTJ/N4gwR9dJk 1zKsll2nfLkuacgrScUK0aExT/HwD4pJ6h2svq9uSOL4NV2ynSBMMUoSwVZ7ph4tcAZh dE+geQJ/1c74PmigZUY0hvtb+NSLbpkY6S4LHYadJ2YOcrdr2+UqvF/EXR85ezjvq8SC Qw/Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=AnZ9tp1Y4NtSjxeG57sfI0UE6z3QBE2IM1i9L1ddBlU=; b=pFyZawgpu49aXxyVhXsmBeywckuZDi4g44v76JIjodM7fmYsj+uv8s+9//QAd6lf5O pQ7yeulvasPlEwCV5/MEydCWK6qC3Ird0ijKcaYNNf5tnib7Ni8LGJNVT6kdex1rdUMd 2CzLTHokS6jFLs2gTwQRokb6PpWi7eSM/JXXjyYrpETtljtuRBsSTetS33Op+6Tsqj8Y PUfo1DAVhLcMbIHkowurg2UIwdyuZ3SHgjdL1k93t3pzrxpinLXTTxi3kRzKvYZhNsVo i0wUHrdv439AC6m3WJO5jaIDl6IC/xjfgBHtUIv55irXVi0cdPOXVAlBSRLy2DFDHvNp EFZw== X-Gm-Message-State: AOAM530Llys7b73ErRJVaoaV2FKlVfJCBuGz2gyxXZfvJYWCyH2Yfld+ S2dIe8IkyYVBwSvrhesQIehWIjef5HyAHbsVPAc= X-Google-Smtp-Source: ABdhPJwnMY2qc9S648sFbp7TDXknW075cgw8NokFXbp/t/KIMmIZW4gAnRRA+iIuO29U/H/0PzbqIgXcifcpIkNGNsA= X-Received: by 2002:a05:6512:13a6:b0:44a:3b54:42cd with SMTP id p38-20020a05651213a600b0044a3b5442cdmr17548002lfa.73.1649587163041; Sun, 10 Apr 2022 03:39:23 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Henrik Frisk Date: Sun, 10 Apr 2022 12:39:12 +0200 Message-ID: Subject: Re: About babel and header arguments To: tomas@tuxteam.de Content-Type: multipart/alternative; boundary="000000000000e1168205dc4a70c7" Received-SPF: pass client-ip=2a00:1450:4864:20::12e; envelope-from=frisk.h@gmail.com; helo=mail-lf1-x12e.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: org-mode-email Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1649587253; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=AnZ9tp1Y4NtSjxeG57sfI0UE6z3QBE2IM1i9L1ddBlU=; b=K4rOkjBSSzb6h+2+idnGTuqo6sqNK58wTtovC9+CINWJSwtFoqOgboiJ6ZeU+y6O4hDQ7/ LzuOHeTHOB++6W1jL+EhJyeExDJ5aZiDthDiOqhuyBzqYrVZtcFBLCHIdsu9HhfZWHit1c Vc8LhDEGdeenxCsPO+NwnWZVdZkLYsqGeTJbjA2M1+7vXgZHOCVVWl8OSWDG2o3Ms2jK/F RFG5WVepKJ6b1SrChcR4QSb8Skf3B450mqB8Zg6LplQkWBACL8NfYXRGr7Zr9HNnKAbhhR jICzwCRdN1Bd5lXGp6PWFOUPKAlvZdFph8HO9z20Zt2zYXQVRXtA9BXrWNoXFg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1649587253; a=rsa-sha256; cv=none; b=OzR2EFtrstTmqmbDQ4mxqVu+dHRS+WWsl/tQcYwJKs40IDX7YXH446oEcjOH4h07vl7+Mc TmwCgKxQG+doKSwjwmBiak3NZMzGq77xDhyUDEf/+4t4QjjtvIF9jjbSqGzFW21CHL4sxR 6FmHh7DAwWmOWwzbuPjbuBUgmSx50ZMix6KiwVpynIqhT3+mI85xdQT8d4YmiTwsB1c7jL DeKtdOKhFXrQ6aMig+xLlpLRmGD1oERqUV3UJjC5BI7VMlZfNXNETxYtLhxNpHPoPTqtKT uplsw2Kt6kUpTP31hTXr+ZfSKXxcbrU/0TNAmEojRhcUPrSyEFeyST84o1U0wA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=DuET+X51; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -2.57 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=DuET+X51; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 2BABEECF0 X-Spam-Score: -2.57 X-Migadu-Scanner: scn1.migadu.com X-TUID: 06dWTPpDP+1Y --000000000000e1168205dc4a70c7 Content-Type: text/plain; charset="UTF-8" > Hm. You are expecting (12 10)? > > Yes, sorry for not being clear. > > > #+begin_src scheme :var y=10 :results output > > ((lambda (x) (display x)) '(12 y)) > > #+end_src > > The quote extends to the whole (parenthesized) expression, i.e. > the y is quoted too, in there, so it's the symbol y, so that > output is correct: > > > #+RESULTS: > > : (12 y) Yes, that makes sense now that I see it. > > (That's Scheme, not Babel doing it). I don't know where you > want to go to, but perhaps try: > > (list 12 y) > > instead: this would make a list of whatever 12 evaluates to (this > would be 12) and y evaluates to (this would be 10). > Yes, that works, thank you! /h --000000000000e1168205dc4a70c7 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


=

Hm. You are expecting (12 10)?

Yes, sorry for not being clear.
=C2=A0<= br>

> #+begin_src scheme :var y=3D10 :results output
>=C2=A0 =C2=A0((lambda (x) (display x)) '(12 y))
> #+end_src

The quote extends to the whole (parenthesized) expression, i.e.
the y is quoted too, in there, so it's the symbol y, so that
output is correct:

> #+RESULTS:
> : (12 y)=C2=A0
Yes, that makes sense now that I see i= t.
=C2=A0

(That's Scheme, not Babel doing it). I don't know where you
want to go to, but perhaps try:

=C2=A0 (list 12 y)

instead: this would make a list of whatever 12 evaluates to (this
would be 12) and y evaluates to (this would be 10).
Yes, that=C2=A0 works, thank you!
/h
=
--000000000000e1168205dc4a70c7--