From: Juanma Barranquero <lekktu@gmail.com>
To: jidanni@jidanni.org
Cc: 6151@debbugs.gnu.org
Subject: bug#6151: mystery arguments of define-minor-mode + describe-function
Date: Mon, 10 May 2010 12:45:19 +0200 [thread overview]
Message-ID: <AANLkTimRCXWzcPAWDkrA5diymZmceuHGCfoyDjdnDuTm@mail.gmail.com> (raw)
In-Reply-To: <871vdkgjlu.fsf@jidanni.org>
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.
That said, any Emacs user should be by now used to minor modes having
such an argument...
Juanma
next prev parent reply other threads:[~2010-05-10 10:45 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 [this message]
2010-05-10 11:39 ` Lennart Borgman
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
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=AANLkTimRCXWzcPAWDkrA5diymZmceuHGCfoyDjdnDuTm@mail.gmail.com \
--to=lekktu@gmail.com \
--cc=6151@debbugs.gnu.org \
--cc=jidanni@jidanni.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).