GNU bug report logs - #31232
27.0.50; Obsolete argument RESULT in the macro `dotimes'

Previous Next

Package: emacs;

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

From: Mike Woolley <mike <at> bulsara.com>
To: Michael Heerdegen <michael_heerdegen <at> web.de>
Cc: 39919 <at> debbugs.gnu.org, 31232 <at> debbugs.gnu.org, rms <at> gnu.org
Subject: Re: bug#39919: 26.3; Incorrect byte-compiler warning 
Date: Tue, 28 Apr 2020 17:35:47 +0100
[Message part 1 (text/plain, inline)]
I think people using `dotimes' from `cl’ are going to expect it to work like in Common Lisp (as that’s the whole point).

Just deprecating the result parameter because it’s too hard doesn’t seem like a good solution :-)

Thanks,
Mike

> On 28 Apr 2020, at 03:52, Michael Heerdegen <michael_heerdegen <at> web.de> wrote:
> 
> Mike Woolley <mike <at> bulsara.com> writes:
> 
>> Yes that fixes the issue in the test cases I sent.
>> Also looks good in my real code where I noticed the problem!
> 
> Seems the current warning is a compromise.  It is not perfect because it
> is not really clear what the warning means.  I would vote for a clear
> "argument is deprecated" warning.
> 
> Michael.

[Message part 2 (text/html, inline)]

This bug report was last modified 4 years and 285 days ago.

Previous Next


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