From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#28747: 26.0.60; Usage of "&rest body" in Edebug specs Date: Sat, 29 Jan 2022 16:56:03 +0100 Message-ID: <87o83u8rjg.fsf@gnus.org> References: <87o9phznq7.fsf@runbox.com> <87sgnto1bf.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14556"; 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, Stefan Monnier To: Gemini Lasswell Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jan 29 16:57:57 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 1nDq6u-0003Yw-NU for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 29 Jan 2022 16:57:56 +0100 Original-Received: from localhost ([::1]:42002 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nDq6t-0006ma-1X for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 29 Jan 2022 10:57:55 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:39432) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nDq62-0005m6-If for bug-gnu-emacs@gnu.org; Sat, 29 Jan 2022 10:57:08 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:41626) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nDq62-0005rm-9T for bug-gnu-emacs@gnu.org; Sat, 29 Jan 2022 10:57:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nDq62-0000ww-0G for bug-gnu-emacs@gnu.org; Sat, 29 Jan 2022 10:57:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 29 Jan 2022 15:57: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.16434717783594 (code B ref 28747); Sat, 29 Jan 2022 15:57:01 +0000 Original-Received: (at 28747) by debbugs.gnu.org; 29 Jan 2022 15:56:18 +0000 Original-Received: from localhost ([127.0.0.1]:34529 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nDq5J-0000vt-MK for submit@debbugs.gnu.org; Sat, 29 Jan 2022 10:56:17 -0500 Original-Received: from quimby.gnus.org ([95.216.78.240]:54228) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nDq5H-0000vd-Fv for 28747@debbugs.gnu.org; Sat, 29 Jan 2022 10:56:15 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=RRyOgjFqDuSEZ/sTpEKlplFE/UedL3CvB73xWaUNNHA=; b=VD0ZQvw8v2auIV5ohOlzsN10qw 9h5PEyaIxq9jlScoUW0AhiS4fh01lH3ddI/bvGC9JFPdqhdYjJX4mk9WMROHuumyeHvwVLhv/X6IB aQ1hz00RtQemsy3DIACkVlfcoiLlymimMgwQkbrBhPukDwLQWznTUD0DWDaZWMXUnaFI=; Original-Received: from [84.212.220.105] (helo=giant) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nDq57-0004GM-Pg; Sat, 29 Jan 2022 16:56:08 +0100 X-Now-Playing: The Durutti Column's _Circuses and Bread_: "Dance I" In-Reply-To: <87sgnto1bf.fsf@gnus.org> (Lars Ingebrigtsen's message of "Wed, 16 Oct 2019 04:45:40 +0200") 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:225535 Archived-At: Lars Ingebrigtsen writes: >> Here's a little example of what an Edebug spec would look like with >> &repeat in place of &rest: >> >> (defmacro msgmac (&rest args) >> (declare (debug ("start" [&repeat "middle"] "end"))) >> `(message "%s" ',args)) >> >> (defun use-msgmac () >> (msgmac start end) >> (msgmac start middle end) >> (msgmac start middle middle end)) >> >> 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 agree that this would be a lot clearer and probably less error-prone > than &rest. > > Does anybody have an opinion here? Stefan added to the CCs; perhaps he has an opinion. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no