GNU bug report logs - #12951
24.3.50; adviced functions have no docstring

Previous Next

Package: emacs;

Reported by: "Roland Winkler" <winkler <at> gnu.org>

Date: Wed, 21 Nov 2012 14:19:02 UTC

Severity: normal

Found in version 24.3.50

Fixed in version 24.3

Done: "Roland Winkler" <winkler <at> gnu.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 12951 in the body.
You can then email your comments to 12951 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#12951; Package emacs. (Wed, 21 Nov 2012 14:19:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to "Roland Winkler" <winkler <at> gnu.org>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Wed, 21 Nov 2012 14:19:02 GMT) Full text and rfc822 format available.

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

From: "Roland Winkler" <winkler <at> gnu.org>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.3.50; adviced functions have no docstring
Date: Wed, 21 Nov 2012 08:17:29 -0600
cat > ~/foo.el <<EOF
(defadvice beginning-of-buffer (before deactivate-mark activate)
  "Add friendly greeting."
  (message "Hello world.  This function is advised")
  (sit-for 1))
EOF

emacs -Q -l ~/foo.el
C-h f beginning-of-buffer

Emacs says that this function is advised and it displays the
docstring of the advice. But the original docstring of
beginning-of-buffer is not displayed.

No such problem with emacs 23.1 which displays both the original
docstring and the docstring of the advice.



In GNU Emacs 24.3.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.20.1)
 of 2012-11-10 on regnitz
Bzr revision: 110864 rgm <at> gnu.org-20121110231943-kjpn4lpf1zv3iulx
Windowing system distributor `The X.Org Foundation', version 11.0.10706000
System Description:	Ubuntu 10.04.4 LTS




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#12951; Package emacs. (Wed, 21 Nov 2012 17:01:02 GMT) Full text and rfc822 format available.

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

From: Glenn Morris <rgm <at> gnu.org>
To: "Roland Winkler" <winkler <at> gnu.org>
Cc: 12951 <at> debbugs.gnu.org
Subject: Re: bug#12951: 24.3.50; adviced functions have no docstring
Date: Wed, 21 Nov 2012 11:58:56 -0500
"Roland Winkler" wrote:

> But the original docstring of beginning-of-buffer is not displayed.
[...]
> In GNU Emacs 24.3.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.20.1)
>  of 2012-11-10 on regnitz

It is for me in the current trunk. Yours is somewhat old.




Reply sent to "Roland Winkler" <winkler <at> gnu.org>:
You have taken responsibility. (Wed, 21 Nov 2012 19:10:01 GMT) Full text and rfc822 format available.

Notification sent to "Roland Winkler" <winkler <at> gnu.org>:
bug acknowledged by developer. (Wed, 21 Nov 2012 19:10:02 GMT) Full text and rfc822 format available.

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

From: "Roland Winkler" <winkler <at> gnu.org>
To: Glenn Morris <rgm <at> gnu.org>
Cc: 12951-done <at> debbugs.gnu.org
Subject: Re: bug#12951: 24.3.50; adviced functions have no docstring
Date: Wed, 21 Nov 2012 13:08:11 -0600
Version: 24.3

On Wed Nov 21 2012 Glenn Morris wrote:
> "Roland Winkler" wrote:
> > But the original docstring of beginning-of-buffer is not displayed.
> [...]
> > In GNU Emacs 24.3.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.20.1)
> >  of 2012-11-10 on regnitz
> 
> It is for me in the current trunk. Yours is somewhat old.

Thanks, you are right. I recompiled using the current trunk.
Docstrings are now again displayed as expected.




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

This bug report was last modified 12 years and 179 days ago.

Previous Next


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