emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debbugs-tracker] bug#14734: closed (24.3.50; REGRESSION: defadvice brok


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#14734: closed (24.3.50; REGRESSION: defadvice broken wrt doc strings (C-h f))
Date: Thu, 27 Jun 2013 18:16:02 +0000

Your message dated Thu, 27 Jun 2013 14:15:22 -0400
with message-id <address@hidden>
and subject line Re: bug#14734: 24.3.50; REGRESSION: defadvice broken wrt doc 
strings (C-h f)
has caused the debbugs.gnu.org bug report #14734,
regarding 24.3.50; REGRESSION: defadvice broken wrt doc strings (C-h f)
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
14734: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=14734
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: 24.3.50; REGRESSION: defadvice broken wrt doc strings (C-h f) Date: Thu, 27 Jun 2013 10:08:41 -0700 (PDT)
emacs -Q

(defadvice isearch-forward (before isearch+-doc activate)
  "
Isearch Plus
============
...")

`C-h f isearch-forward' does not show this addition to the doc string
at all.  In Emacs 24.3 (and prior releases) there is no such bug.

Furthermore, in the dev snapshot, you see this from `C-h f':

 :around advice: `ad-Advice-isearch-forward'

That should NOT be shown.  That is internal, implementation info.  It is
also incorrect.  The advice is :before, not :around.

And besides missing the added doc string text, this text that introduces
it is also missing (present in Emacs 24.3 and prior, where the first
line is bright red and bold):

 This function is advised.

 Before-advice `isearch+-doc':

That is user-friendly info, and it is correct (:before, not :around).

In GNU Emacs 24.3.50.1 (i686-pc-mingw32)
 of 2013-06-20 on ODIEONE
Bzr revision: 113100 address@hidden
Windowing system distributor `Microsoft Corp.', version 6.1.7601
Configured using:
 `configure --prefix=/c/Devel/emacs/binary --enable-checking=yes,glyphs
 CFLAGS=-O0 -g3 LDFLAGS=-Lc:/Devel/emacs/lib
 CPPFLAGS=-Ic:/Devel/emacs/include'



--- End Message ---
--- Begin Message --- Subject: Re: bug#14734: 24.3.50; REGRESSION: defadvice broken wrt doc strings (C-h f) Date: Thu, 27 Jun 2013 14:15:22 -0400 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)
tags 14734 wontfix
thanks

>  :around advice: `ad-Advice-isearch-forward'
[...]
> It is also incorrect.  The advice is :before, not :around.

It is correct: the ad-Advice-isearch-forward advice is an around advice
(and it is not your advice, it's internal as you say).
If you click on it, you'll see your before advice, properly labeled.

If you don't want to see the internal thingy, then use the new
advice-add rather than the old defadvice.


        Stefan


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]