GNU bug report logs - #322
off-by-one in doc/misc/cl.texi

Previous Next

Package: emacs;

Reported by: "Felix -" <felix.1 <at> canids.net>

Date: Tue, 27 May 2008 09:35:03 UTC

Severity: normal

Done: Stefan Monnier <monnier <at> iro.umontreal.ca>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (Emacs bug Tracking System)
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Subject: bug#322: marked as done (off-by-one in doc/misc/cl.texi)
[Message part 1 (text/plain, inline)]
Your message dated Thu, 29 May 2008 23:02:35 -0400
with message-id <jwvwslc7avo.fsf-monnier+emacsbugreports <at> gnu.org>
and subject line Re: bug#322: off-by-one in doc/misc/cl.texi
has caused the Emacs bug report #322,
regarding off-by-one in doc/misc/cl.texi
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact don <at> donarmstrong.com
immediately.)


-- 
322: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=322
Emacs Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: "Felix -" <felix.1 <at> canids.net>
To: bug-gnu-emacs <at> gnu.org
Subject: off-by-one in doc/misc/cl.texi
Date: Tue, 27 May 2008 02:28:51 -0700
node "Iteration Clauses" says

@example
(loop repeat n do ...)
(loop for temp to n do ...)
@end example
@noindent
are identical except that the second one forces you to choose
a name for a variable you aren't actually going to use.

except they aren't identical.
the repeat loop runs n times, the for loop runs n+1 times.



[Message part 3 (message/rfc822, inline)]
From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: 322-done <at> debbugs.gnu.org
Subject: Re: bug#322: off-by-one in doc/misc/cl.texi
Date: Thu, 29 May 2008 23:02:35 -0400
> except they aren't identical.
> the repeat loop runs n times, the for loop runs n+1 times.

Thanks, I've fixed the examples to be identical,


        Stefan


This bug report was last modified 16 years and 362 days ago.

Previous Next


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