all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: David Ponce <da_vid@orange.fr>
Cc: 65270@debbugs.gnu.org
Subject: bug#65270: 30.0.50; `describe-function' issue with some methods
Date: Mon, 14 Aug 2023 22:40:27 -0400	[thread overview]
Message-ID: <jwv4jl1ni7e.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <efcde695-03d2-630b-07d9-48fe4e14f877@orange.fr> (David Ponce's message of "Sun, 13 Aug 2023 12:36:25 +0200")

> It seems there is an issue with `describe-function' of a method that
> calls `cl-call-next-method'.  For a such method `describe-function' says
> that the method is "Undocumented" even if a doc string is present.

I pushed a patch to `master` which seems to fix this problem.

> Also the mentioned signature is weird.  See an illustration below using
> a simple recipe, running 'emacs -Q'.

I think we still have a problem here when the method is not
byte-compiled, but I think the problem is in `help-function-arglist`
which decides to use the "raw arglist" from the interpreted closure
without looking at the arg names stashed in the docstring.


        Stefan






  parent reply	other threads:[~2023-08-15  2:40 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-13 10:36 bug#65270: 30.0.50; `describe-function' issue with some methods David Ponce
2023-08-14 10:41 ` David Ponce
2023-08-14 22:04   ` David Ponce
2023-08-15  2:40 ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors [this message]
2023-08-15  9:09   ` David Ponce
2023-09-15 12:24     ` Stefan Kangas

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=jwv4jl1ni7e.fsf-monnier+emacs@gnu.org \
    --to=bug-gnu-emacs@gnu.org \
    --cc=65270@debbugs.gnu.org \
    --cc=da_vid@orange.fr \
    --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 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.