GNU bug report logs - #64797
30.0.50; advised alias -> "function is an alias for nil" in Help

Previous Next

Package: emacs;

Reported by: Michael Heerdegen <michael_heerdegen <at> web.de>

Date: Sun, 23 Jul 2023 03:15:02 UTC

Severity: normal

Found in version 30.0.50

Done: Mattias Engdegård <mattias.engdegard <at> gmail.com>

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 64797 in the body.
You can then email your comments to 64797 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#64797; Package emacs. (Sun, 23 Jul 2023 03:15:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Michael Heerdegen <michael_heerdegen <at> web.de>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sun, 23 Jul 2023 03:15:02 GMT) Full text and rfc822 format available.

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

From: Michael Heerdegen <michael_heerdegen <at> web.de>
To: bug-gnu-emacs <at> gnu.org
Cc: Mattias Engdegård <mattiase <at> acm.org>,
 Stefan Monnier <monnier <at> iro.umontreal.ca>
Subject: 30.0.50; advised alias -> "function is an alias for nil" in Help
Date: Sun, 23 Jul 2023 05:13:41 +0200
Hello,

an example: `manual-entry' is an alias for `man'.  When now the alias is
advised, for example like

  (advice-add 'manual-entry :filter-return #'identity)

and you do C-h f manual-entry RET, the first line of the Help buffer
will say:

| manual-entry is an alias for ‘nil’, which is not defined.

which is obviously nonsense.

Seems that this regression in `help-fns--analyze-function' had been
introduced by

d30fde6b0cc "Avoid infloops in help-fns--analyze-function with aliases"
(Lars Ingebrigtsen <larsi <at> gnus.org> 2022-01-13)

I CC Mattias and Stefan you might be able to help.


TIA,

Michael.







Reply sent to Mattias Engdegård <mattias.engdegard <at> gmail.com>:
You have taken responsibility. (Thu, 27 Jul 2023 15:12:01 GMT) Full text and rfc822 format available.

Notification sent to Michael Heerdegen <michael_heerdegen <at> web.de>:
bug acknowledged by developer. (Thu, 27 Jul 2023 15:12:01 GMT) Full text and rfc822 format available.

Message #10 received at 64797-done <at> debbugs.gnu.org (full text, mbox):

From: Mattias Engdegård <mattias.engdegard <at> gmail.com>
To: Michael Heerdegen <michael_heerdegen <at> web.de>
Cc: 64797-done <at> debbugs.gnu.org, Eli Zaretskii <eliz <at> gnu.org>,
 Stefan Monnier <monnier <at> iro.umontreal.ca>
Subject: bug#64797: 30.0.50; advised alias -> "function is an alias for nil"
 in Help
Date: Thu, 27 Jul 2023 17:11:48 +0200
23 juli 2023 kl. 05.13 skrev Michael Heerdegen <michael_heerdegen <at> web.de>:

> Seems that this regression in `help-fns--analyze-function' had been
> introduced by
> 
> d30fde6b0cc "Avoid infloops in help-fns--analyze-function with aliases"
> (Lars Ingebrigtsen <larsi <at> gnus.org> 2022-01-13)

Right. This is a regression in Emacs 29.
The fix is going to master for now. Whether and when to backport it is Eli's decision to make.

Thank you for localising and reporting it!





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#64797; Package emacs. (Thu, 27 Jul 2023 23:09:01 GMT) Full text and rfc822 format available.

Message #13 received at 64797-done <at> debbugs.gnu.org (full text, mbox):

From: Michael Heerdegen <michael_heerdegen <at> web.de>
To: Mattias Engdegård <mattias.engdegard <at> gmail.com>
Cc: 64797-done <at> debbugs.gnu.org, Eli Zaretskii <eliz <at> gnu.org>,
 Stefan Monnier <monnier <at> iro.umontreal.ca>
Subject: Re: bug#64797: 30.0.50; advised alias -> "function is an alias for
 nil" in Help
Date: Fri, 28 Jul 2023 01:08:03 +0200
Mattias Engdegård <mattias.engdegard <at> gmail.com> writes:

> Right. This is a regression in Emacs 29.  The fix is going to master
> for now. Whether and when to backport it is Eli's decision to make.
>
> Thank you for localising and reporting it!

Thank you for fixing - works well for me.

Michael.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 25 Aug 2023 11:24:07 GMT) Full text and rfc822 format available.

This bug report was last modified 1 year and 357 days ago.

Previous Next


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