From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Mike Woolley Newsgroups: gmane.emacs.bugs Subject: bug#31232: bug#39919: 26.3; Incorrect byte-compiler warning Date: Tue, 28 Apr 2020 19:48:49 +0100 Message-ID: <3855CC4F-D09F-4E0B-B746-1909C9FA0583@bulsara.com> References: <87wo5z5vqs.fsf@web.de> Mime-Version: 1.0 (1.0) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="59351"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 39919@debbugs.gnu.org, 31232@debbugs.gnu.org, rms@gnu.org To: Michael Heerdegen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Apr 28 20:50:18 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jTVJC-000FL0-67 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 28 Apr 2020 20:50:18 +0200 Original-Received: from localhost ([::1]:45088 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jTVJB-0003WG-63 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 28 Apr 2020 14:50:17 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53482) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jTVIx-0003Rp-4P for bug-gnu-emacs@gnu.org; Tue, 28 Apr 2020 14:50:03 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jTVIw-0001jp-CL for bug-gnu-emacs@gnu.org; Tue, 28 Apr 2020 14:50:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:58196) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jTVIv-0001ji-VQ for bug-gnu-emacs@gnu.org; Tue, 28 Apr 2020 14:50:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jTVIv-0007CV-SY for bug-gnu-emacs@gnu.org; Tue, 28 Apr 2020 14:50:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Mike Woolley Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 28 Apr 2020 18:50:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 31232 X-GNU-PR-Package: emacs Original-Received: via spool by 31232-submit@debbugs.gnu.org id=B31232.158809974227563 (code B ref 31232); Tue, 28 Apr 2020 18:50:01 +0000 Original-Received: (at 31232) by debbugs.gnu.org; 28 Apr 2020 18:49:02 +0000 Original-Received: from localhost ([127.0.0.1]:41492 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jTVHx-0007AU-Ux for submit@debbugs.gnu.org; Tue, 28 Apr 2020 14:49:02 -0400 Original-Received: from mailout.easymail.ca ([64.68.200.34]:35988) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jTVHw-00079x-9X; Tue, 28 Apr 2020 14:49:00 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by mailout.easymail.ca (Postfix) with ESMTP id ED714C1B9D; Tue, 28 Apr 2020 18:48:54 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at emo04-pco.easydns.vpn Original-Received: from mailout.easymail.ca ([127.0.0.1]) by localhost (emo04-pco.easydns.vpn [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2GZ0bPt2svim; Tue, 28 Apr 2020 18:48:54 +0000 (UTC) Original-Received: from [192.168.1.157] (host31-48-240-221.range31-48.btcentralplus.com [31.48.240.221]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mailout.easymail.ca (Postfix) with ESMTPSA id A26AFC0461; Tue, 28 Apr 2020 18:48:50 +0000 (UTC) In-Reply-To: <87wo5z5vqs.fsf@web.de> X-Mailer: iPad Mail (17D50) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:179241 Archived-At: Thanks for the explanation Michael. How about changing dotimes as you suggested, but making cl-dotimes have it=E2= =80=99s own implementation with the result parameter fix applied?=20 Then everyone=E2=80=99s a winner - those who want the CL behaviour can have i= t, but core Emacs will have a cleaner version. Thanks, Mike > On 28 Apr 2020, at 19:13, Michael Heerdegen wro= te: >=20 > =EF=BB=BFMike Woolley writes: >=20 >> I think people using `dotimes' from `cl=E2=80=99 are going to expect it t= o >> work like in Common Lisp (as that=E2=80=99s the whole point). >=20 > But note that dotimes is in subr.el, and cl-dotimes is separate (though > it's currently implemented on top of dotimes). >=20 >> Just deprecating the result parameter because it=E2=80=99s too hard doesn= =E2=80=99t >> seem like a good solution :-) >=20 > 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. >=20 > Michael. >=20