all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Gemini Lasswell <gazally@runbox.com>
Cc: 28747@debbugs.gnu.org, Stefan Monnier <monnier@iro.umontreal.ca>
Subject: bug#28747: 26.0.60; Usage of "&rest body" in Edebug specs
Date: Sat, 29 Jan 2022 16:56:03 +0100	[thread overview]
Message-ID: <87o83u8rjg.fsf@gnus.org> (raw)
In-Reply-To: <87sgnto1bf.fsf@gnus.org> (Lars Ingebrigtsen's message of "Wed, 16 Oct 2019 04:45:40 +0200")

Lars Ingebrigtsen <larsi@gnus.org> 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





  parent reply	other threads:[~2022-01-29 15:56 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-08 15:02 bug#28747: 26.0.60; Usage of "&rest body" in Edebug specs Gemini Lasswell
2017-10-13  0:54 ` Noam Postavsky
2019-10-16  2:45 ` Lars Ingebrigtsen
2019-10-18  3:12   ` Richard Stallman
2019-10-18  3:35     ` Lars Ingebrigtsen
2019-10-18 14:14       ` Richard Stallman
2019-10-19  8:20         ` Lars Ingebrigtsen
2019-10-19 14:02   ` Michael Heerdegen
2022-01-29 15:56   ` Lars Ingebrigtsen [this message]
2022-02-01  5:03     ` Richard Stallman
2022-01-29 23:25 ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-01-31  2:21   ` Lars Ingebrigtsen
2022-01-31  2:30     ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-01-31  2:35       ` Lars Ingebrigtsen
2022-01-31  2:44         ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-01-31  3:00           ` Lars Ingebrigtsen
2022-05-01  8:49             ` Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87o83u8rjg.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=28747@debbugs.gnu.org \
    --cc=gazally@runbox.com \
    --cc=monnier@iro.umontreal.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.