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#28747: 26.0.60; Usage of "&rest body" in Edebug specs Date: Sat, 29 Jan 2022 18:25:55 -0500 Message-ID: References: <87o9phznq7.fsf@runbox.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="34457"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: 28747@debbugs.gnu.org To: Gemini Lasswell Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jan 30 00:27:10 2022 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 1nDx7e-0008lD-5Y for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 30 Jan 2022 00:27:10 +0100 Original-Received: from localhost ([::1]:37082 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nDx7c-0006Dj-O2 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 29 Jan 2022 18:27:08 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:39270) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nDx7W-0006DW-Fd for bug-gnu-emacs@gnu.org; Sat, 29 Jan 2022 18:27:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:42250) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nDx7W-0005JY-1K for bug-gnu-emacs@gnu.org; Sat, 29 Jan 2022 18:27:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nDx7V-00025A-SX for bug-gnu-emacs@gnu.org; Sat, 29 Jan 2022 18:27:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 29 Jan 2022 23:27:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 28747 X-GNU-PR-Package: emacs Original-Received: via spool by 28747-submit@debbugs.gnu.org id=B28747.16434987707932 (code B ref 28747); Sat, 29 Jan 2022 23:27:01 +0000 Original-Received: (at 28747) by debbugs.gnu.org; 29 Jan 2022 23:26:10 +0000 Original-Received: from localhost ([127.0.0.1]:35153 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nDx6g-00023s-2N for submit@debbugs.gnu.org; Sat, 29 Jan 2022 18:26:10 -0500 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:36154) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nDx6a-00023E-Fm for 28747@debbugs.gnu.org; Sat, 29 Jan 2022 18:26:08 -0500 Original-Received: from pmg2.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 62DEC8028B; Sat, 29 Jan 2022 18:25:58 -0500 (EST) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id DAD5380342; Sat, 29 Jan 2022 18:25:56 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1643498756; bh=bSmAEPJmsQWfsifJsCL4+xxNB0Cr6edzUoEddlYEr6I=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=BsydwU/c4v3r3Tcyo52Zx7NbsfXFkC//RT+4/cYoSmubIREjeiUKCWMn/cqBGEwVa aHb/4qYr0WySeOGCedKK+FJfZn+qHkq8nlzh8i7nz2S7EkQCSuOrS/3asUlWP4ox9i RBJEiA+05kS2vemcJusDGuLU57yDKZMXkQav29J6aeDXIfgRMTIcRdWHKta2I5fX1K 4o7JtvWbl5DopwuchtFzA8736TdSR8HrubIkqUPyyg3899Mm1+lrqmz/9UVdhFMXSV N6f14v6oWi3dWp65sfwNX5O1kPxlltkhf0uiu6n9XGmj7duXMS76cyghPAiSm2HGJ+ IQ2OC1gdLR3Kg== Original-Received: from ceviche (76-10-138-212.dsl.teksavvy.com [76.10.138.212]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 960EB1208E1; Sat, 29 Jan 2022 18:25:56 -0500 (EST) In-Reply-To: <87o9phznq7.fsf@runbox.com> (Gemini Lasswell's message of "Sun, 08 Oct 2017 08:02:56 -0700") 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" Xref: news.gmane.io gmane.emacs.bugs:225572 Archived-At: > The symbol &rest in an Edebug spec has a different meaning than it has > in an argument list. Definitely, yes. Note that `&optional` is different "in the same way". > In particular, "&rest body" in an Edebug spec is > erroneous usage because it is asking Edebug to match something that > can match nothing (body) as many times as it can, which makes an > infinite loop. Only idiots would get caught making such rookie mistakes. > Here are the macros I've found that have this incorrect usage of &rest > in their Edebug specs: > > crm--completion-command > easy-mmode-define-navigation > inline--letlisteval > inline--leteval > ses--letref See: only idiots. > Does anyone have thoughts on the idea of adding &repeat as a synonym > for &rest in Edebug specs, with the goal of moving &rest towards > obsolescence eventually? I like the idea. Only problem I can see is that it doesn't solve the problem for `&optional`. Stefan