GNU bug report logs - #58284
29.0.50; advice error for advised function with no docstring

Previous Next

Package: emacs;

Reported by: Katsumi Yamaoka <yamaoka <at> jpl.org>

Date: Tue, 4 Oct 2022 05:37:02 UTC

Severity: normal

Found in version 29.0.50

Fixed in version 29.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 58284 in the body.
You can then email your comments to 58284 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#58284; Package emacs. (Tue, 04 Oct 2022 05:37:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Katsumi Yamaoka <yamaoka <at> jpl.org>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Tue, 04 Oct 2022 05:37:02 GMT) Full text and rfc822 format available.

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

From: Katsumi Yamaoka <yamaoka <at> jpl.org>
To: bug-gnu-emacs <at> gnu.org
Subject: 29.0.50; advice error for advised function with no docstring
Date: Tue, 04 Oct 2022 14:35:43 +0900
Hi,

I found `C-h f' to not work for some advised functions.
It seems to happen when an original function has no docstring.
Here is a recipe:

(progn
  (defun foo () t)
  (defadvice foo (around testing activate) "" ad-do-it)
  (documentation 'foo))

Thanks.

In GNU Emacs 29.0.50 (build 1, x86_64-pc-cygwin, GTK+ Version
 3.22.28, cairo version 1.17.4) of 2022-10-04 built on localhost
Windowing system distributor 'The Cygwin/X Project', version 11.0.12101004
Configured using:
 'configure 'CFLAGS=-O0 -g3' --verbose --with-x-toolkit=gtk3
 --with-imagemagick'




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#58284; Package emacs. (Tue, 04 Oct 2022 10:51:02 GMT) Full text and rfc822 format available.

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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Katsumi Yamaoka <yamaoka <at> jpl.org>
Cc: 58284 <at> debbugs.gnu.org
Subject: Re: bug#58284: 29.0.50; advice error for advised function with no
 docstring
Date: Tue, 04 Oct 2022 12:50:01 +0200
Katsumi Yamaoka <yamaoka <at> jpl.org> writes:

> I found `C-h f' to not work for some advised functions.
> It seems to happen when an original function has no docstring.
> Here is a recipe:
>
> (progn
>   (defun foo () t)
>   (defadvice foo (around testing activate) "" ad-do-it)
>   (documentation 'foo))

I've now fixed this in Emacs 29.




bug marked as fixed in version 29.1, send any further explanations to 58284 <at> debbugs.gnu.org and Katsumi Yamaoka <yamaoka <at> jpl.org> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Tue, 04 Oct 2022 10:51:03 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. (Tue, 01 Nov 2022 11:24:09 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 228 days ago.

Previous Next


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