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#31840: and-let* expands to if instead of when Date: Mon, 18 Jun 2018 21:30:59 -0400 Message-ID: <20180619013059.34cg7gbsqjkqiexw@logos.localdomain> References: <87bmcc4x9w.fsf@bernoul.li> <87sh5olmfu.fsf@web.de> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1529371815 20488 195.159.176.226 (19 Jun 2018 01:30:15 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 19 Jun 2018 01:30:15 +0000 (UTC) User-Agent: NeoMutt/20180512 Cc: Jonas Bernoulli , 31840@debbugs.gnu.org To: Michael Heerdegen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jun 19 03:30:10 2018 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 1fV5TF-0005CK-29 for geb-bug-gnu-emacs@m.gmane.org; Tue, 19 Jun 2018 03:30:09 +0200 Original-Received: from localhost ([::1]:38325 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fV5VM-0006nV-Do for geb-bug-gnu-emacs@m.gmane.org; Mon, 18 Jun 2018 21:32:20 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42548) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fV5V8-0006lr-7n for bug-gnu-emacs@gnu.org; Mon, 18 Jun 2018 21:32:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fV5V5-0002Ew-4r for bug-gnu-emacs@gnu.org; Mon, 18 Jun 2018 21:32:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:47694) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fV5V4-0002Eq-Ua for bug-gnu-emacs@gnu.org; Mon, 18 Jun 2018 21:32:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fV5V4-0006m6-P9 for bug-gnu-emacs@gnu.org; Mon, 18 Jun 2018 21:32: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: Tue, 19 Jun 2018 01:32:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 31840 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 31840-submit@debbugs.gnu.org id=B31840.152937186823071 (code B ref 31840); Tue, 19 Jun 2018 01:32:02 +0000 Original-Received: (at 31840) by debbugs.gnu.org; 19 Jun 2018 01:31:08 +0000 Original-Received: from localhost ([127.0.0.1]:55587 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fV5UC-0005zs-8r for submit@debbugs.gnu.org; Mon, 18 Jun 2018 21:31:08 -0400 Original-Received: from mail-qk0-f176.google.com ([209.85.220.176]:35122) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fV5UA-0005sz-NI for 31840@debbugs.gnu.org; Mon, 18 Jun 2018 21:31:07 -0400 Original-Received: by mail-qk0-f176.google.com with SMTP id d130-v6so10544290qkc.2 for <31840@debbugs.gnu.org>; Mon, 18 Jun 2018 18:31:06 -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:content-transfer-encoding:in-reply-to :user-agent; bh=o0LYr7Uj0NBXu0PgehFWZp0UiE1BD5rONtMKweAG1Uo=; b=uvU4aXVLxVPh9Q0fwWNIfzienPAPEWIOvnVb54x8tuGJPd4cJdc9kP9AIuikjoTPFV CghfElAkMpgtjIJZ1xTACt0Tz8I61xSGFhx7rH8wE4rGcqogqWF229scbbQk6OTJci77 /wiX+4U4tgBmqcb1sDCh9Su7N/NT0KbOaxh8yiL67fI9QB8rHUoxoeCgyBqKB4zEL0Fm T6h6S+t9+yopomggHZIXMFLQezt7cFQLyR86HHUZBv9ErkPrvaR94wQzU2DETE+Z/Uzf d9EvDUTlPJwH2SIwLl6VsWkgtbrqZlOauABTk1dinFWxK79hcQx9qiqYjp4YzJ8WzOJ1 NQHA== 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:content-transfer-encoding :in-reply-to:user-agent; bh=o0LYr7Uj0NBXu0PgehFWZp0UiE1BD5rONtMKweAG1Uo=; b=PRCa6XKkCX3dZ1KobDdKeBQQsbI1KYxRFF9WcA/y95Vu/g+XLh2/34R6LP191J/2+4 Zy8ZFKbVRkPIe/PkuBaWTFbGFrIfwEsU6zcJYbq4nvyOqSPgfbHYo4A9m8mRBLnsKYty FFwNIo2StERN22D6z5RTZEfrJFuh9ifZowFGfcQ3B7B6sopXOwZAeXPeHSY2n6LKPWT+ ecAJDs2Br2SrR0WLN7Z6uBd5YE2jYT6g/B/ssk35NuJESy9M1JKEL4YYGyjpgFBtP1oN ENahNT44FxdY8V+P5pPck6lljRuEBsJHnPF7dvhBJAf2uRiEKGeFxxR2BId/KdBUh3SC UrTQ== X-Gm-Message-State: APt69E3pLFG5nn50ULucM5y15D3LNKqz1qmI7oVpqTM5vvuriA+suoO+ FSwwWThdFKcwFT9gsxz4xRaHDw== X-Google-Smtp-Source: ADUXVKLSAULQVy9R1wVdQd/tGJ3JFDOLKiYHCfAWVLxY6/zXJtFNBDBs5Tg9jUWMh92MSNuqJCLJVQ== X-Received: by 2002:a37:295:: with SMTP id v21-v6mr11809960qkg.437.1529371861182; Mon, 18 Jun 2018 18:31:01 -0700 (PDT) Original-Received: from logos.localdomain (pool-96-234-152-91.bltmmd.fios.verizon.net. [96.234.152.91]) by smtp.gmail.com with ESMTPSA id h126-v6sm10565688qke.50.2018.06.18.18.30.59 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 18 Jun 2018 18:31:00 -0700 (PDT) Content-Disposition: inline In-Reply-To: <87sh5olmfu.fsf@web.de> 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:147620 Archived-At: On 15/06/18 at 06:10am, Michael Heerdegen wrote: > Jonas Bernoulli writes: > > > (and-let* ((a 'a)) > > (body-1) > > (body-n)) > > > > expands to > > > > (let* ((a (and t 'a))) > > (if a > > (body-1) > > (body-n))) > > > > but according to its doc-string ("Like `when-let*'...") > > it is supposed to expand to > > > > (let* ((a (and t 'a))) > > (if a > > (progn > > (body-1) > > (body-n)))) > > Good catch. > > Looks like a typo - the `if' should just be a `when'. Mark, can you > have a look? Oh my… I agree, changed in 5b9cc150