unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Michael Heerdegen <michael_heerdegen@web.de>
To: Noam Postavsky <npostavs@gmail.com>
Cc: 33550@debbugs.gnu.org, Alex Branham <alex.branham@gmail.com>
Subject: bug#33550: [PATCH] mention let* in if-let
Date: Thu, 18 Apr 2019 05:44:54 +0200	[thread overview]
Message-ID: <875zrcvux5.fsf@web.de> (raw)
In-Reply-To: <877ebsw44r.fsf@gmail.com> (Noam Postavsky's message of "Wed, 17 Apr 2019 20:25:56 -0400")

Noam Postavsky <npostavs@gmail.com> writes:

> I think it's a bit ambiguous, it could refer to the fact that each
> VALUEFORM is evaluted sequentially.  It's not entirely obvious that
> previous SYMBOL bindings are available to follow VALUEFORMs, as in let*
> rather than let

Yes, true.

> (which would be the more obvious choice for if-let as opposed to
> if-let*).

if-let mainly exists for backward compatibility (to support the "SPEC of
the form (SYMBOL SOMETHING)" case).  I don't recall why we didn't
obsolete it when we added if-let*, but AFAIR the special case had been
quite widely used.  Anyway, I think we should not change it.

Michael.





  reply	other threads:[~2019-04-18  3:44 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-11-29 19:18 bug#33550: [PATCH] mention let* in if-let Alex Branham
2018-11-29 19:43 ` Eli Zaretskii
2018-11-29 19:46   ` Alex Branham
2019-04-18  0:25   ` Noam Postavsky
2019-04-18  3:44     ` Michael Heerdegen [this message]
2019-04-18  3:47       ` Michael Heerdegen
2019-06-23 20:56 ` Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=875zrcvux5.fsf@web.de \
    --to=michael_heerdegen@web.de \
    --cc=33550@debbugs.gnu.org \
    --cc=alex.branham@gmail.com \
    --cc=npostavs@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).