From: Stefan Kangas <stefan@marxist.se>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: 53153@debbugs.gnu.org, Stefan Monnier <monnier@iro.umontreal.ca>
Subject: bug#53153: package-quickstart: unusual autoload form in selectrum gives byte-compilation warning
Date: Thu, 13 Jan 2022 03:20:38 -0800 [thread overview]
Message-ID: <CADwFkmnOtaL4X-jq7BMaBqadVijThC=ZVy0dAwDcddt8PzsV7w@mail.gmail.com> (raw)
In-Reply-To: <871r1c6lve.fsf@gnus.org>
Lars Ingebrigtsen <larsi@gnus.org> writes:
> define-minor-mode expands to (among many other things) a defcustom form,
> I think?
Aha, yes. So here's a minimal reproducer:
testel="$(mktemp).el"
echo '(define-minor-mode foo-mode "" :global t)' > $testel
emacs -Q --batch --eval "(byte-compile-file \"$testel\")"
This gives:
In toplevel form:
tmp.mmmKTQXZHb.el:1:1: Warning: defcustom for ‘foo-mode’ fails to
specify containing group
tmp.mmmKTQXZHb.el:1:1: Warning: defcustom for ‘foo-mode’ fails to
specify containing group
next prev parent reply other threads:[~2022-01-13 11:20 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-10 4:46 bug#53153: package-quickstart: unusual autoload form in selectrum gives byte-compilation warning Stefan Kangas
2022-01-13 9:11 ` Lars Ingebrigtsen
2022-01-13 11:20 ` Stefan Kangas [this message]
2022-01-13 14:46 ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-01-13 15:30 ` Stefan Kangas
2022-01-13 16:20 ` bug#53153: [External] : " Drew Adams
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='CADwFkmnOtaL4X-jq7BMaBqadVijThC=ZVy0dAwDcddt8PzsV7w@mail.gmail.com' \
--to=stefan@marxist.se \
--cc=53153@debbugs.gnu.org \
--cc=larsi@gnus.org \
--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).