From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id AB6OJkMSXGdvLwEAqHPOHw:P1 (envelope-from ) for ; Fri, 13 Dec 2024 10:53:55 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id AB6OJkMSXGdvLwEAqHPOHw (envelope-from ) for ; Fri, 13 Dec 2024 11:53:55 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=ucl.ac.uk header.s=selector1 header.b=l4hyF7Xb; 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"; dmarc=pass (policy=none) header.from=ucl.ac.uk; arc=pass ("microsoft.com:s=arcselector10001:i=1") ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1734087235; 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=uKShdAFIKYWs+gFO8TJavlGkiMCgUP67Cbi1XP4gO94=; b=sbpenRVCToCZo5ibRLECm6zodyhj2AXaDEA+loSIhfF+kQvPHWva5Q4nAEzqAwkW8HG/dl EvElMLw3tbspOgbqpDd+YGSShBUVjuYQQCKSqnXNH88TN/1N/Wdb8dhQIOycN0LJoqNbXG i0I4WxNDYMX/F1/9oxu/BJvWuVotdZ/8GxYJIqOS9FoueSJmzP5osmgMuHuXREfl2v0AR5 mVk2QWe/5iP6762dFVPZXOwm2r35I47cOW8LMgG0iwEsmfKga53mc6g/sU4g0BrTe3Tvz7 zW+SPp2+ZR15ElPSfS6Cgse7L9OFCI+90+dacd0S0tfIv4F4n41UTp0oFujnPw== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=pass header.d=ucl.ac.uk header.s=selector1 header.b=l4hyF7Xb; 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"; dmarc=pass (policy=none) header.from=ucl.ac.uk; arc=pass ("microsoft.com:s=arcselector10001:i=1") ARC-Seal: i=2; s=key1; d=yhetil.org; t=1734087235; a=rsa-sha256; cv=pass; b=HlGqwnCNQdd/d9xSVeF3+tC76840ogiAceUPyUV835F7Owz4D82vsbMRT8APrYTUNSaLj0 BEjdC9EJgB7y9EDlq//w+3amn/VUJYZE0LGEDKXfKKJLsvuHN3/uiMmtfTBdn9dorJs35/ Ve4S7zHxzbckvIeFBu8f1MzXJ/cJ3DoLG+ICk8XBFEr1yIUI6TTbenmbVK+0qwkXCqLESw uc3nClOWXtvpnboBnINsHSItbNIcozeQVOcRx6OBSfOUNYW1DieyM6v3C6ieOkL/NeRykA OS5K25cGrxQwufBH3sTPuChdeIOxoMl9d0YsSORyo0bIg6r6Z0pSB/JyiUe/pw== 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 6ED677A2C4 for ; Fri, 13 Dec 2024 11:53:55 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tM3IV-0003LB-6v; Fri, 13 Dec 2024 05:53:27 -0500 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 1tM3IS-0003Kv-2e for emacs-orgmode@gnu.org; Fri, 13 Dec 2024 05:53:24 -0500 Received: from mail-am0eur02on2133.outbound.protection.outlook.com ([40.107.247.133] helo=EUR02-AM0-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 1tM3IQ-0002ru-44 for emacs-orgmode@gnu.org; Fri, 13 Dec 2024 05:53:23 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=sNiM/OmOBwIt6jLx3GipofVHOZfQbi5rliOu0WRtw1k3/88h91rAlQJc7Kt8sOQAUddhn/KIk7v6oG3q5No4GY1+17xa3HJcbDobTQssH8iVXbbtgidraomq+V97JD4hBAQM0RJCVxY9agXDP+LYdH/gD2LtJ6f54lv5p9KUkv1eYwBSEVrKEYji3LulondBX9cZEhvIqAZWcR2oVwks5jx7aG73qrGRVyAJEn/Fx+2UziorM0bpzbweSo11zn0sI63Snh68qKf50TVQh+30uY3hvVAI3vOicjpEWiTfx7uTRr3q17+znDKT7zUpKt8dmS5eDFCivfrH7jnGWO+lwQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=uKShdAFIKYWs+gFO8TJavlGkiMCgUP67Cbi1XP4gO94=; b=sFG96zdrbv/gVoEM4Au9MJxDqtUIlNsA0PnmTuPORuGhS5YnvccLH/neH2NzILGObS3WJwW2eIpRmKMDwWL+EQjaMZODWMQm8SnQz/7HOg0MZXgNZX2HsLFDEUqqYKMGAgfy3iM1Gpz9/bd0hgNI6lbEjKqcr6iN0GLARBmgNMb1ztuJcPODa3yOlFgo8BU+M7YMbMXAM/kpQrwNf+LApvjKbfCMaspYNDPp63T7hQIX2Efmj58QSIinl+i4yFN+YlXyoM9UrTqTRtkN+DkHw2P1KEGIwIFMFl2tgX7wY03yVIqs7LJvw64FT7cVP50G0AGx2IhLMvafoHSreujlSw== 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=uKShdAFIKYWs+gFO8TJavlGkiMCgUP67Cbi1XP4gO94=; b=l4hyF7Xb8RTrtHwdtnBcNEGTIP+wO0N6YjqTK1fpmBlgxiiW4KFVrpgwmce3ndYJOlbW/8NiW028pv5Aapz7XOxToKfhCan0SAfOOvR+QLqWFQrv5ZMWb84VHJN+NLoe+Mth517Lq668EZbItWYqOCfGGH8XGhzsJlu2CN9z7HA= Received: from AS4PR01MB10249.eurprd01.prod.exchangelabs.com (2603:10a6:20b:4fa::21) by AS4PR01MB8944.eurprd01.prod.exchangelabs.com (2603:10a6:20b:4e4::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8251.16; Fri, 13 Dec 2024 10:53:19 +0000 Received: from AS4PR01MB10249.eurprd01.prod.exchangelabs.com ([fe80::6b8e:d43:e0fc:22e]) by AS4PR01MB10249.eurprd01.prod.exchangelabs.com ([fe80::6b8e:d43:e0fc:22e%4]) with mapi id 15.20.8251.015; Fri, 13 Dec 2024 10:53:19 +0000 From: "Fraga, Eric" To: Visuwesh CC: Org Mode List Subject: Re: [PATCH] Add support for tables in Calc src block :var Thread-Topic: [PATCH] Add support for tables in Calc src block :var Thread-Index: AQHad1TFWb4fLFamYUC8TL7NJRCWdQ== Date: Fri, 13 Dec 2024 10:53:19 +0000 Message-ID: <87h677ua5c.fsf@ucl.ac.uk> References: <877ci2261h.fsf@gmail.com> <87y1aiijv3.fsf@localhost> <8734sq1k70.fsf@gmail.com> <87bk7eid26.fsf@localhost> <87y1aiz76v.fsf@gmail.com> <87jzlzhfiw.fsf@ucl.ac.uk> <87cyrbeure.fsf@gmail.com> <87sf0239bm.fsf@ucl.ac.uk> <87pllw2g4l.fsf@gmail.com> <87jzc42bxo.fsf@gmail.com> In-Reply-To: <87jzc42bxo.fsf@gmail.com> (Visuwesh's message of "Fri, 13 Dec 2024 14:32:11 +0530") Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: gnus (Emacs 31.0.50) x-url: http://www.ucl.ac.uk/~ucecesf/ mail-followup-to: Org Mode List x-ms-publictraffictype: Email x-ms-traffictypediagnostic: AS4PR01MB10249:EE_|AS4PR01MB8944:EE_ x-ms-office365-filtering-correlation-id: e4f006cf-d145-4c09-ad6d-08dd1b645b40 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; ARA:13230040|366016|376014|1800799024|38070700018; x-microsoft-antispam-message-info: =?iso-8859-1?Q?4qBrpsGWoveFnFpb6Lx61CUqELeU44Lbd/wBGgYJYcnuBtXdN5sWd6WQAJ?= =?iso-8859-1?Q?S8iuTYXzywQBCNiBpAyitOfq98DaSCPr5p69IV0avwtsQWFhHVpoPUDAUU?= =?iso-8859-1?Q?YbUTvhkGnHQHrN/J7g/QHeRkYX2zaXzLsgtbijsEQfmnS7WcWvpzx2D7ZP?= =?iso-8859-1?Q?ZCzthngI1FvNFBYpfl+FNOz152yRXl6EwEp3AI9E1Hn6JBR9Jc6Pl9ipoo?= =?iso-8859-1?Q?j+gK2BBmmXJJS+5UcDRdOGBLvk3lnX6wFo9vXeRfSMob/9nc73N2N9JNPh?= =?iso-8859-1?Q?V7tS44YMl6isyu8u0JdDoUt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-1?Q?AnxPQlxHtJMILNPV/F5pWQJuU++dwnLTNKpvug+fd4fUOZrUcn192KZcoF?= =?iso-8859-1?Q?iIXHQ7dIh5mKMxlwXs3kWBuM58t6w2+/RlXa6GE4UfgIVMueF+nQfSSrms?= =?iso-8859-1?Q?qY2IBlVmAAGIZwXW8/DRp8TwsVzERfuMq16YY3qAbVHLquMIfr0Klni2l6?= =?iso-8859-1?Q?YupRK9os0uWbmxZnreha3M4sed96nrp4LIuTXUoxsQBbG3BAhXtCTIBrK9?= =?iso-8859-1?Q?f2g8KSim1EQvuk+udhi42JmSQo0KwsjY/UIPVg=3D=3D?= 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:(13230040)(366016)(376014)(1800799024)(38070700018); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?iso-8859-1?Q?JpUUlxuLzHycRX3fjadK4Yl+KbDnJ0XWwZCSM0hSXOyLOvyyx3ZASZWLm4?= =?iso-8859-1?Q?+zlz4Fy7ot8BGUWpVWEBTUXERes7CdWCgp8ruiQl4qljRdDCBUUMyLz+N1?= =?iso-8859-1?Q?UexhEVo4xdZpK8BSZw2egZIKLTddne7mfj9znR/NX/KkRmuJFuqwokDKlF?= =?iso-8859-1?Q?geVnMPzQ59p6puEiM1o+xpg3MvqK6NcKS1Oq9yO/5UJdMtwgsRisS11gxs?= =?iso-8859-1?Q?6XQkympr6+QMQMBCLbSTOcDFumJdPNIVZ38imZF6uE2b4TX/CVMfv/klMF?= =?iso-8859-1?Q?csGaDGktio/Zap+7dTmDUG8Yu5+lPTT56Nipi0wzj6Mjr7Ayt41FUXfp5I?= =?iso-8859-1?Q?LhNQxlPqVgjHX8c4R65tqlbRvdPoRCOVxgXrn9o4g8woNeO9GgQYzJeeXG?= =?iso-8859-1?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ikjIi63hTIGsh?= =?iso-8859-1?Q?HHcDfWZ7KIYN22ez1AnpjCYB3a4VA+aWnCvw5DvbJo5KIYBVyd77lXP2Ip?= =?iso-8859-1?Q?bLJ80VE5ha6a4yz2uZNGOerbV0ZkZNLDvxVmS28dJ4ID1O/W2ofMr4zrSy?= =?iso-8859-1?Q?VfxEQrQ+SeSy1GwEy5WU9TqkY5d/WvBl7SOym13tOYpaFai3/VoFiP0dxz?= =?iso-8859-1?Q?/3ANkb4g1kOEk8uSCaQJ5bzxtSg+vI0mNj5Zm29pn4V7HhCtnTlJHYOjh2?= =?iso-8859-1?Q?CL8hKyAK+aILwOsNL98BbntsAlAVtjhpl4RHiGtTtbDevDYuvYT24KAxeu?= =?iso-8859-1?Q?dejVZ8jH9e5WMdk/S7XHVR7vYmM+D0/3aS?= 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: e4f006cf-d145-4c09-ad6d-08dd1b645b40 X-MS-Exchange-CrossTenant-originalarrivaltime: 13 Dec 2024 10:53:19.7537 (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: +m2LpEqEfBiAXSlssL1FdaJWV24m4n8WaDRPACTCzOx9k6X/EuVAUVhCp1hq6hGvlbVH2hoMdtrlzrMT8cScWw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS4PR01MB8944 Received-SPF: pass client-ip=40.107.247.133; envelope-from=e.fraga@ucl.ac.uk; helo=EUR02-AM0-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, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=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: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx11.migadu.com X-Migadu-Spam-Score: -5.60 X-Spam-Score: -5.60 X-Migadu-Queue-Id: 6ED677A2C4 X-TUID: iXFIPF7ksXXq Response below/inline for email Visuwesh wrote: > (original email sent 13 Dec 2024 at 14:32) >=20 > Update x :=3D 3 and y first. Then update `a' and `z'. `z' will be 10.6. > Now update x :=3D 2, and update `z' and `a'. `z' updates to 5.4 as shown > above but `a' remains 9! =20 Yes, this is expected behaviour. Calc assumes a sequential evaluation, especially when the same variable is given a value more than once. It's not like most modelling languages which look at the ensemble of equations simultaneously. [...] > Which begs the question: what should be `x'? Ideally, it would follow the Calc convention and would be the value last given (before point, where the table is), I guess. But, at least, for simple cases where variables are not overwritten, what you have done would be sufficient (and a really nice addition to the Calc package!). I intend to use it for sure. Thank you, eric --=20 : Eric S Fraga, with org 9.7.17-3ae179 in Emacs 31.0.50=