Subject: bug#64797: closed (bug#64797: 30.0.50; advised alias -> "function is an alias for nil" in Help)

From: [email-masked] (GNU bug Tracking System)
Date: Thu, 27 Jul 2023 15:12:01 +0000

Your bug report

#64797: 30.0.50; advised alias -> "function is an alias for nil" in Help

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
64797: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=64797
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: bug#64797: 30.0.50; advised alias -> "function is an alias for nil" in Help
From: Mattias Engdegård <[email-masked]>
To: Michael Heerdegen <[email-masked]>
Cc: [email-masked], Eli Zaretskii <[email-masked]>, Stefan Monnier <[email-masked]>
Date: Thu, 27 Jul 2023 17:11:48 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

23 juli 2023 kl. 05.13 skrev Michael Heerdegen <[email-masked]>:

> 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 <[email-masked]> 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!

Subject: 30.0.50; advised alias -> "function is an alias for nil" in Help
From: Michael Heerdegen <[email-masked]>
To: [email-masked]
Cc: Mattias Engdegård <[email-masked]>, Stefan Monnier <[email-masked]>
Date: Sun, 23 Jul 2023 05:13:41 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

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 <[email-masked]> 2022-01-13)

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

TIA,

Michael.