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 yElFIeezVmOr/AAAbAwnHQ (envelope-from ) for ; Mon, 24 Oct 2022 17:48:55 +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 2Lt9IOezVmMsJQAAG6o9tA (envelope-from ) for ; Mon, 24 Oct 2022 17:48:55 +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 165FE12EC6 for ; Mon, 24 Oct 2022 17:48:55 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1omzKe-0004OV-Sp; Mon, 24 Oct 2022 11:25:40 -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 1omzKb-0004Na-60 for emacs-orgmode@gnu.org; Mon, 24 Oct 2022 11:25:37 -0400 Received: from mail-eopbgr60137.outbound.protection.outlook.com ([40.107.6.137] helo=EUR04-DB3-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 1omzKT-0000GV-E3 for emacs-orgmode@gnu.org; Mon, 24 Oct 2022 11:25:36 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=XbcB0lEOMhXt2mDf50YVqjd0YGrzZxVybDyhv4b9q4WwgvMp9X29h2+j+U3sh0YEZoq1dPFV603RCvJNCYNoYYBZTF3zyvNEdZDdRmqVUDE9Aqi0an4dsU6VZ//DcD62Jt+McpnsYV2gI9364P19xbm+7SJSIoPQkAX0JJORqHC5HbGnac1BlmHC4W77zPo7q3jYcxgYDP8kfC3m8X8iFb2pR4elSKKSUpuAYEsF74CY6w/l2N/8ULPgqJd6sqrxpBat0y1JWxxpsH5X9T4UuuBdd0/vpCDyI44pTC2S7iUwnnUXv4+VcE2g/VFxSQZDm8Z10xIf7djj5a1UH9in2g== 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=QJ+s70zU8ll+hs46SA41nttFGF1txI+piGW2HjZkERQ=; b=KT0/z99rgP86pPveKjFwPs7s7NKWKe0C9O2q6AA3YpXcp5EWBvM6IJsNHwwkeJaGqpm+ExBr5iquNEC5UHnFBapJcnWqfs0dpgHxymQadYLFngJLDzaN3+StXMFb1lbRfp9aHRQ9zbQgIO1ImyCfhNhw96NySKNg6AMZQZfZGAl46kCqkOWa3KQp2C5WK/m2yS42f8E0M62qKXMSxHpcYcRwIWwQr9YSYSW6MEwWFLp9+/FrzqcAp660ue3mNsULM9bYaIiQYZUQG5mpdQwBc1+s/xGGFyaanaYEp7DuXUzY29wZxg2DXfq19lHKRDd1rjrQh12SmMUofeTTrVtvbQ== 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=QJ+s70zU8ll+hs46SA41nttFGF1txI+piGW2HjZkERQ=; b=o0mEJ3qbdX5Li3dCBkI++o6DPUEYxSufSyWIOzANNAAwEPyDZ1mNeLGlTfuqnPC2F9Z3Dhix+qOoKzVy88Kd9kfF65l6j0TCwrkn4DomeQoxbctmYD0WbCaj0oljAUaxc+TWAavGpsJWFM8+QxjEw/RwwOuhQ0fNGxbRlaENmq0= Received: from AS4PR01MB10249.eurprd01.prod.exchangelabs.com (2603:10a6:20b:4fa::21) by AM0PR01MB6292.eurprd01.prod.exchangelabs.com (2603:10a6:20b:148::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5746.26; Mon, 24 Oct 2022 15:25:25 +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 15:25:25 +0000 From: "Fraga, Eric" To: Ypo CC: Org Mode List Subject: Re: LIterate programming with calc (help) Thread-Topic: LIterate programming with calc (help) Thread-Index: AQHY52N3sPluuAx4d0GRGDiIovWO8Q== Date: Mon, 24 Oct 2022 15:25:24 +0000 Message-ID: <87v8o91bx7.fsf@ucl.ac.uk> References: <87r0yxr6wm.fsf@ucl.ac.uk> <9d1c1bae-1928-26c3-2c6e-add6e664f793@gmail.com> In-Reply-To: <9d1c1bae-1928-26c3-2c6e-add6e664f793@gmail.com> (Ypo's message of "Mon, 24 Oct 2022 13:26:58 +0200") 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_|AM0PR01MB6292:EE_ x-ms-office365-filtering-correlation-id: 15f8fc58-5ada-4189-8149-08dab5d3f93f x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: ymeSs6JRqFfiRE6dBjST4M9q3cK+ri+L22gwarJHihBQAZ8h5VahTCDdICaRneW8UWIt1Vy5gfxdoPlDjYtACEGW35jWiuuEx/g88UU1CHf14b/X32oefsHwqMqiORZoQdjiQ8ijDQqUbHWc2DSKGLnNGTmzviFtcGyAwGBHPD95bE97X2W7X96c/X6lT8Drdsbrxl0yQQzbPLgpT9lbhMiR77pA/g9o/zGzVc0kXglSjNiiZ1AYh5ZDaWHmqATpDEYp0nyQ+WOXSOrYyvkeA6XteiJVPZapZOFJCAuM4DswdL26Ua+lXkD1J/QpgKhx59YJgJzqP1JPQiN4EplAFVY5z/oFxjvD1xtcT7k+GXNGFm7mT2oK7+lsGEyhjviC7jcDI1hPlm3o1t7MfzWjbl4PPE+3D8GT+yZfo+XUaNhaawoLew9/sLKe9IjT/rtkdNIoteQMZJWsDh8If7EKyTdfqK4FLVze5d5TlWwM47TOpZPViTHg/BhpgFhRdO72RN84WTdof+6vvxU77nQ0ANNp9rIKv6xXA8HyU1fPfvJux5eQ8rcpRdRDvnURFQf8y1EUzomhLqFHUBHrkAECOJYbEwgzMaBaUvl51O/MedE0kBgHVQW7hivBlsZPLE4b5z6UM+++w2Sij4hjboDAZ0wNs0XxMZv1kMOgUhOAnZ8zfa+wma3p/4Yc+HE1r3fusoiEkGQPXxcnNw81SDVsoPp/iLN+22gGteDuIr3TL555TjOUumnszySKBxzU2PZ0eqg9wP8Oj/K0UwaPpMeAJw== 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)(396003)(136003)(376002)(346002)(366004)(39860400002)(451199015)(38070700005)(38100700002)(71200400001)(478600001)(122000001)(6486002)(8936002)(6916009)(316002)(786003)(91956017)(36756003)(86362001)(41300700001)(2616005)(186003)(2906002)(6512007)(26005)(8676002)(4326008)(66446008)(66476007)(66556008)(6506007)(76116006)(64756008)(66946007)(5660300002)(4744005); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?iso-8859-1?Q?CfCBz1T/TScJUQtWwuletaKPfNT0jw4saWX0652pvRYg/CCgvcidztMD/o?= =?iso-8859-1?Q?N28Yz22gcnvTwUfTf0AW9agEDXiYNpm9oMu9TWgXkCG7ucGkZAZzOmAILb?= =?iso-8859-1?Q?I7ZBv2j5jI5D4kVTnbaBquIK4tN6xDEJH4j+0RBma574UjX1+YEiKq6zbL?= =?iso-8859-1?Q?p2NJBHfI/PeVYh7hl/hAkGpEPTKF/YixPAMuIfIKvkSwpHDYMz8FGhSH8i?= =?iso-8859-1?Q?UlRU6gPG3a/qs8UVgjyKR3/jkH6k5ARB5ev0m0QmTgZWmupGni1oB1DeEi?= =?iso-8859-1?Q?7UIUdnl+t5Hx/StaJYfJiabMMeBvffCnt1TRcf5OEy3xHKq4J2e1vMCtcf?= =?iso-8859-1?Q?Bwp+Qs0k2BXMkFj5ODX3QmHqqpP4aBrr1pQLLh9VjzZQ81XqpnugfA3Bzf?= =?iso-8859-1?Q?JeXh0Z0BMCQDbHpVginyk8DNOUm0z7Max+lqblalL47jf/Kxm+uLr9gRmH?= =?iso-8859-1?Q?VNZDoZv+ZfuT6ytbDD9u7lcchxMFt9Bo9Ga50580JtnuWjmesfDzXXFpJX?= =?iso-8859-1?Q?jwV1w1kmqA8SzIzlWRRhvZ/bmf3Aabgd+sfvNKGswiUJom8iZz1wR1DGOM?= =?iso-8859-1?Q?l73ImRqTEsmwENjrH7Tcoo3ANoQHRQBTT282u2z9rCvWqx+G7+zCjlNnh3?= =?iso-8859-1?Q?8oCcGbCxHSF+dJ4kWs5JDdo8yOME4F5Pptwd+tr24I3+b7Z5ZVt1yW0lv5?= =?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gDBSLcmY40k8onELdU3UL6LltGxQXLz/aD6H7k53G8VOjU6vP?= =?iso-8859-1?Q?dBf/KWMPVFYbv7uLBob4PiayaXQDBTqBoh?= 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: 15f8fc58-5ada-4189-8149-08dab5d3f93f X-MS-Exchange-CrossTenant-originalarrivaltime: 24 Oct 2022 15:25:25.0605 (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: JLriLT7SMajg+8tkqy+EQkjOJKy+FOw/jH8aclEmfp4Bkwr9j6NvA0lkq0fXaJCnbzfeGUDgrJ36c1QN1rx+Kg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR01MB6292 Received-SPF: pass client-ip=40.107.6.137; envelope-from=e.fraga@ucl.ac.uk; helo=EUR04-DB3-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=1666626535; 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=QJ+s70zU8ll+hs46SA41nttFGF1txI+piGW2HjZkERQ=; b=GN0v0cJjbFLTnwLrC8ilr/aaFq3jit/orWnGiOaYxq9207ae/DmXlMo1hMUNSkvabGvluy qip0HsJLfaH3uzzOjhETSvobWmO6fQ7RnBvAsmdQnpE47xLs091hSyDo/motFdKJdXKrif mr4Ln3YAgnEQthZvVyzvEU5bkizfdQwHTyQyX1WqeLNxG9pzeDn8yqjuYYTRL3QG/b97OK 4nHj6HUyHkTtDEy4V3JLIbd0sieAmhW6WZRONRTscFwCjToH4HO8q5jaFv2K3OoQ+QiXmy TInAPX7eJMUr5302yQaJ+cwCoytNj6bMbERET3cjmhXteZelsDiBJzp3Ap10xQ== ARC-Seal: i=2; s=key1; d=yhetil.org; t=1666626535; a=rsa-sha256; cv=pass; b=sDcUJ0+XIbVz0gruyR9zTikdQpAt6/J+2IpeFA/JDkoZ8gBjFIDtdxl+Oef4M80CwmMoG/ qNOrJpxdw6CuolM4zqEa3dvTyKHbAHZn1YQ0Kz5q+6RFKfCbCFF4ZqI4XZxlLHtCLFenS9 cUVlESXG8IJcbq3l7V7NDAOQb9X+g0iRJ5+AfGvqNYXE0Rpxm3qIbFVVnXK5dSbbNI3tgm FRVPPvuzfAaMJU4ooXr+lHfMzIrCM2elE/oNgXamEm6duy8WLKv3lBRzO21O4+Mm9GQEg+ BTxbU4Zr3UUwYt94YgM1tpNqIYUbdbUdW54Am7n9jROU3M4HDIMu1E58ITdgbg== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=pass header.d=ucl.ac.uk header.s=selector1 header.b=o0mEJ3qb; 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: -8.40 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=ucl.ac.uk header.s=selector1 header.b=o0mEJ3qb; 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: 165FE12EC6 X-Spam-Score: -8.40 X-Migadu-Scanner: scn0.migadu.com X-TUID: Jh+NGY1VH9YW On Monday, 24 Oct 2022 at 13:26, Ypo wrote: > Why do you think it doesn't work something more human readable like this? > > #+begin_src calc > solve([ > a =3D 300 m, > b =3D 300 m, > Area =3D a*b, > cost =3D 1 (USD/m^2), > z =3D Area*cost > > ], [a, b, Area, cost, z]) > #+end_src It only parses a line at a line unfortunately. This would work in Maxima, mind you. ;-) (with some minor change in syntax, of course) --=20 : Eric S Fraga, with org release_9.5.5-966-g88c85d in Emacs 29.0.50=