From: Lennart Borgman <lennart.borgman@gmail.com>
To: Juanma Barranquero <lekktu@gmail.com>
Cc: 6151@debbugs.gnu.org, jidanni@jidanni.org
Subject: bug#6151: mystery arguments of define-minor-mode + describe-function
Date: Mon, 10 May 2010 13:39:06 +0200 [thread overview]
Message-ID: <o2ue01d8a51005100439s3e6cd2d5n8eddca0929e6be31@mail.gmail.com> (raw)
In-Reply-To: <AANLkTimRCXWzcPAWDkrA5diymZmceuHGCfoyDjdnDuTm@mail.gmail.com>
On Mon, May 10, 2010 at 12:45 PM, Juanma Barranquero <lekktu@gmail.com> wrote:
> On Mon, May 10, 2010 at 12:02, <jidanni@jidanni.org> wrote:
>
>> Some describe-function results add a mystery argument ARG, not visible
>> in the corresponding lisp code.
>>
>> Or maybe it is visible, but not to your average reader.
>
> Among other things, `define-minor-mode' defines a function, in this
> case longlines-mode; and that function, like all minor modes, has an
> arg to turn it on or off. So it's not `describe-function' which adds a
> "mystery argument", but the docstring for the modes, that sometimes
> lacks the relevant info.
Maybe the define-minor-mode should always add to the docstring that it
is a minor mode and provide links between the minor mod variable and
the minor mode function?
next prev parent reply other threads:[~2010-05-10 11:39 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-05-10 10:02 bug#6151: mystery arguments of define-minor-mode + describe-function jidanni
2010-05-10 10:45 ` Juanma Barranquero
2010-05-10 11:39 ` Lennart Borgman [this message]
2010-05-10 15:33 ` Stefan Monnier
2011-07-13 21:31 ` Lars Magne Ingebrigtsen
2010-05-10 10:57 ` jidanni
2010-05-10 11:02 ` Juanma Barranquero
2011-07-13 21:30 ` Lars Magne Ingebrigtsen
2011-07-14 0:57 ` jidanni
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=o2ue01d8a51005100439s3e6cd2d5n8eddca0929e6be31@mail.gmail.com \
--to=lennart.borgman@gmail.com \
--cc=6151@debbugs.gnu.org \
--cc=jidanni@jidanni.org \
--cc=lekktu@gmail.com \
/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.