GNU bug report logs - #19515
24.4; Doc for cl-loop always clause

Previous Next

Package: emacs;

Reported by: Johan Claesson <johanclaesson <at> bredband.net>

Date: Mon, 5 Jan 2015 12:37:02 UTC

Severity: minor

Tags: fixed

Found in version 24.4

Fixed in version 25.2

Done: npostavs <at> users.sourceforge.net

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 19515 in the body.
You can then email your comments to 19515 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#19515; Package emacs. (Mon, 05 Jan 2015 12:37:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Johan Claesson <johanclaesson <at> bredband.net>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Mon, 05 Jan 2015 12:37:02 GMT) Full text and rfc822 format available.

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

From: Johan Claesson <johanclaesson <at> bredband.net>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.4; Doc for cl-loop always clause
Date: Mon, 05 Jan 2015 13:35:35 +0100

Hi,

The info doc for the cl-loop clause "always CONDITION" have the
following example: 

(if (cl-loop for size in size-list always (> size 10))
    (some-big-sizes)
  (no-big-sizes))

I think the names of the subroutines some-big-sizes and no-big-sizes are
misleading.  It should be something like:

(if (cl-loop for size in size-list always (> size 10))
    (only-big-sizes)
  (some-small-sizes))

The example starts on line 2227 in cl.texi.

Regards,

/Johan




In GNU Emacs 24.4.1 (x86_64-unknown-linux-gnu, X toolkit)
 of 2014-10-26 on goblin
Windowing system distributor `The X.Org Foundation', version 11.0.11501000
System Description:	Ubuntu 14.04.1 LTS





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#19515; Package emacs. (Sun, 26 Mar 2017 13:26:02 GMT) Full text and rfc822 format available.

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

From: npostavs <at> users.sourceforge.net
To: Johan Claesson <johanclaesson <at> bredband.net>
Cc: 19515 <at> debbugs.gnu.org
Subject: Re: bug#19515: 24.4; Doc for cl-loop always clause
Date: Sun, 26 Mar 2017 09:27:04 -0400
tags 19515 fixed
close 19515 25.2
quit

Johan Claesson <johanclaesson <at> bredband.net> writes:

>
> I think the names of the subroutines some-big-sizes and no-big-sizes are
> misleading.  It should be something like:
>
> (if (cl-loop for size in size-list always (> size 10))
>     (only-big-sizes)
>   (some-small-sizes))

Yup, pushed to emacs-25 [1: afe8849bac].

1: 2017-03-26 09:14:15 -0400 afe8849bac1ec228680bcb590da6313800067d34
  * doc/misc/cl.texi (Iteration Clauses): Clarify example (Bug#19515).




Added tag(s) fixed. Request was from npostavs <at> users.sourceforge.net to control <at> debbugs.gnu.org. (Sun, 26 Mar 2017 13:26:02 GMT) Full text and rfc822 format available.

bug marked as fixed in version 25.2, send any further explanations to 19515 <at> debbugs.gnu.org and Johan Claesson <johanclaesson <at> bredband.net> Request was from npostavs <at> users.sourceforge.net to control <at> debbugs.gnu.org. (Sun, 26 Mar 2017 13:26:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 24 Apr 2017 11:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 8 years and 116 days ago.

Previous Next


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