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.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Michael Heerdegen <michael_heerdegen <at> web.de>
Subject: bug#64797: closed (bug#64797: 30.0.50; advised alias -> "function
 is an alias for nil" in Help)
Date: Thu, 27 Jul 2023 15:12:01 +0000
[Message part 1 (text/plain, inline)]
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 64797 <at> debbugs.gnu.org.

-- 
64797: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=64797
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
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!


[Message part 3 (message/rfc822, inline)]
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.






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

Previous Next


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