From: Lars Ingebrigtsen <larsi@gnus.org>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: Michael Heerdegen <michael_heerdegen@web.de>, 47813@debbugs.gnu.org
Subject: bug#47813: 28.0.50; Confusing new calling convention for define-minor-mode
Date: Sat, 17 Apr 2021 13:49:13 +0200 [thread overview]
Message-ID: <87im4lqgg6.fsf@gnus.org> (raw)
In-Reply-To: <jwv5z0ld1df.fsf-monnier+emacs@gnu.org> (Stefan Monnier's message of "Fri, 16 Apr 2021 23:42:53 -0400")
Stefan Monnier <monnier@iro.umontreal.ca> writes:
> I went with
>
> (mode doc [keyword val ...] &rest body)
>
> since it's allowed to have no keywords (if body is empty).
It still kinda looks like the keywords are optional, even if you have a
body. What about:
(mode doc [keyword val ... &rest body])
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
next prev parent reply other threads:[~2021-04-17 11:49 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-04-16 1:51 bug#47813: 28.0.50; Confusing new calling convention for define-minor-mode Michael Heerdegen
2021-04-16 3:23 ` Stefan Monnier
2021-04-16 3:27 ` Stefan Monnier
2021-04-16 4:26 ` Michael Heerdegen
2021-04-16 12:43 ` Stefan Monnier
2021-04-16 23:53 ` Michael Heerdegen
2021-04-17 0:44 ` Stefan Monnier
2021-04-17 2:28 ` Michael Heerdegen
2021-04-17 3:42 ` Stefan Monnier
2021-04-17 11:49 ` Lars Ingebrigtsen [this message]
2021-04-17 13:57 ` Stefan Monnier
2021-04-17 23:21 ` Michael Heerdegen
2021-04-18 3:56 ` Stefan Monnier
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87im4lqgg6.fsf@gnus.org \
--to=larsi@gnus.org \
--cc=47813@debbugs.gnu.org \
--cc=michael_heerdegen@web.de \
--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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).