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 ms5.migadu.com with LMTPS id ACZjJm9mVmMr4gAAbAwnHQ (envelope-from ) for ; Mon, 24 Oct 2022 12:18:23 +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 YARsJW9mVmN20wAAG6o9tA (envelope-from ) for ; Mon, 24 Oct 2022 12:18:23 +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 0F71D3ED1E for ; Mon, 24 Oct 2022 12:18:23 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1omu7p-0003s1-0J; Mon, 24 Oct 2022 05:52:05 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1omu7m-0003pD-7X for emacs-orgmode@gnu.org; Mon, 24 Oct 2022 05:52:02 -0400 Received: from mail-vi1eur05on2131.outbound.protection.outlook.com ([40.107.21.131] helo=EUR05-VI1-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1omu7j-0006FT-Af for emacs-orgmode@gnu.org; Mon, 24 Oct 2022 05:52:01 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=h7JEZUOrl/iiAAivkBiRarZmkXYVXZo2sM73YuE4n3z8L3APiGXV9DqrbUCuKgq4sUCqsbnkqLNAiSAPmyWeT16Lplgv437sTYE5zfnzy8tD7GD3F1WdduimocKlZ7Wkz6XIztGKSCY9ZPVJ63cqVVOo6IzLZgEtZy+lxRooGiuaHJrcZ7S6u/DswDUnsNjcLYCgLUAzhzgDsci5fyzfVF6q3Z7CrCQRmZDicb3x7ZA+4jWHk3vUS9K5scf9iV1qwk6E7JVzrqKuHU2R3SsuF7e2kyTam9nEtHHAXyyNDmz9krLg4PBATDumcvUJffHp0ryfjNvAWq5xfgXPLqTUGg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=94VafmQlkgbdK1qDeNW0ChvdhlAk1BjVTkHjI4BHk/0=; b=BjCEZRweTfyfZEFQgfItdsrnRX55duY+zn3ipUAO/ojoCho4RoqP9uzXfF9aRrUc+oOLCf18mvTDfudrzul6t5c6bLObvQbcu6gKqKdgNI5aI8+2DbI9Y6liJFjtxiKd6RDmgAIf6y1hxHfVMl6+BWzRCM6slGgaoLinNyfO2iPc+EPTKfD8nxkiejwq6JNtc4PV2USP1KyZhGH1tUcYorYbO+OFpv937SgqwkENtfQSScfj9OuL98AugQ+MezU893Rb545C6MSaL9139C+lQkkN7/ioNz9LeCIIW/7EW8L2Ytcb7YYERXV8ymNwyT7ELFbbBlWt+WUD0OUNEQIjdQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=ucl.ac.uk; dmarc=pass action=none header.from=ucl.ac.uk; dkim=pass header.d=ucl.ac.uk; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ucl.ac.uk; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=94VafmQlkgbdK1qDeNW0ChvdhlAk1BjVTkHjI4BHk/0=; b=ofsChw9YtWzHEsiIUmauy82BicwqXdkPSt90cACCgwEJqVQJTde+KfO1wfFfwZu9pkEi+k0moD3vi5svLwpzzEn3x+T8XyRdAF9jRQmL45sAMlpXe568ydLlhTYTBbhNbaieHdRkh3Ty7kcujgudQ4u86573AbHKa1eww+NQ7wc= Received: from AS4PR01MB10249.eurprd01.prod.exchangelabs.com (2603:10a6:20b:4fa::21) by PAXPR01MB10141.eurprd01.prod.exchangelabs.com (2603:10a6:102:249::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5746.23; Mon, 24 Oct 2022 09:51:55 +0000 Received: from AS4PR01MB10249.eurprd01.prod.exchangelabs.com ([fe80::e7eb:8ee5:5ec1:2673]) by AS4PR01MB10249.eurprd01.prod.exchangelabs.com ([fe80::e7eb:8ee5:5ec1:2673%8]) with mapi id 15.20.5746.021; Mon, 24 Oct 2022 09:51:55 +0000 From: "Fraga, Eric" To: Ihor Radchenko CC: Ypo , Org-mode Subject: Re: LIterate programming with calc (help) Thread-Topic: LIterate programming with calc (help) Thread-Index: AQHY52N3sPluuAx4d0GRGDiIovWO8Q== Date: Mon, 24 Oct 2022 09:51:55 +0000 Message-ID: <87sfjd35xh.fsf@ucl.ac.uk> References: <87r0yxr6wm.fsf@ucl.ac.uk> <87bkq1pogu.fsf@localhost> In-Reply-To: <87bkq1pogu.fsf@localhost> (Ihor Radchenko's message of "Mon, 24 Oct 2022 09:20:33 +0000") Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Gnus/5.13 (Gnus v5.13) x-url: http://www.ucl.ac.uk/~ucecesf/ mail-followup-to: Org Mode List x-ms-publictraffictype: Email x-ms-traffictypediagnostic: AS4PR01MB10249:EE_|PAXPR01MB10141:EE_ x-ms-office365-filtering-correlation-id: 5d0c50c6-5787-4870-cacb-08dab5a56277 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: NYVW2NLjxqDv/6WTSCFqJVxh2d9vD5pZKHcPApkSuqiIqpR89HHQafc0fcjR1cwGU1H/3McbxtDCqh6q/nRuyEU5RupNQF77TFDQrFlAEFCy5Y4UIfvNMKkc505Sf6ENGfRWvzIXWRbRgvPG1TF3nFhTt0PCVddGSsJJ3XVndFEnM2YEwKPtNXKwjcz3vSmAzF0ZGaKPlF+dJkW0lSC5Tir0Qp4iRNnEtns9PdWPeiSDesOvNk00JaJD81+BzJSeYDKwVGDZT3CG0Og+BEMsFcNUH6IwlO/4WN3+mDZWtb/HFRAxvJ56f0f3ukShePzZK+uypUhl45DgK4whHJ6yEP1PTQbGgN9dWJ7uJLhu6v6KcDtnnXEdv+NXFA6DTm//faExFhtom8zyTnYqZUewdIhXjImuncVsxRidRqrDjp1YB80d1HeGPTKJR8VzUGBsOGD05vlQS9/357nOqCB8Mu3oTMgKknxBpLjl9gYppV734PUqtHwKfTybXMhFdPms4TeS2UTn34RoC+3Zgfb1JUc1BhYPuBd7XrxieXYlk3GTS6eEhHqWziCxqoAPjMcgybckSHzPJ2D1QCHY57RVuTu+0RTDFZxdpfiIhb1sducTagoBTTd0WSz5chHccsRpSdQSgBzVfz2PkRTuVzyP/zxLcuNCjvHIVFntaW1K6AGlqW6hnAA2zyydkK7HluNQFVfahP0AwYtHJQNy9LNDPSrLM59PzWCHtBXw7b+GZa9zUMYRRx29GrbiaZdl8ZCbfGSx4JtGtil/Ohc0h5PLMg== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AS4PR01MB10249.eurprd01.prod.exchangelabs.com; PTR:; CAT:NONE; SFS:(13230022)(4636009)(39860400002)(366004)(346002)(396003)(376002)(136003)(451199015)(8936002)(54906003)(6486002)(478600001)(5660300002)(6916009)(38100700002)(38070700005)(83380400001)(4744005)(122000001)(36756003)(2906002)(76116006)(66556008)(66946007)(91956017)(8676002)(66446008)(71200400001)(64756008)(66476007)(316002)(786003)(41300700001)(4326008)(6512007)(186003)(2616005)(86362001)(26005)(6506007); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?iso-8859-1?Q?Hx3g2kJ5mOPYddc3aHiWiaEGu4IHQIq5Grywd9lXUdRbjyHjxunO2rjtLS?= =?iso-8859-1?Q?cBhAb51EFsLo5Kqo/YCPMqo051SpT4ABogs7lIyCUEfr29wKWliWJHWwtR?= =?iso-8859-1?Q?nJxZswkqmCerZHa4KMYa4ptVllxnXv6AyFfoQnxUtVsuGDTGyonM+hWU+3?= =?iso-8859-1?Q?07NuGnvAza0eOkFegiJNknlopUIwPjQgP1/hjuOfJ2wcJbmyjnINHDOHJN?= =?iso-8859-1?Q?BXI5Q1HyLL/gSPS6MwtoSx2BHWY2bCbWTTPh3e/nQtRoa6ZDvNAOPFLZdO?= =?iso-8859-1?Q?ViY8uMOyEUCf1YdDTUVctGArqyt9JAkjcdwSiOoK0gTOII07bEEPXxkAjR?= =?iso-8859-1?Q?/yEbK1d+LWzQuTGxjrcLy0GkcBqVXmSZvGCoBWKBtHEDSF7kIDTUL4en2H?= =?iso-8859-1?Q?ersfwxwRp2CuRgCWz6lz+wct0cOysLr3LP0w7p9aF5IRXcwnMszEZrFODe?= =?iso-8859-1?Q?2BMPJnvos7cRgrL6BV7RIpdsvgdh6Lc2It3Msz9R89OSKw9bY5fbdCc8Y8?= =?iso-8859-1?Q?IcqDuIZELDJ4xedFv0c7llWcZMW1vvwUphewo/690NKm4y1FZBaP8xXPEf?= =?iso-8859-1?Q?cYoZk5eaeedi/K4y7or4Sprd+vvAepeiNH7xUfGvL6ZoW/dY/I2xGgCTnq?= =?iso-8859-1?Q?cWI3NM8sjvyhwXVPxxR9HumZQ9D7SpvXH5hwOldWUCKZJyMjhytRN1Yw6r?= =?iso-8859-1?Q?9cqeJmlXE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9auQQDY2FbT?= =?iso-8859-1?Q?Z9qL/mFtDcL7j4gJl7yEJ4D67aLYHq5139?= Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: ucl.ac.uk X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: AS4PR01MB10249.eurprd01.prod.exchangelabs.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5d0c50c6-5787-4870-cacb-08dab5a56277 X-MS-Exchange-CrossTenant-originalarrivaltime: 24 Oct 2022 09:51:55.2127 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 1faf88fe-a998-4c5b-93c9-210a11d9a5c2 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 98pJyQEYh1fourdaCgNqTcDp09sWVQv6P9U9iDTVY/jBBl5/Wu/o+XF34Z1GG/nD9i4FADXPsrDUQB2qhzgI5g== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR01MB10141 Received-SPF: pass client-ip=40.107.21.131; envelope-from=e.fraga@ucl.ac.uk; helo=EUR05-VI1-obe.outbound.protection.outlook.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, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 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: , Sender: "Emacs-orgmode" Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1666606703; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=94VafmQlkgbdK1qDeNW0ChvdhlAk1BjVTkHjI4BHk/0=; b=O/Zs9jDLfr3Zoq+XAYDKYZ5tWMdHdUrr3JZSgAu0U+mnp+3VMr0YddYVKGnLttOPBJlNVs es9pYqQCsuen9jZZMhM1QKbNSJ7UxJndSb72JbQ7gGF71GoEsgZsxqknY3a9yg2/0DXnH/ fzhqIQooTi2Ey1qs/0V4TT/ogTRKQ6CpwGdv6nUANOOHEdD+isUCQWhie/cG+xlG1mFLhQ ftkxVhk4THG+su4tPJnkNmK1RlVZMhr9xPBSrUt/Dt3Ug4j4kcfgzq6FFyqklD3VtYrGsw /Bh1Oq4SRB2Qq7Af5R1sAGLnn4bYzhHMQzWrrDAxfuwm6pyl3KjtYfcMWrgC3w== ARC-Seal: i=2; s=key1; d=yhetil.org; t=1666606703; a=rsa-sha256; cv=pass; b=nr96XNkmN5TvBOldxmRbpDJxwoaxURVdTW8couF/BXPjCAumNZ6RxjcIuDNVXk9Icuwhzl oRg2XMQ0Qj2gsNUV1coLJ/VB0EAxKNG/K/JVRNon9ADkkKt0zfxNHQjw0HkH7NSW80a1lA DIwcrjpVRnAp37UJr0A5AO/cYCbhp9e6h/vXm44gj/NXLh3LmBOeLlkt6x8nFe7mxlHJ+H yO4/b/Emts8AVG0tXQPv3zPLMg+BF5q86U6LDEadJL8a9fS/pqZBMgGpdrwPnMKzn49sIi 9r6mrjyjtn+s8Q1oLYSKPEBdzswUU5IV56/4ZVuHwqv0P8hFJa78b/HqVHVolQ== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=pass header.d=ucl.ac.uk header.s=selector1 header.b=ofsChw9Y; arc=pass ("microsoft.com:s=arcselector9901:i=1"); dmarc=pass (policy=none) header.from=ucl.ac.uk; 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: -4.40 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=ucl.ac.uk header.s=selector1 header.b=ofsChw9Y; arc=pass ("microsoft.com:s=arcselector9901:i=1"); dmarc=pass (policy=none) header.from=ucl.ac.uk; 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: 0F71D3ED1E X-Spam-Score: -4.40 X-Migadu-Scanner: scn1.migadu.com X-TUID: sNGbHv1hsZQ7 On Monday, 24 Oct 2022 at 09:20, Ihor Radchenko wrote: > I vaguely recall that storing variables in calc is something like > variable :=3D assignment (which is actually rewrite rule, but that's how > 13.1 Storing Variables section of the calc manual explains variable > assignments). That is true for embedded calc (which I use all the time) but I cannot seem to get this to work for src blocks: #+begin_src calc a :=3D 300 m 2 a #+end_src #+results: : 2 a whereas embedded mode works fine: a :=3D 300 m and 2 a =3D> 600 m I really do not understand how calc src blocks work (I've not looked at the code, mind you). --=20 : Eric S Fraga, with org release_9.5.5-966-g88c85d in Emacs 29.0.50=