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


View this message in rfc822 format

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Philip Kaludercic <philipk <at> posteo.net>
Cc: 57907 <at> debbugs.gnu.org
Subject: bug#57907: 29.0.50; Using keywords with cl-loop
Date: Sun, 18 Sep 2022 14:20:20 +0200
Philip Kaludercic <philipk <at> posteo.net> writes:

> It seems to me that it would be nice to support these too, as keywords
> have the superficial advantage of being a bit more readable due to their
> additional highlighting, and for some people it makes the macro a bit
> more comfortable to use since it doesn't have to feel like you are using
> a whole new language, but instead these are just keyword arguments to an
> unusual function call.

I think it'd just lead to even more confusion, since they aren't really
keyword arguments.  Because then you'd have to say

(loop ...
      :do (progn (foo) (bar)))

But you can say

(loop ...
      do (foo)
         (bar))





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.