From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Mark Oteiza Newsgroups: gmane.emacs.bugs Subject: bug#28254: 26.0.50; SRFI-2 and-let* Date: Sun, 3 Sep 2017 20:48:48 -0400 Message-ID: <20170904004848.GA19964@holos.localdomain> References: <87a82kdb4e.fsf@holos> <87inh36sap.fsf@users.sourceforge.net> <20170902021043.GA7509@holos.localdomain> <878thx7qcc.fsf@users.sourceforge.net> <20170902041424.GA21189@holos.localdomain> <87tw0lzn7w.fsf@drachen> <20170902133604.GA27251@holos.localdomain> <87vakzwu5e.fsf@drachen> <20170903223959.GA15782@holos.localdomain> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed X-Trace: blaine.gmane.org 1504486185 28439 195.159.176.226 (4 Sep 2017 00:49:45 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 4 Sep 2017 00:49:45 +0000 (UTC) User-Agent: Mutt/1.9.0 (2017-09-02) Cc: 28254@debbugs.gnu.org, Noam Postavsky To: Michael Heerdegen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Sep 04 02:49:31 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dofZg-0005qx-Pu for geb-bug-gnu-emacs@m.gmane.org; Mon, 04 Sep 2017 02:49:12 +0200 Original-Received: from localhost ([::1]:44048 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dofZo-0005mw-15 for geb-bug-gnu-emacs@m.gmane.org; Sun, 03 Sep 2017 20:49:20 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59558) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dofZb-0005lq-A4 for bug-gnu-emacs@gnu.org; Sun, 03 Sep 2017 20:49:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dofZW-0001Lp-SZ for bug-gnu-emacs@gnu.org; Sun, 03 Sep 2017 20:49:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:38508) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dofZW-0001Le-MD for bug-gnu-emacs@gnu.org; Sun, 03 Sep 2017 20:49:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dofZW-00048n-Dv for bug-gnu-emacs@gnu.org; Sun, 03 Sep 2017 20:49:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Mark Oteiza Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 04 Sep 2017 00:49:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 28254 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 28254-submit@debbugs.gnu.org id=B28254.150448613715906 (code B ref 28254); Mon, 04 Sep 2017 00:49:02 +0000 Original-Received: (at 28254) by debbugs.gnu.org; 4 Sep 2017 00:48:57 +0000 Original-Received: from localhost ([127.0.0.1]:47189 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dofZR-00048U-Ld for submit@debbugs.gnu.org; Sun, 03 Sep 2017 20:48:57 -0400 Original-Received: from mail-qt0-f172.google.com ([209.85.216.172]:38624) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dofZQ-00048I-HO for 28254@debbugs.gnu.org; Sun, 03 Sep 2017 20:48:56 -0400 Original-Received: by mail-qt0-f172.google.com with SMTP id w42so17716952qtg.5 for <28254@debbugs.gnu.org>; Sun, 03 Sep 2017 17:48:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=udel-edu.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=/qaMH0Ivin7O7nBHd+5qgEPfwHPLRrNEygRo0wBbd64=; b=IPSwbuNMlZhnJRZnCe+zqlwvDKDD1P6u01cuO3X4XO2hzsSkbLGtXsBV4lSeoKs0yS LZJIsbr/E67r19OiA1vtjZR7udZlQWGEdCl1DT2z928bZTZuBGMkO7lRBqtowIpUEuhC gFxjUBRdGRCr72TC2vvrmzVcpf7O/+SZsBf+0QGbyT4oPLwhUE1Ljw52QQ0xR9KFM42K e7bsc+Qb/Gh6x4uPdX/FuY9w7C9R5YcrHwjnEJm9e857RbDXKJ0u23wWzR2YIYmwYxLC +51zNunoKkKvxetgeu5YKFr6mkom+HWxcYdhkiQcjPLQimIoUDL+gdIc8zQkD+aP3BaL vKEw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=/qaMH0Ivin7O7nBHd+5qgEPfwHPLRrNEygRo0wBbd64=; b=fIjv52zlwe8l3UhHtsP11OnDt5UXVtUFE1CXqms0ub9mTaSpWj+eGK6ga4fXjqwcQ/ iz789H6UiVixV8FDNnCNcOsYkS59fSr89/ZetfA/EENNXlW73QRhJjwinBYJR7f2F5xD s6Tu3qE8CRANkzFX9fWBcVF3QQpCQCxXD3qdool1QjRZ2ARtfcgGQbkLySRkB9y8TZlw nfo3FdQBAD7SoFpv3qMteZXywcYnu2NUWh5JKrWecxV69Pyrz8a0ca9IRRh7zPE30QyZ G29H0jy8LNGQWR9bALf4e2ZW3nWchjvgBJ7Vnd/3guRhG592188HBeiG7sLNIW7xfVm7 ibQw== X-Gm-Message-State: AHPjjUjKeJy3lZS+UlSb393RKhGT+aI8LaoUqBZk2NB2rvvdM9OTDieY pivJeXQFcoy/6uXPeE1Seg== X-Google-Smtp-Source: ADKCNb7iA/rqyD1g3cS2yR0ADTSvYuQowit7YxtOQjRIPsx8BAmia9YMXrfFitvIs6tbHSPhK28saQ== X-Received: by 10.237.37.112 with SMTP id w45mr6724296qtc.254.1504486130564; Sun, 03 Sep 2017 17:48:50 -0700 (PDT) Original-Received: from holos.localdomain (pool-173-64-88-95.bltmmd.fios.verizon.net. [173.64.88.95]) by smtp.gmail.com with ESMTPSA id 32sm4085736qth.81.2017.09.03.17.48.49 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 03 Sep 2017 17:48:49 -0700 (PDT) Original-Received: by holos.localdomain (Postfix, from userid 1000) id D405266207; Sun, 3 Sep 2017 20:48:48 -0400 (EDT) Content-Disposition: inline In-Reply-To: <20170903223959.GA15782@holos.localdomain> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:136562 Archived-At: On 03/09/17 at 06:39pm, Mark Oteiza wrote: >On 03/09/17 at 07:48pm, Michael Heerdegen wrote: >>Noam Postavsky writes: >>Even if an `if-let' form is the result of a macro expansion, the S = (S >>nil) case isn't of any value. So I see no reasons to not drop support >>for it. > >If I'm understanding correctly, it is being agreed that > > (let ((x 1)) (and-let* (x) x)) ;; => 1 > >because the macro expands to > > (let* ((x (and t x))) > (if x x)) > >The following patch achieves this, though it breaks some existing subr-x >tests which I haven't yet looked at carefully. The tests fail precisely because of this change--so I'm not bothered aside from having to adjust the test to account for it.