From: jidanni@jidanni.org
To: tassilo@member.fsf.org
Cc: help-gnu-emacs@gnu.org
Subject: Re: I need to turn off defadvice warnings
Date: Fri, 13 Jan 2012 08:00:26 +0800 [thread overview]
Message-ID: <87pqeosc85.fsf@jidanni.org> (raw)
In-Reply-To: mailman.1325.1325893818.15002.help-gnu-emacs@gnu.org
>>>>> "TH" == Tassilo Horn <tassilo@member.fsf.org> writes:
TH> jidanni@jidanni.org writes:
>> A friend told me to use
>> (defadvice gnus-summary-select-article-buffer ...
>>
>> But now I get
>> ad-handle-definition: `gnus-summary-select-article-buffer' got redefined
>> warnings.
>>
>> Is there anyway to turn them off?
TH> Don't simply turn off a warning, but check what causes it. In your
TH> case, the warning tells you that
TH> gnus-summary-select-article-buffer
TH> already has an advice on it. Your new defadvice deactivates the old
TH> piece of advice and activates the new one.
Well,
that would be nice,
if that was the case.
Unfortunately it is not,
as far as I can tell.
You are welcome to try,
it is all in
http://jidanni.org/comp/configuration/
Yes I had to use
(setq ad-redefinition-action 'accept)
to get it to shut up.
No, if I don't advise it, describe-function doesn't show where it was
advised previously.
No I don't know why this advise makes noise but my others don't.
Also if what you say is true, then I say the message ought to be
> ad-handle-definition: `gnus-summary-select-article-buffer'*S ADVICE* got redefined
next parent reply other threads:[~2012-01-13 0:00 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.1325.1325893818.15002.help-gnu-emacs@gnu.org>
2012-01-13 0:00 ` jidanni [this message]
2012-01-13 13:11 ` I need to turn off defadvice warnings Tassilo Horn
2012-01-06 22:47 jidanni
2012-01-06 22:47 ` jidanni
2012-01-06 23:49 ` Tassilo Horn
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87pqeosc85.fsf@jidanni.org \
--to=jidanni@jidanni.org \
--cc=help-gnu-emacs@gnu.org \
--cc=tassilo@member.fsf.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.