GNU bug report logs - #32803
26.1.50; cl-do: Add more literature in docstring

Previous Next

Package: emacs;

Reported by: Tino Calancha <tino.calancha <at> gmail.com>

Date: Sat, 22 Sep 2018 15:04:02 UTC

Severity: wishlist

Found in version 26.1.50

Done: Tino Calancha <tino.calancha <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #17 received at 32803 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Eric Abrahamsen <eric <at> ericabrahamsen.net>
Cc: 32803 <at> debbugs.gnu.org, tino.calancha <at> gmail.com
Subject: Re: bug#32803: 26.1.50; cl-do: Add more literature in docstring
Date: Mon, 24 Sep 2018 19:58:25 +0300
> From: Eric Abrahamsen <eric <at> ericabrahamsen.net>
> Cc: Eli Zaretskii <eliz <at> gnu.org>,  32803 <at> debbugs.gnu.org
> Date: Mon, 24 Sep 2018 09:43:49 -0700
> 
> > +Then, in each iteration of the loop, the END-TEST is evaluated; if true,
>          ^^^^^^^
> 
> >From the peanut gallery: Without looking at the code, I'm not sure if
> this means the test is evaluated *before* BODY (ie, BODY may never run),
> or *after* BODY (ie, BODY always runs at least once).

You've removed the answer to that question.  The full text says:

                                                          Then, in each
     iteration of the loop, the END-TEST is evaluated; if true, the loop
     is finished.  Otherwise, the body FORMS are evaluated, then each
     VAR is set to the associated STEP expression [...]

which clearly tells that the test is done _before_ the BODY is run.
Right?




This bug report was last modified 6 years and 238 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.