From: Lars Ingebrigtsen <larsi@gnus.org>
To: npostavs@users.sourceforge.net
Cc: Philipp Stephani <p.stephani2@gmail.com>, 26270@debbugs.gnu.org
Subject: bug#26270: help-function-arglist doesn't respect "(fn ARGS...)" in docstring
Date: Wed, 19 Aug 2020 13:31:24 +0200 [thread overview]
Message-ID: <87zh6q6feb.fsf@gnus.org> (raw)
In-Reply-To: <8737dz4bj8.fsf@users.sourceforge.net> (npostavs@users.sourceforge.net's message of "Sun, 26 Mar 2017 23:57:15 -0400")
npostavs@users.sourceforge.net writes:
> Severity: minor
>
>>From emacs -Q, evaluate:
>
> (defun foo (&rest args)
> "Do foo.
>
> \(fn ARG1 ARG2)")
>
> <f1> f foo RET correctly shows (ARG1 ARG2) as the arglist:
>
> foo is a Lisp function.
>
> (foo ARG1 ARG2)
>
> Do foo.
>
> But
>
> (help-function-arglist 'foo) ;=> (&rest args)
I think the intention of help-function-arglist is to really return the
actual arglist -- it's used when composing functions on top of each
other (like in advice.el), I'm not sure that this is something that
should really be fixed?
Do you see the "real" arglist show up in contexts where the "advertised"
arglist should be displayed instead?
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
next prev parent reply other threads:[~2020-08-19 11:31 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-27 3:57 bug#26270: help-function-arglist doesn't respect "(fn ARGS...)" in docstring npostavs
2017-06-03 3:03 ` npostavs
2020-08-19 11:31 ` Lars Ingebrigtsen [this message]
2020-10-11 2:19 ` Lars Ingebrigtsen
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=87zh6q6feb.fsf@gnus.org \
--to=larsi@gnus.org \
--cc=26270@debbugs.gnu.org \
--cc=npostavs@users.sourceforge.net \
--cc=p.stephani2@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 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).