From: Stefan Monnier <monnier@IRO.UMontreal.CA>
To: Eli Zaretskii <eliz@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: Keywords supported by define-minor-mode
Date: Mon, 28 Mar 2016 11:50:08 -0400 [thread overview]
Message-ID: <jwvmvpir4az.fsf-monnier+Inbox@gnu.org> (raw)
In-Reply-To: <83r3euy6ci.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 28 Mar 2016 18:23:09 +0300")
>> > :extra-args
>> > :set
>> > :initialize
>> > :type
>>
>> The latter three are covered by this part of the docstring:
>>
>> (other keywords are passed to ‘defcustom’ if
>> the minor mode is global)
> Yes, but defcustom's documentation is monstrously large, and doesn't
> always make sense to someone who just wants to define a minor mode,
> easily.
Might be true. But :set, :initialize, and :type are more important for
defcustom than for define-minor-mode, so it'd be more beneficial to
address the issue on defcustom's side than on define-minor-mode side.
> And it still leaves :extra-args.
Yes.
Stefan
next prev parent reply other threads:[~2016-03-28 15:50 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-03-27 15:30 Keywords supported by define-minor-mode Eli Zaretskii
2016-03-27 22:38 ` Stefan Monnier
2016-03-28 15:23 ` Eli Zaretskii
2016-03-28 15:50 ` Stefan Monnier [this message]
2016-03-28 16:05 ` Eli Zaretskii
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=jwvmvpir4az.fsf-monnier+Inbox@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=eliz@gnu.org \
--cc=emacs-devel@gnu.org \
/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).