GNU bug report logs - #57907
29.0.50; Using keywords with cl-loop

Previous Next

Package: emacs;

Reported by: Philip Kaludercic <philipk <at> posteo.net>

Date: Sun, 18 Sep 2022 12:05:01 UTC

Severity: normal

Found in version 29.0.50

Done: Philip Kaludercic <philipk <at> posteo.net>

Bug is archived. No further changes may be made.

Full log


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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Philip Kaludercic <philipk <at> posteo.net>
Cc: 57907 <at> debbugs.gnu.org
Subject: Re: bug#57907: 29.0.50; Using keywords with cl-loop
Date: Mon, 19 Sep 2022 10:06:12 +0200
Philip Kaludercic <philipk <at> posteo.net> writes:

> I phrased that clumsily -- while it is a new language, it doesn't always
> have to feel like one.

And I'm saying that that feeling is a misleading feeling -- we're
leading the users down the garden path.

> E.g. the repeat-collect example I gave before.
> If you *can* use keywords, you *can* make some cl-loop invocations
> appear to be a macro or a function call with keyword-arguments.
>
> But of course this wouldn't be the case, as the macro should stay
> backwards compatible.

I understand that.  But it means that the stated rationale for this
change does the users a disservice.

So I'm against extending cl-loop in this way.  Gerd has explained why
it works this way in Common Lisp (because CL doesn't have any other
choice because that's the way the language works), but we should not
shoehorn in this accident into Emacs, too.




This bug report was last modified 2 years and 245 days ago.

Previous Next


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