GNU bug report logs - #30223
27.0.50; Arglist of advised but undefined functions missing

Previous Next

Package: emacs;

Reported by: "Basil L. Contovounesios" <contovob <at> tcd.ie>

Date: Tue, 23 Jan 2018 00:55:02 UTC

Severity: minor

Tags: fixed

Found in version 27.0.50

Fixed in version 28.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 30223 in the body.
You can then email your comments to 30223 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#30223; Package emacs. (Tue, 23 Jan 2018 00:55:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to "Basil L. Contovounesios" <contovob <at> tcd.ie>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Tue, 23 Jan 2018 00:55:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: "Basil L. Contovounesios" <contovob <at> tcd.ie>
To: bug-gnu-emacs <at> gnu.org
Subject: 27.0.50; Arglist of advised but undefined functions missing
Date: Tue, 23 Jan 2018 00:53:50 +0000
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)




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#30223; Package emacs. (Tue, 17 Apr 2018 20:18:02 GMT) Full text and rfc822 format available.

Message #8 received at 30223 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: "Basil L. Contovounesios" <contovob <at> tcd.ie>
Cc: 30223 <at> debbugs.gnu.org
Subject: Re: bug#30223: 27.0.50;
 Arglist of advised but undefined functions missing
Date: Tue, 17 Apr 2018 22:16:52 +0200
"Basil L. Contovounesios" <contovob <at> 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




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#30223; Package emacs. (Thu, 04 Feb 2021 11:10:02 GMT) Full text and rfc822 format available.

Message #11 received at 30223 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: "Basil L. Contovounesios" <contovob <at> tcd.ie>
Cc: 30223 <at> debbugs.gnu.org
Subject: Re: bug#30223: 27.0.50; Arglist of advised but undefined functions
 missing
Date: Thu, 04 Feb 2021 12:09:42 +0100
"Basil L. Contovounesios" <contovob <at> 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




Added tag(s) fixed. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Thu, 04 Feb 2021 11:11:02 GMT) Full text and rfc822 format available.

bug marked as fixed in version 28.1, send any further explanations to 30223 <at> debbugs.gnu.org and "Basil L. Contovounesios" <contovob <at> tcd.ie> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Thu, 04 Feb 2021 11:11:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 04 Mar 2021 12:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 24 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.