From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.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 IGfbAST8UmKyqgAAgWs5BA (envelope-from ) for ; Sun, 10 Apr 2022 17:47:48 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id aM7yNSP8UmKLJwAAG6o9tA (envelope-from ) for ; Sun, 10 Apr 2022 17:47:47 +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 71EC91494F for ; Sun, 10 Apr 2022 17:47:47 +0200 (CEST) Received: from localhost ([::1]:46956 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ndZn0-0005PF-7w for larch@yhetil.org; Sun, 10 Apr 2022 11:47:46 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59016) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ndZmB-0005P7-Dk for emacs-orgmode@gnu.org; Sun, 10 Apr 2022 11:46:55 -0400 Received: from mail-ot1-x32b.google.com ([2607:f8b0:4864:20::32b]:35648) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ndZm9-0004sv-1d for emacs-orgmode@gnu.org; Sun, 10 Apr 2022 11:46:55 -0400 Received: by mail-ot1-x32b.google.com with SMTP id c24-20020a9d6c98000000b005e6b7c0a8a8so6216430otr.2 for ; Sun, 10 Apr 2022 08:46:52 -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=arYDujC3JJXGWwhW39U57Jg+fwiFeRTHwJNCl0Wto/s=; b=pUR1RHmsAVUQinc1bnCEbsPZUVdlYHaNSPNR1Tv1Hz6QgMdnQB5Oi60QWmgcqH0b7+ Rm45+QfRVCXd6QYykSwiaHKFscw5mx9QauhWmhmgsoBYxpf8n9VZd6gsV8KcKgjqYygs d/06URDx3ewHpUqrCTdWu3r1oyY9/0QB5V97FpSkmxewq7iFbk2cT9tI/LlHdE+zHjbm y8aiUBDvWrVn2utbFcb1GaxfJ/UYvaVmv/9ZANlm3fINBHbPeaETDLJmUVVGJteBq43s uJ2W2Kx2nb0G9L+3f1Tk1uQzDK1P2V6Z0v/feGT1xNDqFj6M6FO+S3XI7Qqc4HDopYIO 7uTg== 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=arYDujC3JJXGWwhW39U57Jg+fwiFeRTHwJNCl0Wto/s=; b=jbF8TM2kVwNQutbahQszXY46x5bkZEOv5kxFTZCD9zZWjflevgpECzuXkMn+qq+bso /Hc4PLX9HoDfvsy09IFmN905fxESxnN6UWLzWh+lvM+O0Ul7l57IrgwBp5kfR4Xsvp5k +Y5gV3fIjv0v5HLNzARoVrJOJ2krLMn/Jn7BAvFXAm2/vafa9P8hT7R57yg1NYrJo5PN EosjkfmjK5PAr7gHvnRDe0lophYvmd19YEbleQzV7Xd195HRFEBI+Qk56yFmoRTPTItq +0d/WcuYrKtPB+5+AMz9lMMD4hjX7Kn6oZVdhoJ7eXvOiTMGFjKBAy1hm4FG1y4Iq0CM jFlg== X-Gm-Message-State: AOAM533hUo9yRnnZJl9yhrrCiCpLYGHdBxUBOU54sdmJv1Nx38dynKAk ZppGQSj1J62YLcP/mEZ3W2d9ZXYsjoMXVsG+p9keJSdy X-Google-Smtp-Source: ABdhPJxayKPaT+IV/DWeZk098ReqvG4cEkFXmY1OyNl/twlRTTqN9aoUDQOMVkiEBPQ1X5x07FNBHosOtEy27Uj7wQ0= X-Received: by 2002:a9d:162:0:b0:5b2:1c30:a1e6 with SMTP id 89-20020a9d0162000000b005b21c30a1e6mr9463131otu.26.1649605611150; Sun, 10 Apr 2022 08:46:51 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Neil Jerram Date: Sun, 10 Apr 2022 16:46:39 +0100 Message-ID: Subject: Re: About babel and header arguments To: tomas@tuxteam.de Content-Type: multipart/alternative; boundary="00000000000078e29a05dc4ebcdc" Received-SPF: pass client-ip=2607:f8b0:4864:20::32b; envelope-from=neiljerram@gmail.com; helo=mail-ot1-x32b.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 List 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=1649605667; 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=arYDujC3JJXGWwhW39U57Jg+fwiFeRTHwJNCl0Wto/s=; b=SzSOmGHMpG+5zaSIRm0FhzV4CFek/5gTC1267Fryk0XCuP3ZJztwMQj+KP7g7ynsE4hXcy p8QwVgLETIvxVGOIO4qZZBHBT5GKU3ji5DmnpwzBABRdDsMGe23jjewBtxdC3QLHm/qh9r VDLv1GjUMbT0SSGHuPbIhIwHNa6w5GtxENuLgsW6Hj0cWkuF0nODvswanmadQ8M3bIpY1E bp3OWUI9ODnRR8lxDrYSHMknM3IrNezShPBCs7fWmizdz70COQfQgnmyR05ASoQQTD97Tt 1GKev65JOEK997yn1GGVsG+z1KrS8BAU1Bx9EYESnzzg8ey3RG8bM4Fjdx8mJA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1649605667; a=rsa-sha256; cv=none; b=XLXAmr/XpXqCZqnyH/hN28GElW9GB1M+6mx+42VEV2XToxJz084FfHa5xt+6LMxYoDqiik C4WfV315HKqkq4LkUWHMR391HwvRzmNfTwq5Y3Ih22O7xh7NDpwts8/J3+T9fttcNOJDgF z6xTFb1aOgescbRAek8+C7tofI7G2WhuluCLRugMFuapNQze1Yq+n9Jt3AM9VleTsFd/m+ 3n/R59yWB53xlwAb3ztIFRJPZCG1I8hmMILvodZv8kn29AojC3+9TqMgqhNq8aMYH7sqPo MDHb+nGhIxQ+nNsn0MwHa9t5AQMz458kieNspA5tUVyu+DpYe0ahZ3REQjNbTw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=pUR1RHms; 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=pUR1RHms; 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: 71EC91494F X-Spam-Score: -2.57 X-Migadu-Scanner: scn1.migadu.com X-TUID: PVzxtQ6QCeyq --00000000000078e29a05dc4ebcdc Content-Type: text/plain; charset="UTF-8" On Sun, 10 Apr 2022, 16:39 , wrote: > 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 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. > Thanks tomas! --00000000000078e29a05dc4ebcdc Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Sun, 10 Apr 2022, 16:39 ,<tomas@tuxteam.de> wrote:
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 somet= hing 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=3D10 :results value
> >=C2=A0 =C2=A0(+ 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.
=

Thanks tomas!

--00000000000078e29a05dc4ebcdc--