From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Michael Heerdegen Newsgroups: gmane.emacs.bugs Subject: bug#60758: 29.0.60; while-let uses if-let* convention in contradiction to the docstring Date: Sat, 14 Jan 2023 17:11:34 +0100 Message-ID: <87o7r1p03t.fsf@web.de> References: <87k01r7e3u.fsf@daniel-mendler.de> <87zganl168.fsf@melete.silentflame.com> <87y1q5rv48.fsf@web.de> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="36993"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Sean Whitton , 60758@debbugs.gnu.org, 60758-done@debbugs.gnu.org To: Daniel Mendler Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jan 14 17:13:25 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pGj9n-0009Tt-Mc for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 14 Jan 2023 17:13:23 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pGj9U-0007oX-Dm; Sat, 14 Jan 2023 11:13:04 -0500 Original-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 1pGj9S-0007o9-W5 for bug-gnu-emacs@gnu.org; Sat, 14 Jan 2023 11:13:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pGj9S-0005sX-OY for bug-gnu-emacs@gnu.org; Sat, 14 Jan 2023 11:13:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pGj9S-00020Y-JN for bug-gnu-emacs@gnu.org; Sat, 14 Jan 2023 11:13:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Michael Heerdegen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 14 Jan 2023 16:13:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 60758 X-GNU-PR-Package: emacs Original-Received: via spool by 60758-done@debbugs.gnu.org id=D60758.16737127257627 (code D ref 60758); Sat, 14 Jan 2023 16:13:02 +0000 Original-Received: (at 60758-done) by debbugs.gnu.org; 14 Jan 2023 16:12:05 +0000 Original-Received: from localhost ([127.0.0.1]:55391 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pGj8W-0001yr-Jw for submit@debbugs.gnu.org; Sat, 14 Jan 2023 11:12:04 -0500 Original-Received: from mout.web.de ([212.227.15.14]:34205) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pGj8U-0001xl-97; Sat, 14 Jan 2023 11:12:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=s29768273; t=1673712695; bh=8VPAyT/yIkyxQoCvHqapNqZK9LXcrNsPUtHABIWl/SA=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date; b=iyKAPm12mDGwYAl67zZFVAmmTgxqzjDZPG9usQNGV89gsMTNCBtMirLciHlc4uDzn fS2HTh+YP2NzjygVjZrgx9PqNfoDPhYCQhQKjMgsdRXNqQUpPrAVrua0I1jyciSLWK WiXWm/IFX0648SD3vwG0OXZxi38M71vbFQBkVNKc1fRGnICLRaeCgWN+K+DrIcbrIP miSUFvJ1dpKRHJQyElD7j7nhJlW4sOzt3G0DMuZtZfAWS9ygi7XH+/bMs1CMVtNfWC WMNcqGbJoCiz/529Q3+rfK/vlhF6Qs2U7S+9HdE+5agQlXlW4XPLWc8hS5yqLcLnIE 6LqjvLXeltAvA== X-UI-Sender-Class: 814a7b36-bfc1-4dae-8640-3722d8ec6cd6 Original-Received: from drachen.dragon ([84.59.210.57]) by smtp.web.de (mrweb006 [213.165.67.108]) with ESMTPSA (Nemesis) id 1Mrft2-1ovhhr207I-00nh9x; Sat, 14 Jan 2023 17:11:35 +0100 In-Reply-To: (Daniel Mendler's message of "Sat, 14 Jan 2023 16:35:28 +0100") X-Provags-ID: V03:K1:HB3Cfr5ycJck9U/rp0iPoTsZ0u7AJlMQCOz9OBZMVIqfzPM1jX/ soM8Ma7YwAWBVHRCvjJn0puKYt0GZBUQqdw3Zfk7a9ZQgiirXQ1I5zacGjlJeiOtxgvWmyu 4WciJpS/RhVhMBojetO/Zm2D3EiMpaMNZzmzUSR6qN03CybEfQLkNy10ub00jPoNWHyhv48 VsxLTcF8MNUKmcSKW8fbA== UI-OutboundReport: notjunk:1;M01:P0:B66lGBuPLVg=;r3B7AV5Hi4pSR25iCDG6z5WEGBo 83E9blK7n3cdB3a00Pp8Myq2EAyZ+FtaSLpAf921Wa+2ViPKt4YKWE5XoVjiJjE3+DIv0ahdd G5zHw44ZsCdLwkVGx60LD737QYi5EVU4GvTemAwMQ3uvsaEBuUf7RKR343HkDcKHPLHh6sbjG rubl8ePB3qEiowMlRB0TusjBepuALbYaq9OmuHqBWWCkZyTDycychnPFUB9LmGJ6lM2/GnUtz jlVhux7cbMxTLZri9m9ca+zliuVPbKgzb8X2DXp+Wr+VyqFKWiwY/U+SXsP5T0wwGO5N6PTpT Ef7aJ/4mceF1o77SxNyX9+D6CEvAPXf6Bj2+aOJAvuFd9inZkAn466qz1gMtnPj/lbSThbt/l NjUHMCP6fOV0UIPMWZ/qN+zsSrUsT61cEAuTdSgGJuBHEqLJTJyNNUbV/pSMYH1wDkIKV1VWP Lhur/L1ZdH6Vga4gsXIzB4logbDPTT/sK9qfBoVrBBICO17FWxPbBuIBJglrlLQYDyiWi7m3P NHu8nlC13W6MWiFtKcl4sAxrd1uRKGLqaksJcOZZmmhdIkGeCR1cD99Kc/iY9V8b+EF2lSD6k 1g4kAwDMpRBpS4kF896ooFASr7iCTQ3M9ZPIiglMPTCoH4qCyPJ0MpaPUPt4EETL6DyPdHDAG S/PMetlJR0Asb+UvRuWohIZC/85EbnAVlKQFRGMj/l9SVhzhx+pjkAnad1wHWLrL4xSBC17Mu dQdfaHcrvTONJL8OGSy0LWaAiznV9UshwoW4Kbxd0wS3UbWet4vVKn5QSiNzVpZcJYAGhnwp X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:253365 Archived-At: Daniel Mendler writes: > But then it may make sense to deprecate `if-let` and `when-let` > altogether in favor of `if-let*` and `when-let*`? I don't recall why that hasn't been done. There was a very long discussion about it. Probably the answer was "the syntax had been there for too long and now too many packages use it and we don't want to break them", I don't recall. Maybe you can find these discussions. There had not been an agreement at least. > I don't think there is anything wrong with the syntax "anomaly". I use > the syntax with only a single binding happily in many of my packages. The problem is the ambiguity that these syntax variations: | An element can additionally be of the form (VALUEFORM), which is | evaluated and checked for nil; i.e. SYMBOL can be omitted if only the | test result is of interest. It can also be of the form SYMBOL, then the | binding of SYMBOL is checked for nil. create. These interpretations had been added later, but they collide with the special handling of the (SYMBOL SOMETHING) syntax that the original `if-let' supported. Michael.