GNU bug report logs - #12788
cl-loop-handler, cl-loop-for-handler

Previous Next

Package: emacs;

Reported by: Glenn Morris <rgm <at> gnu.org>

Date: Sat, 3 Nov 2012 00:07:01 UTC

Severity: normal

Found in version 24.2.50

Fixed in version 24.3

Done: Glenn Morris <rgm <at> gnu.org>

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 12788 in the body.
You can then email your comments to 12788 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#12788; Package emacs. (Sat, 03 Nov 2012 00:07:02 GMT) Full text and rfc822 format available.

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

From: Glenn Morris <rgm <at> gnu.org>
To: submit <at> debbugs.gnu.org
Subject: cl-loop-handler, cl-loop-for-handler
Date: Fri, 02 Nov 2012 20:03:45 -0400
Package: emacs
Version: 24.2.50

(The inverse of http://debbugs.gnu.org/12773 )

It seems to me that cl-loop-handler, cl-loop-for-handler should not have
been renamed to cl--loop-handler and cl--loop-for-handler.
They are advertised methods to customize the `cl-loop', rather than
internal details..

From cl.texi in 24.2:

    4.7.6 Other Clauses:
    [...]
       While there is no high-level way to add user extensions to
    `loop', this package does offer two properties called
    `cl-loop-handler' and `cl-loop-for-handler' which are functions to
    be called when a given symbol is encountered as a top-level loop
    clause or `for' clause, respectively. Consult the source code in
    file `cl-macs.el' for details.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#12788; Package emacs. (Sat, 03 Nov 2012 00:43:02 GMT) Full text and rfc822 format available.

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

From: Glenn Morris <rgm <at> gnu.org>
To: 12788 <at> debbugs.gnu.org
Subject: Re: bug#12788: cl-loop-handler, cl-loop-for-handler
Date: Fri, 02 Nov 2012 20:39:06 -0400
PS I don't know what (if anything) should happen in this case, but I
also want to point out that cl-gensym-counter and cl-random-state are
documented in cl.texi, but have been renamed with cl-- prefixes.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#12788; Package emacs. (Sat, 03 Nov 2012 02:33:01 GMT) Full text and rfc822 format available.

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

From: Stefan Monnier <monnier <at> IRO.UMontreal.CA>
To: Glenn Morris <rgm <at> gnu.org>
Cc: 12788 <at> debbugs.gnu.org
Subject: Re: bug#12788: cl-loop-handler, cl-loop-for-handler
Date: Fri, 02 Nov 2012 22:29:29 -0400
> It seems to me that cl-loop-handler, cl-loop-for-handler should not have
> been renamed to cl--loop-handler and cl--loop-for-handler.
> They are advertised methods to customize the `cl-loop', rather than
> internal details..

Oops, looks like you're right.  Could you rename them back in emacs-24?

> PS I don't know what (if anything) should happen in this case, but I
> also want to point out that cl-gensym-counter and cl-random-state are
> documented in cl.texi, but have been renamed with cl-- prefixes.

I think we should de-document them.  We can add compatibility aliases
for them to cl.el if needed.


        Stefan




bug marked as fixed in version 24.3, send any further explanations to 12788 <at> debbugs.gnu.org and Glenn Morris <rgm <at> gnu.org> Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Sat, 03 Nov 2012 18:59:01 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. (Sun, 02 Dec 2012 12:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 12 years and 164 days ago.

Previous Next


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