From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Noam Postavsky Newsgroups: gmane.emacs.devel Subject: Re: Anaphoric macros: increase visibility Date: Fri, 13 Jan 2017 22:03:31 -0500 Message-ID: References: <87wpdyivvf.fsf@web.de> <87k29y2x1g.fsf@pointsman.de> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: blaine.gmane.org 1484363031 11317 195.159.176.226 (14 Jan 2017 03:03:51 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 14 Jan 2017 03:03:51 +0000 (UTC) Cc: Emacs developers To: Rolf Ade Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jan 14 04:03:46 2017 Return-path: Envelope-to: ged-emacs-devel@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 1cSEcz-0001lc-O0 for ged-emacs-devel@m.gmane.org; Sat, 14 Jan 2017 04:03:37 +0100 Original-Received: from localhost ([::1]:46208 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cSEd4-0000OD-BP for ged-emacs-devel@m.gmane.org; Fri, 13 Jan 2017 22:03:42 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43149) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cSEcw-0000O8-0d for emacs-devel@gnu.org; Fri, 13 Jan 2017 22:03:34 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cSEcv-0005ga-90 for emacs-devel@gnu.org; Fri, 13 Jan 2017 22:03:34 -0500 Original-Received: from mail-oi0-x22b.google.com ([2607:f8b0:4003:c06::22b]:32899) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cSEcv-0005gW-33 for emacs-devel@gnu.org; Fri, 13 Jan 2017 22:03:33 -0500 Original-Received: by mail-oi0-x22b.google.com with SMTP id w204so74907940oiw.0 for ; Fri, 13 Jan 2017 19:03:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=YBBCUoZqlwhsfzz+7ml3evSeGvCmSQk5e6ju1mbEEnI=; b=IvEcNgpFkmTCanhLuJ7TusLJMuZIDzCbK9Qq3PzoKYEuoJwLZy4xqsv3tczMCv0avj j4Rmca4UJEE8ETjS4dmeqcn7ceJb0BHZ44dIXBsCXBVgihnS8MedPHRLHuyu1nWG6NCI PDWjeaDJLlzSZj0Ovk/pyR/KHNW5s+ISY0duMSVRj/wCMJcUJK/CgTIlWGFz0228hFfr lyaxShLKyxvbCcL+7pnSC1wc0KRydTume/h1RPJ3UZ9hspIR3qB/aUvUUhRwYb7diqdP d8y7bvn/DLLAQx/z7vcCrJtt8K2ciG+ibWM8FPZbJfkmw9KCoBJhtDgsWt8U1UEhDSiT u/3g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=YBBCUoZqlwhsfzz+7ml3evSeGvCmSQk5e6ju1mbEEnI=; b=Fk72L05AOrXh/h6zE3/rrLu5gSWOYl0LVN1nR0/UaKAuVfQkCJDtk2WWge1z91as6l i9UiK2TWEItpCPSs8lr3ilrK55VR1jCqwgN8N4OehsSJkwfdeGqHZkcem4kR1jtwX8ax AEj+45etpr8O23roDDJSKaciiulW4j8udtKZeEAfN9ZJt5yU/vrKOTUywUqSum0UchvM 97rjIsDnoXx++Tw8X4pN37uX7XIJIVK4UxoUR1ccqSk2FGR3lKgKfjy4mT2mNUuzNtqD z7mvRWgSFpSy34eO9TiksIZVFZn1MS1WY0d9Qjufudlt6XC7rtKBulEDcyzispeGbtit Pb+A== X-Gm-Message-State: AIkVDXKuPIOnEcAREYj4iEFpwqkUmOrMBkdwF7D9XUWoP9MVW5FnchADPl3TOS+aEUKu6iyzUvYrz7wWIJ06pA== X-Received: by 10.202.172.136 with SMTP id v130mr11547894oie.167.1484363011805; Fri, 13 Jan 2017 19:03:31 -0800 (PST) Original-Received: by 10.157.21.117 with HTTP; Fri, 13 Jan 2017 19:03:31 -0800 (PST) In-Reply-To: <87k29y2x1g.fsf@pointsman.de> X-Google-Sender-Auth: wHG3Dtstc3eB21qjIA3Jjsgd-EI X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:4003:c06::22b X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:211259 Archived-At: On Fri, Jan 13, 2017 at 9:30 PM, Rolf Ade wrote: > > Michael Heerdegen writes: >> We also already have `if-let' and `when-let' in "subr-x". They are like >> `aif' and `awhen' but you specify "it" explicitly. > > Since you mention them ... I probably miss something obvious but from > looking at the documentation of if-let > > (if-let BINDINGS THEN &rest ELSE) > > and of when-let > > (when-let BINDINGS &rest BODY) > > I don't get, why there is a need for when-let? > Just like there is both `if' and `when', it's useful to have both `if-let' and `when-let'.