From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#71120: 29.3; buglet in cl-loop Date: Thu, 30 May 2024 10:51:19 -0400 Message-ID: References: <23fd70f8-6e01-45d7-b9f9-d81d53c95ffd@lmf.cnrs.fr> <87cyp4wdj7.fsf@posteo.net> <4ED83CF1-C697-46DF-99D2-56432A1E3B44@gmail.com> Reply-To: Stefan Monnier Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11403"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: 71120@debbugs.gnu.org, Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= , Philip Kaludercic , Philippe Schnoebelen To: Andrea Corallo Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu May 30 16:52:18 2024 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 1sCh8c-0002jB-1s for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 30 May 2024 16:52:18 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sCh8E-0006Or-Jv; Thu, 30 May 2024 10:51:54 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sCh8C-0006Of-H9 for bug-gnu-emacs@gnu.org; Thu, 30 May 2024 10:51:54 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sCh8C-0001lK-9T for bug-gnu-emacs@gnu.org; Thu, 30 May 2024 10:51:52 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sCh8M-0001YB-Hj for bug-gnu-emacs@gnu.org; Thu, 30 May 2024 10:52:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 30 May 2024 14:52:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 71120 X-GNU-PR-Package: emacs Original-Received: via spool by 71120-submit@debbugs.gnu.org id=B71120.17170806995897 (code B ref 71120); Thu, 30 May 2024 14:52:02 +0000 Original-Received: (at 71120) by debbugs.gnu.org; 30 May 2024 14:51:39 +0000 Original-Received: from localhost ([127.0.0.1]:40742 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sCh7y-0001X2-Rh for submit@debbugs.gnu.org; Thu, 30 May 2024 10:51:39 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:46140) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sCh7x-0001Wf-Og for 71120@debbugs.gnu.org; Thu, 30 May 2024 10:51:38 -0400 Original-Received: from pmg2.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 57E11808EE; Thu, 30 May 2024 10:51:21 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1717080680; bh=XE4J3BngTyLPAbhgzojaORzVRRarY/v7hLP651XqdzY=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=B+UXPep8VOY6Ow6FBGJhbgTP1Le3soLCXWb5x4aHLoc2EwgwhQO5Rj4ADQ5yptZba I+b4PTqSR0TiquBtep8Iwtj9yH+JLa8lQqwYm11k1mc5rfOJk2Yx2yF+B1A18J0o3U o6VUldvFO07NKqXLNqrhF/udgAKOA8nuYPVt1/M5bureKWUrhsqcLvaf9q+9MF6VKO i36XJ4sIoM0MhiM/p/U3XYY7eX+c2RCOipoNhG7es53DzwXHVfntkT7QIFVF9NrT3w 5TZgxlnvAyhoWhL2lC+uR+a6e5dOUHO17VTaFlpNxNmbjLcR6p300TsN0Mf4WUm1wo cRvJJUR2ETUUQ== Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 3B450808A4; Thu, 30 May 2024 10:51:20 -0400 (EDT) Original-Received: from pastel (unknown [24.140.236.196]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 05B6C120351; Thu, 30 May 2024 10:51:19 -0400 (EDT) In-Reply-To: (Andrea Corallo's message of "Thu, 30 May 2024 09:14:24 -0400") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:286227 Archived-At: >>> (cl-loop for i from 1 to 100 collect (random 6)) [...] >>> (cl-loop for _i from 1 to 100 collect (random 6)) >> Thus I don't think there's anything we really need to do here, do you? > I, for one, think the nicest option is the one SBCL (and I guess other > CL implementations) are using, that is to have 'i' 'ignorable', the > problem is that we don't support this at language level. I don't quite see how "ignorable" comes into play here. In the first case above, the var is "not used", has a "normal" name, and we get no warning. Does SBCL do the same or does it emit a warning? In the second case, the var is "not used", has an "I'm not used" name, and we do get a warning. Does SBCL even support "I'm not used" names? Stefan