From unknown Mon Sep 08 11:08:19 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#46750 <46750@debbugs.gnu.org> To: bug#46750 <46750@debbugs.gnu.org> Subject: Status: calc defmath let* behaviour surprising, inconsistent, or wrong Reply-To: bug#46750 <46750@debbugs.gnu.org> Date: Mon, 08 Sep 2025 18:08:19 +0000 retitle 46750 calc defmath let* behaviour surprising, inconsistent, or wrong reassign 46750 emacs submitter 46750 Stephan Neuhaus severity 46750 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 24 08:18:18 2021 Received: (at submit) by debbugs.gnu.org; 24 Feb 2021 13:18:18 +0000 Received: from localhost ([127.0.0.1]:33874 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lEu3W-0001VX-4y for submit@debbugs.gnu.org; Wed, 24 Feb 2021 08:18:18 -0500 Received: from lists.gnu.org ([209.51.188.17]:60966) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lEti1-0000wh-7b for submit@debbugs.gnu.org; Wed, 24 Feb 2021 07:56:06 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:43798) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lEti0-0002TN-UJ for bug-gnu-emacs@gnu.org; Wed, 24 Feb 2021 07:56:04 -0500 Received: from mail-zr0che01on2087.outbound.protection.outlook.com ([40.107.24.87]:54561 helo=CHE01-ZR0-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 1lEthv-0005p1-Vg for bug-gnu-emacs@gnu.org; Wed, 24 Feb 2021 07:56:04 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=bOWPSpPhumLhvUZ6Hou2bMKv2O245BIC6pbhtuDG7iBEjAAOoONmPXM3EUCZ8mEvRgT30vxKIFFI1/vgIlwnm+4Pcz8tUhDCe3g1xicm88AmZ1dWn3q0NbAEomQsixyvNfCYctds47lJN9AV9FvdJ1yf7svUM4UGtG9CavUDGgtrP9IqzRF66wzRz8tJP0sLYcT7aJdxpp7qB1tXtZjRK+zOEFtOfyLlhom/H8gaqGID7onbQBVhbxsppj58spE1KPco5BKiTcalUw4S9/TQ/O2OTs0Xdn+FJvBNDkqTpx/n3Uz2geNs6sHOLeOj+QyhvoAi3Y63QQfCCig0TL0FLQ== 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-SenderADCheck; bh=IHSg7fHOZax7zGCvQOJpJd6y7iO3yjLXWDnt6r67fqs=; b=oTOWD1wL2Gj4HchYh0rYFyoFwD3RL/YRYAv65EpE+crhVtqmFed+LKNww1czjzL02fwZx5KCbHapIw+dEIGIASwdHUVfQCujWr2dYWLB7gfwrhtkg9uMvrjSB5Y+wCGO1yuMTLl3jsRyMpy0KhqwQSHzGXaF8tGT85sTd8yqYpM+MFb29T2dbyZkErrG11uRnXAksq0dmyOCxfpP1ch/1C3LMG8h0AudJ7fWHClsWf4BAlXTdlTC/Lz0hDFZImoQ0sc8GKS9xmW6qU55k46l9D/6HxSZNLEuYP+2aS2KD6p0d1Aa2aHIfFf4lC4r50kkg9uZCt4rRs2+wmKJuk5Yzw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=zhaw.ch; dmarc=pass action=none header.from=zhaw.ch; dkim=pass header.d=zhaw.ch; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zhaw.onmicrosoft.com; s=selector2-zhaw-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=IHSg7fHOZax7zGCvQOJpJd6y7iO3yjLXWDnt6r67fqs=; b=hV7165UrjySneEwlkqXfs7VMxYlSs7/QG/B2fJdVdgGS/aPvRuFoOruS55DhLCbBTks3RYdhz8wIcdRRr7pUV76rJNJ+AqhtIKWMpS4z7qqKgBj/FkA+y4VnOGnI2ZKJ7KnpwnWnFj3rCosOVHZNKtPHQ6iIF5hnnFmbkFrcTGg= Authentication-Results: gnu.org; dkim=none (message not signed) header.d=none;gnu.org; dmarc=none action=none header.from=zhaw.ch; Received: from GVAP278MB0485.CHEP278.PROD.OUTLOOK.COM (2603:10a6:710:36::12) by GVAP278MB0136.CHEP278.PROD.OUTLOOK.COM (2603:10a6:710:22::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3890.19; Wed, 24 Feb 2021 12:40:51 +0000 Received: from GVAP278MB0485.CHEP278.PROD.OUTLOOK.COM ([fe80::8859:f9f:2ea0:4dea]) by GVAP278MB0485.CHEP278.PROD.OUTLOOK.COM ([fe80::8859:f9f:2ea0:4dea%3]) with mapi id 15.20.3868.034; Wed, 24 Feb 2021 12:40:51 +0000 To: bug-gnu-emacs@gnu.org From: Stephan Neuhaus Subject: calc defmath let* behaviour surprising, inconsistent, or wrong Message-ID: <83591a19-5f5a-bd87-6d0b-7317613a88ce@zhaw.ch> Date: Wed, 24 Feb 2021 13:40:50 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.6.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [2a02:aa12:3202:4780:2db1:3f8b:8b3f:f69] X-ClientProxiedBy: GV0P278CA0065.CHEP278.PROD.OUTLOOK.COM (2603:10a6:710:2a::16) To GVAP278MB0485.CHEP278.PROD.OUTLOOK.COM (2603:10a6:710:36::12) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from [IPv6:2a02:aa12:3202:4780:2db1:3f8b:8b3f:f69] (2a02:aa12:3202:4780:2db1:3f8b:8b3f:f69) by GV0P278CA0065.CHEP278.PROD.OUTLOOK.COM (2603:10a6:710:2a::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3890.19 via Frontend Transport; Wed, 24 Feb 2021 12:40:51 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: ea7c9740-92a0-4be6-117e-08d8d8c16b70 X-MS-TrafficTypeDiagnostic: GVAP278MB0136: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:4714; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: wYSHZpl7cQ9BXINK4KYG1xEyzi6E2CJ6vyiDSunOSNquxX1yMeiMXAa6PpI//3qgieLeaYqMRnvyvbHe5qmbAedyYuJEeTcnIKQOvcLyjUdx1ES66VwaJWcn1V8z8pIhodPkV6OJ0KuKQEJjrHl/LIdaRYyAiEIxWNl7FcZvLW/mGMLPV6X9ZprkcncZgjZ1yIFVPM/cLdGTQ4oBTO6gl95moJvf4vg/dkjvFBsIs4my6x3rVWWwSFxFsw1kKkleAISpn4vEBFyaX4jEQN74tGOsSNzhMYrC0BBll9yxaRBAL/uQviuaCeasSRTdlYLwBrKsyKknSz5xZ2nkE5oOrMzTv54zc6X+IbvFnTUIw7/jw8Q2FG65PjHHWfScoW3H8fxVLhwYCiW4YUV2Mivbr1i+P9c29C7wUWBceR8Vxao6A1n9h4wkPF1ujG2q6IO9NU+VgJkxi/N8e5GSVg1QGcJpAUHUklB/Hlt4mhVTUS4gEduJiQKpVBaH7HWdVdIdKWJA/Pvt0x0UWfFfgOsgKygqZkwG5Yf0deiw77qyr+0gqvGCCOchZsXsj0RBSfS4uPyiza21u4xs0uuPUVUmm6iXD3KNc4uXfAjh0Vy0MIo= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:GVAP278MB0485.CHEP278.PROD.OUTLOOK.COM; PTR:; CAT:NONE; SFS:(4636009)(366004)(396003)(346002)(376002)(136003)(39850400004)(8936002)(478600001)(8676002)(6486002)(316002)(5660300002)(16526019)(2616005)(6916009)(52116002)(31686004)(786003)(66556008)(66946007)(186003)(66476007)(83380400001)(36756003)(31696002)(2906002)(44832011)(45980500001)(43740500002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: =?utf-8?B?Nzh5QmloTWp4bnBxL3BkTTdDVG5zeUZMdjlSdlA0eXU5MW9FWkNvK1pUV0Iz?= =?utf-8?B?V2FYc2FrN1U0bG02S3lZdEpMcUM2QTVab042Q1Zrb0VPeDJkSW5BcWVOWmd0?= =?utf-8?B?QWk2TFV6clE1Z2gxaFE3cWkyeDJoWUEwUjRad243OHV3UjRrOGFZYXpVK2Vu?= =?utf-8?B?aHVBSzVWUDM4cCtDcmFWSU5jdy81OG9Jc3pGejYwWThOQ2x1Q3lvWXI5aGpV?= =?utf-8?B?MzJYbHdtNkJSRE1xVmg4ZExEck5kaGhJNkxScmhNckJkYW03czVkK0ZhbEoz?= =?utf-8?B?MnVQa0ZXYURGaDRNS0RpeG9tbytQblhuKzN4bUl4NzgyZHRuSmRFcm9HU3FN?= =?utf-8?B?TlJYSFN5WWh4SFRTZk1UQkFaMGU4cmhheGpqaHp4VnZPT0pMNlRwNHRoMXpm?= =?utf-8?B?ZldTNkNHTXNCRFZDc1Noc0dxbW9XMzc4MGExRUVCR3ZCVHNiK1pIeWs5Y2Fs?= =?utf-8?B?Q0F5RWp2bkNMTXBqVHdtSDEyR2pIN3hhbXdiV3pFR1NIQW0zeTB4RW82U1dQ?= =?utf-8?B?TENraWRRNzJyRXhUK0xBSzRLR3dUWlJMQmQrajIzT2Z4S3BNR2ZJdDc0bGlk?= =?utf-8?B?QVNIeWpZT3M5NE5WMGVzNkVQT0Q2K3FqZGJka1laekpRRHhaUndBTHVoSDZT?= =?utf-8?B?QWtGV2tkTkVZWHdsSXNkbjBHRUZsTWExWk1pUXhNVkU4UmdQaTdaVjZJbGtv?= =?utf-8?B?NEJueVQrQ28vYWk4ZDdVYmw1ZC8vdkRUY3pRSUw4cVUxQnRtTC9uVWJ6K2FC?= =?utf-8?B?dG9YNUd5cFVZYjFncDd6UUQxK1NOcTVOTGdTWVFpc0tEZWRwMUlFUG02NVI1?= =?utf-8?B?bXFzYngzbU9sMWYrZmoveGJ4a1RTc0NsWWFrUTFCYldxazhpeThoWHFhb2R0?= =?utf-8?B?TlVNWjZWdGlHSTNCT0JzU0NGaXJxTHF2OEMwSWNMRDZFQXUveUF4Z0x0Wk9s?= =?utf-8?B?ZndENjU4cENyYnlCWmdSaDVRN0xVRUJ2UVRpRnRqMlUyYzliTzBSTUFzVzNo?= =?utf-8?B?ZnpNUlo4UWprd3BjcUJMSGhHTUtBd2grUXFwcTlwSm5nYVF0Vm54ckhMRXdw?= =?utf-8?B?TzNsQVlPZmh6WEU0RG5CQlZLRlM5TXJSdVE4S2tIMVZLTm4vbHlEMDhPeWNv?= =?utf-8?B?eUhFYVEwRHRJKzRUdXFTWUJTQUpCbVFkWHc0VGdFMDVkMWFZenZ6UU80US9H?= =?utf-8?B?VUhEQ3NEdG5YZElJQk1qa1NraWwyb01Cemw2R01hVlJHSVZ5WTFCRjVpclBz?= =?utf-8?B?VHgxY1B3cFd3VndWQUJvQ3YvdWtyMkFPVzBEYXIrTHc1K2tEQllMK3BpamZr?= =?utf-8?B?SGxEOWZ2YXNMUEVWN3ZEejdXSTdORkNsQ3pza2Z5WmY0SHpkMHhCd2NZRzJ4?= =?utf-8?B?OVlhWTZkREdqTm9nemMzeG5kZ1JPMkg5WWpWK2hmb3RsSnNxZzdxVHpXZHVl?= =?utf-8?B?eUZrNU1Xc0lmeEwzTXlrU0gzbG9rczdxMUNEV2xia1hxeGFLYXhSSVZwbHNT?= =?utf-8?B?OGh6dXNsbE5sOU9ibU5GRkpXTnR1TUZEWGhIMFdMalBlbFptYXpVeldTK2VS?= =?utf-8?B?LzIxS3BhV21vbFZSbitZd003WDcxUWluZ1Y1NE1ydkFYOXJwL1ZXYVNVY2gx?= =?utf-8?B?VDlMazIwaDAzbU85WHpHaW50UFBaZ2hjSmwzU1JiN0U0N094U1cybWFpTmli?= =?utf-8?B?aisxWGk0SWg4U3dyZ2xlZHFlK2tmM0lvVzJvSWJvcmN3bjQ1eFBjdlBXYS8x?= =?utf-8?B?ZVJUcGdRall3cVVyVnRXR2x4cnZtYW5iTkJ2eEhERUlUM3IrYUVJZ1JyWEdj?= =?utf-8?B?b0dROU5qNjhzMmo1S2JOMXY5d0c3R0VtUVlMNS9HZFd6bjcxeWJVb1FuSU5p?= =?utf-8?Q?gRxwkSUOBdXnc?= X-OriginatorOrg: zhaw.ch X-MS-Exchange-CrossTenant-Network-Message-Id: ea7c9740-92a0-4be6-117e-08d8d8c16b70 X-MS-Exchange-CrossTenant-AuthSource: GVAP278MB0485.CHEP278.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Feb 2021 12:40:51.7133 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 5d1a9f9d-201f-4a10-b983-451cf65cbc1e X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: DTWoozd9M7MR7pzXWHb+IsD5dQNU90GFvQWQzEZ2tyurHDx4OOf3aIIWlt5V6r64 X-MS-Exchange-Transport-CrossTenantHeadersStamped: GVAP278MB0136 Received-SPF: pass client-ip=40.107.24.87; envelope-from=neut@zhaw.ch; helo=CHE01-ZR0-obe.outbound.protection.outlook.com X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, MSGID_FROM_MTA_HEADER=0.001, RCVD_IN_DNSWL_LOW=-0.7, 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-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Wed, 24 Feb 2021 08:18:16 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) Dear maintainers I can't seem to understand the calc documentation, or I may have found a bug. You decide :-) My system "GNU Emacs 26.1 (build 2, x86_64-pc-linux-gnu, GTK+ Version 3.24.5) of 2019-09-23, modified by Debian" I'm trying to define a calc function f() for use in org mode. Here is a minimal example of what I've tried. It's not the same function, but it exhibits the same behaviour. Put this text in a buffer with org mode: #+BEGIN_SRC emacs-lisp (defmath f(x) (let* ((m x) (n (+ m 1))) n)) #+END_SRC #+RESULTS: : calcFunc-f | x | y | |-----+--------| | 1.0 | f(1.) | | 1.5 | f(1.5) | | 2.0 | f(2.) | | 2.5 | f(2.5) | | 3.0 | f(3.) | | 3.5 | f(3.5) | | 4.0 | f(4.) | | 4.5 | f(4.5) | | 5.0 | f(5.) | #+TBLFM: $2=f($1) Evaluating the source block (C-c C-c on END_SRC) defines f() successfully. Then hitting C-c C-c on the TBLFM line shoud result in the y column of the table to be filled with the x column, plus 1, which it doesn't. If I directly evaluate x + 1, it works: #+BEGIN_SRC emacs-lisp (defmath f(x) (+ x 1)) #+END_SRC #+RESULTS: : calcFunc-f | x | y | |-----+-----| | 1.0 | 2. | | 1.5 | 2.5 | | 2.0 | 3. | | 2.5 | 3.5 | | 3.0 | 4. | | 3.5 | 4.5 | | 4.0 | 5. | | 4.5 | 5.5 | | 5.0 | 6. | #+TBLFM: $2=f($1) It seems to me that the problem is with the let* special form, which simply doesn't seem to work. let works: #+BEGIN_SRC emacs-lisp (defmath f(x) (let ((n (+ x 2))) n)) #+END_SRC #+RESULTS: : calcFunc-f | x | y | |-----+-----| | 1.0 | 3. | | 1.5 | 3.5 | | 2.0 | 4. | | 2.5 | 4.5 | | 3.0 | 5. | | 3.5 | 5.5 | | 4.0 | 6. | | 4.5 | 6.5 | | 5.0 | 7. | #+TBLFM: $2=f($1) I couldn't find anything in the documentation that would forbid me from using let* in the body of a defmath. I also couldn't find anything that would explain this behaviour. Now I'm not an expert on Lisp, so it's entirely possible that I've done something stupid, or missed something in the documentation, but I can't find out what it might be. Thank you very much for Emacs. After several years of using other editors, I'm coming back to Emacs and I don't think I'll leave it again. Well, except maybe for ed(1). Ed is the standard editor. Cheers Stephan PS: I'm following the instructions in the calc manual for filing a bug. There is no mention of a mailing list or a bug tracker for me to sign up to, so I'd be grateful if you could answer this email, otherwise I might miss requests for more information or the announcement of a resolution. From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 01 08:01:46 2021 Received: (at 46750) by debbugs.gnu.org; 1 Mar 2021 13:01:46 +0000 Received: from localhost ([127.0.0.1]:48410 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lGiBF-00077i-Tt for submit@debbugs.gnu.org; Mon, 01 Mar 2021 08:01:46 -0500 Received: from mail1438c50.megamailservers.eu ([91.136.14.38]:33560 helo=mail263c50.megamailservers.eu) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lGiBD-00077R-Vv for 46750@debbugs.gnu.org; Mon, 01 Mar 2021 08:01:44 -0500 X-Authenticated-User: mattiase@bredband.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=megamailservers.eu; s=maildub; t=1614603696; bh=tiGVlNK0obllqhsltOpO0aXxPRSv6MACS3kCXy1saws=; h=From:Subject:Date:Cc:To:From; b=YbcPs+gPQJ/VwlTJI2QtLsOQs4nKmPUaQ42A066oZtWriq9t1W3mWEoaf/Gpd8DiA ebcT/cbzG4jYWsONceaErzoVVdiaC4bGafZ62jPxr18hlajqP0Q7GLdAEj+354sHGj jnHXS5xvFNTcaGRx+PpHTpneK82HUXgg2OqfJALM= Feedback-ID: mattiase@acm.or Received: from stanniol.lan (c-b952e353.032-75-73746f71.bbcust.telenor.se [83.227.82.185]) (authenticated bits=0) by mail263c50.megamailservers.eu (8.14.9/8.13.1) with ESMTP id 121D1Y4w009430; Mon, 1 Mar 2021 13:01:35 +0000 From: =?utf-8?Q?Mattias_Engdeg=C3=A5rd?= Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.17\)) Subject: bug#46750: calc defmath let* behaviour surprising, inconsistent, or wrong Message-Id: <43B9DD71-1C8D-43CA-8753-5227BAE91302@acm.org> Date: Mon, 1 Mar 2021 14:01:33 +0100 To: Stephan Neuhaus X-Mailer: Apple Mail (2.3445.104.17) X-CTCH-RefID: str=0001.0A742F1D.603CE5B0.0087, ss=1, re=0.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0 X-CTCH-VOD: Unknown X-CTCH-Spam: Unknown X-CTCH-Score: 0.000 X-CTCH-Rules: X-CTCH-Flags: 0 X-CTCH-ScoreCust: 0.000 X-CSC: 0 X-CHA: v=2.3 cv=fdHTNHYF c=1 sm=1 tr=0 a=von4qPfY+hyqc0zmWf0tYQ==:117 a=von4qPfY+hyqc0zmWf0tYQ==:17 a=kj9zAlcOel0A:10 a=M51BFTxLslgA:10 a=UnNXIKUZ_6bMqqeu7acA:9 a=CjuIK1q_8ugA:10 X-Origin-Country: SE X-Spam-Score: 1.3 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Thank you Stephan, it does indeed look like a bug. Now I can't tell you when or whether I have the time to look at it further, but to allay your worries I can assure you that your reporting procedure was flawless. You do not need to sign up anywhere a [...] Content analysis details: (1.3 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 0.3 KHOP_HELO_FCRDNS Relay HELO differs from its IP's reverse DNS X-Debbugs-Envelope-To: 46750 Cc: 46750@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) Thank you Stephan, it does indeed look like a bug. Now I can't tell you when or whether I have the time to look at it = further, but to allay your worries I can assure you that your reporting = procedure was flawless. You do not need to sign up anywhere and shall = receive news about further developments by email. From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 01 15:13:11 2021 Received: (at 46750) by debbugs.gnu.org; 1 Mar 2021 20:13:11 +0000 Received: from localhost ([127.0.0.1]:50960 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lGoul-0003Yk-JL for submit@debbugs.gnu.org; Mon, 01 Mar 2021 15:13:11 -0500 Received: from mail150c50.megamailservers.eu ([91.136.10.160]:55502 helo=mail50c50.megamailservers.eu) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lGoui-0003YY-Nn for 46750@debbugs.gnu.org; Mon, 01 Mar 2021 15:13:09 -0500 X-Authenticated-User: mattiase@bredband.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=megamailservers.eu; s=maildub; t=1614629587; bh=JIr22C1vXFwWS3lJa5H8jaXgQr4rSbmuf6LtnRZqorY=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From; b=iTCrTXnH3zFovW8wwYAy/wHH6YuY0jxWldFQDqgsHpH94fGuGGkWEfdEOWnkePKcm xX4u4FbkTBv9U2388iBzrw9JKKQ2FIHbFBLN4GXRWMeqAjhElw02sVp8mingZ7ugYI C964jejUjrb35T0dRfcRBd/CePGmdjYJRmAfIlkY= Feedback-ID: mattiase@acm.or Received: from stanniol.lan (c-b952e353.032-75-73746f71.bbcust.telenor.se [83.227.82.185]) (authenticated bits=0) by mail50c50.megamailservers.eu (8.14.9/8.13.1) with ESMTP id 121KCjm0028337; Mon, 1 Mar 2021 20:13:06 +0000 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.17\)) Subject: Re: bug#46750: calc defmath let* behaviour surprising, inconsistent, or wrong From: =?utf-8?Q?Mattias_Engdeg=C3=A5rd?= In-Reply-To: <43B9DD71-1C8D-43CA-8753-5227BAE91302@acm.org> Date: Mon, 1 Mar 2021 21:12:44 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: References: <43B9DD71-1C8D-43CA-8753-5227BAE91302@acm.org> To: Stephan Neuhaus X-Mailer: Apple Mail (2.3445.104.17) X-CTCH-RefID: str=0001.0A742F28.603D4AD3.0004, ss=1, re=0.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0 X-CTCH-VOD: Unknown X-CTCH-Spam: Unknown X-CTCH-Score: 0.000 X-CTCH-Rules: X-CTCH-Flags: 0 X-CTCH-ScoreCust: 0.000 X-CSC: 0 X-CHA: v=2.3 cv=UMej4xXy c=1 sm=1 tr=0 a=von4qPfY+hyqc0zmWf0tYQ==:117 a=von4qPfY+hyqc0zmWf0tYQ==:17 a=kj9zAlcOel0A:10 a=M51BFTxLslgA:10 a=h7-piV34LZSDGSakxNcA:9 a=CjuIK1q_8ugA:10 X-Origin-Country: SE X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 46750 Cc: 46750@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) > Thank you Stephan, it does indeed look like a bug. Not one but quite a few. Apart from the incorrect variable scoping in = let* that you noticed, the `defmath`-specific forms `for` and `foreach` = had the same problem: even the examples in the manual didn't work. Moreover, `foreach` didn't work at all as specified -- it is supposed to = iterate over list elements but only ran over the list tails. As I was = writing tests, it turned out that the facility to quote functions as a = means to override the substitution of `calcFunc-`-prefixed names didn't = work at all. These have now been fixed on master = (08b11a02f49da5ca0e4e58a32fa853df0c5e0214); please tell me if it helped. = Given the number of flaws discovered in this part of the code, I = wouldn't be surprised if there are more to be found. From debbugs-submit-bounces@debbugs.gnu.org Fri Mar 05 05:49:57 2021 Received: (at 46750) by debbugs.gnu.org; 5 Mar 2021 10:49:57 +0000 Received: from localhost ([127.0.0.1]:32959 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lI81r-0002tS-Iq for submit@debbugs.gnu.org; Fri, 05 Mar 2021 05:49:57 -0500 Received: from mail-gv0che01on2076.outbound.protection.outlook.com ([40.107.23.76]:18017 helo=CHE01-GV0-obe.outbound.protection.outlook.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lI81o-0002t7-4D for 46750@debbugs.gnu.org; Fri, 05 Mar 2021 05:49:54 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=UIYfK3SG3pVx6fnTnu4Hz4M6dcdiO/8HFduHugsJnYq2gvVuEdDJn9Ub93FY+DyVt+85AYbfnlyLjkK5ykGnn3H2BT3DDqiXEUsVAgFkhs+PUkjVgDFFpYyzkesTD+pshN5fRADhAE3VXVUBpVlnS0TqB1tvw25Lc6oR4w7D5dq+NHGMx9n99xMnBVxWW6xGSIAnDJkRJeIDBWB9AjNMAOmQC7qB8n82m92Wt+mwDRno9NeLHU3UX4RiiIGtDjw15x3Ce89uCw3qHn4NfKZfBOAwB2vkN6VXMepCeYndvR1Tta55Q4oEppsJ6iVi7oQvNqkJuxSNo3269JjPDOuPGg== 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-SenderADCheck; bh=ZfaONJnJ2jjn7t5So+/Mw35xbGPS1wU0cjJ5HWmEUMY=; b=EycJqIPXhi/jxXna1FmuU6uABSR2Rd6iYJJ3PcZfv+ovwhca8+r9k1A/73f7db48W0HoRQbf7ccvtrM5+92yZwBXlZKmpc2ollSBvBU/UBYUrcMFp1LBs2iXDjFL8XGocfM42yQ/7eZixsMGlV7TwwFcJz7QSGGlV/PGsu24ZAs4l5Zi3BFCW4B74VzTl/4ZjH9OKfbljlWG7buAwCPaDCWGvGa7KwLNswu+phv3hLDCDLvY/QMlpSCkie+7JIA4xADtPNMExfkO59YCcPOinRHnChJIW+jKp6qI5EbuhYrdtZKeD7VWO1qutsEUvyU4ulQTsXUR7Shps5O8MSpObw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=zhaw.ch; dmarc=pass action=none header.from=zhaw.ch; dkim=pass header.d=zhaw.ch; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zhaw.onmicrosoft.com; s=selector2-zhaw-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ZfaONJnJ2jjn7t5So+/Mw35xbGPS1wU0cjJ5HWmEUMY=; b=OwxA5PYCs70fTiaUSduLpLJmTduYxdYZpJnzUu+gl+35S1i7ts98w27PW/jtayohtT9XPFttqnsKhrYYVsMPblugqpccdo9bWLy8h9WEyi/6AARTzS9DWJShOekXtenFx7r6I510tPVevchor2ClWIHB6EN+naCBBM3HSQtZHMk= Authentication-Results: debbugs.gnu.org; dkim=none (message not signed) header.d=none;debbugs.gnu.org; dmarc=none action=none header.from=zhaw.ch; Received: from GVAP278MB0485.CHEP278.PROD.OUTLOOK.COM (2603:10a6:710:36::12) by GVAP278MB0168.CHEP278.PROD.OUTLOOK.COM (2603:10a6:710:39::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3912.17; Fri, 5 Mar 2021 10:49:45 +0000 Received: from GVAP278MB0485.CHEP278.PROD.OUTLOOK.COM ([fe80::8859:f9f:2ea0:4dea]) by GVAP278MB0485.CHEP278.PROD.OUTLOOK.COM ([fe80::8859:f9f:2ea0:4dea%3]) with mapi id 15.20.3912.023; Fri, 5 Mar 2021 10:49:45 +0000 Subject: Re: bug#46750: calc defmath let* behaviour surprising, inconsistent, or wrong To: =?UTF-8?Q?Mattias_Engdeg=c3=a5rd?= , 46750@debbugs.gnu.org References: <43B9DD71-1C8D-43CA-8753-5227BAE91302@acm.org> <253704f6-80c2-e689-ba4b-8c139fe14e23@zhaw.ch> <479B7572-1D85-4D56-B3FF-5DFE6E74BC18@acm.org> From: Stephan Neuhaus Message-ID: <6a1c0f0a-e17d-cb8b-794d-26d57db113ec@zhaw.ch> Date: Fri, 5 Mar 2021 11:49:44 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.0 In-Reply-To: <479B7572-1D85-4D56-B3FF-5DFE6E74BC18@acm.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Originating-IP: [2a02:aa12:3202:4780:2db1:3f8b:8b3f:f69] X-ClientProxiedBy: GV0P278CA0074.CHEP278.PROD.OUTLOOK.COM (2603:10a6:710:2b::7) To GVAP278MB0485.CHEP278.PROD.OUTLOOK.COM (2603:10a6:710:36::12) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from [IPv6:2a02:aa12:3202:4780:2db1:3f8b:8b3f:f69] (2a02:aa12:3202:4780:2db1:3f8b:8b3f:f69) by GV0P278CA0074.CHEP278.PROD.OUTLOOK.COM (2603:10a6:710:2b::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3912.17 via Frontend Transport; Fri, 5 Mar 2021 10:49:44 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 24fd8b13-87d4-43a6-5df2-08d8dfc4638d X-MS-TrafficTypeDiagnostic: GVAP278MB0168: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:7219; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 10IpIF0BWRqxJSucG5En5B3UaTuKPeEfnu3ylUiEdM7Z3rKaUsB02OupDyAkEIWQK0xg6P/epxcr+fygoU4T0yogLi7yFtWNXgly/4Z0Gf2btWmkkk6l0XeQ9gKsqaxsJhtFtwQ4uDsDM2FUXxPGzZGvIIS2rgMXAn0KrZRLMobNEwNQd4036v16804V69YPYcELV2lNgXqC+dSdm1vPqfgNaIh0Z1VWyBTtMR0eZJgGki2bIDVLQs4F8sUFqnk+JbW2QDGwntY/DMdVROtB42dOk0iXj5ymbgrroL5D9FlSBspH/QnTWNtChskwP0ctafCJz27aObBDJrorrhy+MDZZ3xxmJVxcnfuOp66hVJRnLnrNf4ys05kDtgABelM/FFYHHLx7RWdouVvs8mk7cSMXw2VzDTETnepjNpcGWp36jnt5DuIkVkZ2BLjZiPZLzk4N8J+gFhvMi0D/AhLWtYVGuebXkZHtb2QU6DeuGM0BRnDe//v+Uvcm5hNW2QGkQGsAvjcqk0R/5yt2C4HH7J/UBe8U7WgoyAvPYaA7j99zfz33Oj+0yaoO20Zpq+qfM/B3xzX17fvqnhA6BdCl4bFgw5/eh3sGZckojSlcObs= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:GVAP278MB0485.CHEP278.PROD.OUTLOOK.COM; PTR:; CAT:NONE; SFS:(4636009)(39860400002)(376002)(346002)(136003)(396003)(366004)(478600001)(2906002)(8936002)(186003)(53546011)(16526019)(66556008)(66476007)(6486002)(31696002)(66946007)(36756003)(316002)(8676002)(5660300002)(31686004)(52116002)(66574015)(2616005)(83380400001)(44832011)(786003)(43740500002)(45980500001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: =?utf-8?B?N1FmTlhTMlFJSGhZWXpvZTFTM09seENkSUlUcCtOTkNVUzRlQ2ZHUkpYZEVq?= =?utf-8?B?dW5OTUZwczV6NGRXdHhWb3YyQllBMU5nMDF4eWpmS1NsaEtKWFhxc0I5N0hH?= =?utf-8?B?MEQrRVJlR3E3NzdZUEh0WkVDQWRwcVZPMFg1ekhnN21CcTVFc3hlOHhoUTZ4?= =?utf-8?B?VU5RRXdkeEpXWmF5N0JLRGViUWJSKzR5YlRkU1N6SzdZUXpaMVBUcnNSWWFW?= =?utf-8?B?RWl4dW1vV0hRZm51TlJuT3V5VUJWdHoxSHV5RmpjTFdPV3dpTlM5TENRTFB2?= =?utf-8?B?NWQ4djRob0FXVzhJQ3RnenRPbUtON0wxdWg1UStPOEYyenozdkVWMGNHN2gv?= =?utf-8?B?VUVHbFdwWm1qUmgvMGI2KzUrZ0wrdDIrK2tqT1pGelJLK1VLelcxd2xiN1VE?= =?utf-8?B?NDJjK0NzK2l1NCtmRmVOU1J0dGxhNUNXZVRSN05ja25NeFliZTdocWdML0tP?= =?utf-8?B?SzBjWDRrL1JZQVA4SXdxTmtpWWlJdHBSUFYxUzZWMm45WVlTRFdxZFBldS85?= =?utf-8?B?a3VVOGIxMVFRVWRxdWNkNkFsNml4anIycXhLUklzYkJmdEZ6dTRWRVVFOFVp?= =?utf-8?B?cG5kcEJiQjI5L2tGTTErTGt4MXlRM2ptNGUyMkQ5d1FnczBDZkRMUVQzSXMv?= =?utf-8?B?anRsdDNGT2hDcElpM0xkTjFxTERFczFjSk9YNllkcVJJbk13eUJDMnJZaVE3?= =?utf-8?B?ODYzdW9CS3kxc3J3NHFZVXkyeDRjaURLaXM3NXA2aHJxYXpSZ1paV0l0UUpX?= =?utf-8?B?d3R2T25VRjBObjVxTVNZSzczT2lQU245NDdlQ200b2t4QTNmNU9CcTljVHN2?= =?utf-8?B?T21aYllvMkxscVk2QlduaUZqV2FiSWdWN3lXT0JTNjYrSlFnazc3MkcwQTdo?= =?utf-8?B?UzlDVk8yTDRvb1dXNXI3L3oxTFhLTjdORTRLb25HcWJTaWZqRXZJTmY5cDFs?= =?utf-8?B?YkdIRUJBSkhNY1dlNUtMUkhCZi9BaDNpa29STVN6b29VMGhkOFAxUnZNcFg1?= =?utf-8?B?RFgzbk1BRUhTRElmc0FhV3hpVmt1MmtBWnA2ZGFpU1gvWjVTSW5PUS96MUpS?= =?utf-8?B?dWNpS2FxalhZVUZ4YWhsTHhnbnFOY0tRcWw3Q2VYbmt3TERrYklkcWhjeTI2?= =?utf-8?B?c0ViMFVsdy9XVTI0dE04ZUI0T1ozS3llVXV1c0hwbnU3MU9QcVQzODFPZnhI?= =?utf-8?B?MGlSSkdPM2lRUW51TFUydjE2dFBTOG80eFB3RGpldVNBbmNVNzd1aEpFMXJB?= =?utf-8?B?bVcvb0tMZXBJa2tSWDRWczR1V2U3eERmNUVZUlc4MUNMY2pqaWQ4Y0ZYMzVM?= =?utf-8?B?V2pad0lIcWhLVnhCb28vTDl3UXZqRU5HSllra1RzaUliMXBPU1ZrenlNQ0xZ?= =?utf-8?B?MnJZSnBXbWc3cGxaeUMya09VOVBsRFhkcFpYY0VEZC96dXBmNGorRTFSQnJv?= =?utf-8?B?QzVjSDVFTEhoeFRPM2RIdkVhMGNkdGlJOWdtOGNzZWI4NGpGeitaMjFJSlZD?= =?utf-8?B?OU9XMTE4UWFrQkUzelFwMUlGbnFBYXh0ekpGT3RvTDlQbks0VHhLY2dnemdz?= =?utf-8?B?dUlCY0x5SER6THBLWXdweU1CanBHdm5YN3ArN21QTGdzMVFVOGtWUEdWLzY3?= =?utf-8?B?RFg0YWl5UnZ2MDBkaXNJL1doWjlsY0pnamd1ZU05S25VUWdTZGNSdnF2SjNN?= =?utf-8?B?Z0VYVmFjWVFnN0x3SlpWYnAzZGhYOEFybDVLOTBQREZXWXNwOUtoMXJacTQw?= =?utf-8?B?RDZTSHBsQk1sYzNjUzd4WHgyNGVZRXpLLzAxeWU0WG42TXNoZ3B1aFlQR0V2?= =?utf-8?B?YlA5VjE0b3dRdjcxWWRtaTM5a1llOUxyUm1LU0xMTW5KSXFUMHI4dUFhSGN1?= =?utf-8?Q?L4o1O1CFxI5LB?= X-OriginatorOrg: zhaw.ch X-MS-Exchange-CrossTenant-Network-Message-Id: 24fd8b13-87d4-43a6-5df2-08d8dfc4638d X-MS-Exchange-CrossTenant-AuthSource: GVAP278MB0485.CHEP278.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Mar 2021 10:49:45.0733 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 5d1a9f9d-201f-4a10-b983-451cf65cbc1e X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 8VEvICYN7Gzgt01FJjzdr8W406+ZZUYjCVFn1nXqZP77bkLstzP9LDU4Ou0BS3WP X-MS-Exchange-Transport-CrossTenantHeadersStamped: GVAP278MB0168 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 46750 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Hi Mattias I can confirm that the calc that's in the current master branch (development version for 28.1) fixes my problem. You hinted that there were further problems too, but I have only checked that let* now seems to work as intended. Also, to be fair, I have checked that only for my own use case. That was speedy work, thank you very much! Now I'll have to decide whether to build emacs for Debian myself or whether to wait for Debian to adopt emacs >= 28.1. Cheers Stephan On 3/5/21 10:32 AM, Mattias EngdegÄrd wrote: > 5 mars 2021 kl. 08.57 skrev Stephan Neuhaus : > >> My Emacs installation is a mix of standard Debian Emacs and MELPA packages. I have no idea how to install a specific commit of calc, and I don't even know where to find the repo. Could you help me out? >> >> * Where do I find the repo? (Once I have that, I know how to check out a specific commit.) >> * What do I have to put into my .emacs to use the calc that's in the directory? > > Ah, you are using Emacs 26.1. The fix has been made in the development version of Emacs, that is to become version 28.1. Instead of trying to combine pieces from different versions it is probably better to build the latest version: > > git clone -b master git://git.sv.gnu.org/emacs.git > cd emacs > > and here you would ideally take a pause reading the build and installation instructions in the source tree, but most likely you would continue with: > > ./autogen.sh > ./configure > make > > assuming you have everything needed. You can then run the built emacs without installing (it's in the src/ directory) if you just want to test it. > > Maybe Debian has special provisions for doing this in a cleaner way but I'm no Debian specialist. > From debbugs-submit-bounces@debbugs.gnu.org Fri Mar 05 05:58:28 2021 Received: (at 46750-done) by debbugs.gnu.org; 5 Mar 2021 10:58:28 +0000 Received: from localhost ([127.0.0.1]:32973 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lI8A8-000363-JM for submit@debbugs.gnu.org; Fri, 05 Mar 2021 05:58:28 -0500 Received: from mail1447c50.megamailservers.eu ([91.136.14.47]:58096 helo=mail265c50.megamailservers.eu) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lI8A5-00035o-Fk for 46750-done@debbugs.gnu.org; Fri, 05 Mar 2021 05:58:26 -0500 X-Authenticated-User: mattiase@bredband.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=megamailservers.eu; s=maildub; t=1614941898; bh=GwGEuGknuWECeXhY4AnfsJErN9jUmNsK6gEcEMeJj5s=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From; b=e5IVJbfkVTxYv53SeZquHFx/Gb+6Pf8+AgTslbP4rp9FXXm9UCC7EP0r1HByWq0W9 1BnWIOB7KQjbXFXrvnJvdW25ibDcaj0KE6/RAXhb+6ZDwOmM13rKVAPXQMAdxKZOHk cF5t2/4YdWm1KziczlE5MoISR0L5b5Y+r36+MfAQ= Feedback-ID: mattiase@acm.or Received: from stanniol.lan (c-b952e353.032-75-73746f71.bbcust.telenor.se [83.227.82.185]) (authenticated bits=0) by mail265c50.megamailservers.eu (8.14.9/8.13.1) with ESMTP id 125AwFJY012001; Fri, 5 Mar 2021 10:58:17 +0000 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.17\)) Subject: Re: bug#46750: calc defmath let* behaviour surprising, inconsistent, or wrong From: =?utf-8?Q?Mattias_Engdeg=C3=A5rd?= In-Reply-To: <6a1c0f0a-e17d-cb8b-794d-26d57db113ec@zhaw.ch> Date: Fri, 5 Mar 2021 11:58:15 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <8E655864-6998-4D1E-9BB0-0768FADC0FD8@acm.org> References: <43B9DD71-1C8D-43CA-8753-5227BAE91302@acm.org> <253704f6-80c2-e689-ba4b-8c139fe14e23@zhaw.ch> <479B7572-1D85-4D56-B3FF-5DFE6E74BC18@acm.org> <6a1c0f0a-e17d-cb8b-794d-26d57db113ec@zhaw.ch> To: Stephan Neuhaus X-Mailer: Apple Mail (2.3445.104.17) X-CTCH-RefID: str=0001.0A742F24.60420ECA.003E, ss=1, re=0.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0 X-CTCH-VOD: Unknown X-CTCH-Spam: Unknown X-CTCH-Score: 0.000 X-CTCH-Rules: X-CTCH-Flags: 0 X-CTCH-ScoreCust: 0.000 X-CSC: 0 X-CHA: v=2.3 cv=adMfYigt c=1 sm=1 tr=0 a=von4qPfY+hyqc0zmWf0tYQ==:117 a=von4qPfY+hyqc0zmWf0tYQ==:17 a=kj9zAlcOel0A:10 a=M51BFTxLslgA:10 a=c2gV_MA0uegaum19ZUgA:9 a=CjuIK1q_8ugA:10 X-Origin-Country: SE X-Spam-Score: 1.3 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: 5 mars 2021 kl. 11.49 skrev Stephan Neuhaus : > I can confirm that the calc that's in the current master branch (development version for 28.1) fixes my problem. You hinted that there were further problems too, but I have only checked that let* no [...] Content analysis details: (1.3 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.3 KHOP_HELO_FCRDNS Relay HELO differs from its IP's reverse DNS X-Debbugs-Envelope-To: 46750-done Cc: 46750-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) 5 mars 2021 kl. 11.49 skrev Stephan Neuhaus : > I can confirm that the calc that's in the current master branch = (development version for 28.1) fixes my problem. You hinted that there = were further problems too, but I have only checked that let* now seems = to work as intended. Also, to be fair, I have checked that only for my = own use case. Thanks for checking! Marking the bug as closed then. > Now I'll have to decide whether to build emacs for Debian myself or = whether to wait for Debian to adopt emacs >=3D 28.1. Well, Emacs release cycles are not known for their brisk pacing; you = would have to wait for quite a while. (And obviously, we don't mind more = people testing the development versions!) From unknown Mon Sep 08 11:08:19 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 02 Apr 2021 11:24:06 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator