--- Begin Message ---
Subject: |
mention ad-handle-definition startup warnings |
Date: |
Thu, 29 Dec 2011 05:22:55 +0800 |
X-Debbugs-Cc: address@hidden
(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.
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#10392: mention ad-handle-definition startup warnings |
Date: |
Fri, 06 Jan 2012 15:15:25 -0500 |
User-agent: |
Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) |
tags 10392 notabug
stop
address@hidden 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.
--- End Message ---