GNU bug report logs - #10392
mention ad-handle-definition startup warnings

Previous Next

Package: emacs;

Reported by: jidanni <at> jidanni.org

Date: Wed, 28 Dec 2011 21:26:02 UTC

Severity: minor

Tags: notabug

Done: Glenn Morris <rgm <at> gnu.org>

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: Glenn Morris <rgm <at> gnu.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#10392: closed (mention ad-handle-definition startup warnings)
Date: Fri, 06 Jan 2012 20:20:01 +0000
[Message part 1 (text/plain, inline)]
Your message dated Fri, 06 Jan 2012 15:15:25 -0500
with message-id <fehvcio4i.fsf <at> fencepost.gnu.org>
and subject line Re: bug#10392: mention ad-handle-definition startup warnings
has caused the debbugs.gnu.org bug report #10392,
regarding mention ad-handle-definition startup warnings
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
10392: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=10392
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: jidanni <at> jidanni.org
To: bug-gnu-emacs <at> gnu.org
Cc: yamaoka <at> jpl.org
Subject: mention ad-handle-definition startup warnings
Date: Thu, 29 Dec 2011 05:22:55 +0800
X-Debbugs-Cc: yamaoka <at> jpl.org

(info "(elisp) Advising Functions")
doesn't mention that e.g., putting

(defadvice gnus-summary-select-article-buffer (after jump-to-html-part
						     activate)
  "Jump to an html part that emacs-w3m rendered, if any."
  (unless (get-text-property (point) 'mm-inline-text-html-with-w3m)
    (let ((pos (text-property-any (point-min) (point-max)
				  'mm-inline-text-html-with-w3m t)))
      (gnus-goto-char pos))))

in .gnus.el will cause startup warnings

   ad-handle-definition: `gnus-summary-select-article-buffer' got redefined

for the rest of one's life, with no mention of workarounds to turn them
off either.


[Message part 3 (message/rfc822, inline)]
From: Glenn Morris <rgm <at> gnu.org>
To: 10392-done <at> debbugs.gnu.org
Subject: Re: bug#10392: mention ad-handle-definition startup warnings
Date: Fri, 06 Jan 2012 15:15:25 -0500
tags 10392 notabug
stop

jidanni <at> jidanni.org wrote:

> doesn't mention that e.g., putting
>
> (defadvice gnus-summary-select-article-buffer (after jump-to-html-part
> 						     activate)
>   "Jump to an html part that emacs-w3m rendered, if any."
>   (unless (get-text-property (point) 'mm-inline-text-html-with-w3m)
>     (let ((pos (text-property-any (point-min) (point-max)
> 				  'mm-inline-text-html-with-w3m t)))
>       (gnus-goto-char pos))))
>
> in .gnus.el will cause startup warnings
>
>    ad-handle-definition: `gnus-summary-select-article-buffer' got redefined

By itself, it does not.

> for the rest of one's life, with no mention of workarounds to turn them
> off either.

C-h v ad-redefinition-action


Ask on help-gnu-emacs if you need more explanation about using advice.


This bug report was last modified 13 years and 133 days ago.

Previous Next


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