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 #40 received at 57907-done <at> debbugs.gnu.org (full text, mbox):

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

> 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.

While it might have had been an accident initially, I don't think it has
to be considered such.  As I said, there are reasons like syntax
highlighting for preferring keyword-symbols.  But if you don't think
this is a good idea, I'll go ahead and close the issue.




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.