From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: [SUSPECTED SPAM] Re: `thunk-let'? Date: Wed, 08 Nov 2017 20:04:23 +0200 Message-ID: <83zi7wr6jc.fsf@gnu.org> References: <87infp9z6j.fsf@web.de> <87zi90eehg.fsf@web.de> <87o9ocd6s4.fsf@web.de> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1510164474 9160 195.159.176.226 (8 Nov 2017 18:07:54 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 8 Nov 2017 18:07:54 +0000 (UTC) Cc: nicolas@petton.fr, monnier@iro.umontreal.ca, emacs-devel@gnu.org To: Michael Heerdegen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Nov 08 19:07: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 1eCUlM-000219-3Y for ged-emacs-devel@m.gmane.org; Wed, 08 Nov 2017 19:07:44 +0100 Original-Received: from localhost ([::1]:33208 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eCUlT-0003K9-Bv for ged-emacs-devel@m.gmane.org; Wed, 08 Nov 2017 13:07:51 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49073) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eCUis-0001XK-L2 for emacs-devel@gnu.org; Wed, 08 Nov 2017 13:06:12 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eCUi7-0007cn-2D for emacs-devel@gnu.org; Wed, 08 Nov 2017 13:05:10 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:49421) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eCUi6-0007bp-BR; Wed, 08 Nov 2017 13:04:22 -0500 Original-Received: from [176.228.60.248] (port=2152 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1eCUi4-0002Qs-Gq; Wed, 08 Nov 2017 13:04:22 -0500 In-reply-to: <87o9ocd6s4.fsf@web.de> (message from Michael Heerdegen on Wed, 08 Nov 2017 18:22:51 +0100) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e 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:219986 Archived-At: > From: Michael Heerdegen > Date: Wed, 08 Nov 2017 18:22:51 +0100 > Cc: Nicolas Petton , Emacs Development Thanks. I have a few comments to the documentation parts: > +--- > +** The new macros 'lazy-let' and 'lazy-let*' are analogue to `let' and > +`let*' but create bindings that are evaluated lazily. Given that "lazy evaluation" seems not to be described anywhere in the ELisp manual, I think we cannot get away with "---" here, and will have to add at least something to the manual. > +(defmacro lazy-let (bindings &rest body) > + "Like `let' but make delayed bindings. And this seems to use a different term for this. > +This is like `let' but any binding expression is not evaluated > +before the variable is used for the first time. The "like let" part is a repetition of what was already said in the first sentence, so there's no need to repeat it.