* bug#30223: 27.0.50; Arglist of advised but undefined functions missing
@ 2018-01-23 0:53 Basil L. Contovounesios
2018-04-17 20:16 ` Lars Ingebrigtsen
2021-02-04 11:09 ` Lars Ingebrigtsen
0 siblings, 2 replies; 3+ messages in thread
From: Basil L. Contovounesios @ 2018-01-23 0:53 UTC (permalink / raw)
To: 30223
Steps to reproduce:
1. emacs -Q
2. (advice-add 'some-funbound-sym :override #'ignore)
3. C-h f some-funbound-sym RET
This results in the *Help* buffer reporting:
--8<---------------cut here---------------start------------->8---
some-funbound-sym is .
[Missing arglist. Please make a bug report.]
Not documented.
[back]
--8<---------------cut here---------------end--------------->8---
which I presume is at least partially due to
(get 'some-funbound-sym 'function-documentation)
=> (advice--make-docstring 'some-funbound-sym)
I wouldn't expect advised-but-undefined functions to have meaningful
documentation, but IMO the suggestion to make a bug report is
misleading, given that many users are likely to advise as-of-yet
undefined functions in their user-init-file.
--
Basil
In GNU Emacs 27.0.50 (build 25, x86_64-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
of 2018-01-22 built on thunk
Repository revision: c42959cc206bcb52baffd45f892da1b767f0f8c1
Windowing system distributor 'The X.Org Foundation', version 11.0.11905000
System Description: Debian GNU/Linux testing (buster)
^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#30223: 27.0.50; Arglist of advised but undefined functions missing
2018-01-23 0:53 bug#30223: 27.0.50; Arglist of advised but undefined functions missing Basil L. Contovounesios
@ 2018-04-17 20:16 ` Lars Ingebrigtsen
2021-02-04 11:09 ` Lars Ingebrigtsen
1 sibling, 0 replies; 3+ messages in thread
From: Lars Ingebrigtsen @ 2018-04-17 20:16 UTC (permalink / raw)
To: Basil L. Contovounesios; +Cc: 30223
"Basil L. Contovounesios" <contovob@tcd.ie> writes:
> Steps to reproduce:
>
> 1. emacs -Q
> 2. (advice-add 'some-funbound-sym :override #'ignore)
> 3. C-h f some-funbound-sym RET
>
> This results in the *Help* buffer reporting:
>
> some-funbound-sym is .
>
> [Missing arglist. Please make a bug report.]
>
> Not documented.
>
> [back]
>
> which I presume is at least partially due to
>
> (get 'some-funbound-sym 'function-documentation)
> => (advice--make-docstring 'some-funbound-sym)
>
> I wouldn't expect advised-but-undefined functions to have meaningful
> documentation, but IMO the suggestion to make a bug report is
> misleading, given that many users are likely to advise as-of-yet
> undefined functions in their user-init-file.
Yeah, this sounds like something that can happen commonly and there
shouldn't be a "make a bug report" here.
And describe-function should just say that it's a function that's not
defined, but that there's a advice for the symbol, I think?
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#30223: 27.0.50; Arglist of advised but undefined functions missing
2018-01-23 0:53 bug#30223: 27.0.50; Arglist of advised but undefined functions missing Basil L. Contovounesios
2018-04-17 20:16 ` Lars Ingebrigtsen
@ 2021-02-04 11:09 ` Lars Ingebrigtsen
1 sibling, 0 replies; 3+ messages in thread
From: Lars Ingebrigtsen @ 2021-02-04 11:09 UTC (permalink / raw)
To: Basil L. Contovounesios; +Cc: 30223
"Basil L. Contovounesios" <contovob@tcd.ie> writes:
> I wouldn't expect advised-but-undefined functions to have meaningful
> documentation, but IMO the suggestion to make a bug report is
> misleading, given that many users are likely to advise as-of-yet
> undefined functions in their user-init-file.
I've now removed the "make a bug report" thing in Emacs 28.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-02-04 11:09 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-01-23 0:53 bug#30223: 27.0.50; Arglist of advised but undefined functions missing Basil L. Contovounesios
2018-04-17 20:16 ` Lars Ingebrigtsen
2021-02-04 11:09 ` Lars Ingebrigtsen
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.