GNU bug report logs -
#31232
27.0.50; Obsolete argument RESULT in the macro `dotimes'
Previous Next
Reported by: Juri Linkov <juri <at> linkov.net>
Date: Sat, 21 Apr 2018 20:58:02 UTC
Severity: minor
Merged with 16206,
39919,
41287
Found in versions 24.3, 26.3, 28.0.50
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
Message #30 received at 31232 <at> debbugs.gnu.org (full text, mbox):
Thanks for the explanation Michael.
How about changing dotimes as you suggested, but making cl-dotimes have it’s own implementation with the result parameter fix applied?
Then everyone’s a winner - those who want the CL behaviour can have it, but core Emacs will have a cleaner version.
Thanks,
Mike
> On 28 Apr 2020, at 19:13, Michael Heerdegen <michael_heerdegen <at> web.de> wrote:
>
> Mike Woolley <mike <at> bulsara.com> writes:
>
>> I think people using `dotimes' from `cl’ are going to expect it to
>> work like in Common Lisp (as that’s the whole point).
>
> But note that dotimes is in subr.el, and cl-dotimes is separate (though
> it's currently implemented on top of dotimes).
>
>> Just deprecating the result parameter because it’s too hard doesn’t
>> seem like a good solution :-)
>
> I regret that I said it like that, no, that's not a reason. The main
> reason is that the whole existence (usefulness) of the RESULT argument
> and its position in the syntax are questionable.
>
> Michael.
>
This bug report was last modified 4 years and 236 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.