From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: jidanni@jidanni.org Newsgroups: gmane.emacs.help Subject: Re: I need to turn off defadvice warnings Date: Fri, 13 Jan 2012 08:00:26 +0800 Message-ID: <87pqeosc85.fsf@jidanni.org> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1326412942 7168 80.91.229.12 (13 Jan 2012 00:02:22 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 13 Jan 2012 00:02:22 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: tassilo@member.fsf.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Jan 13 01:02:17 2012 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RlUb3-0000QP-L0 for geh-help-gnu-emacs@m.gmane.org; Fri, 13 Jan 2012 01:02:17 +0100 Original-Received: from localhost ([::1]:36886 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RlUb3-0000MP-0U for geh-help-gnu-emacs@m.gmane.org; Thu, 12 Jan 2012 19:02:17 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:41306) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RlUax-0000LR-0K for help-gnu-emacs@gnu.org; Thu, 12 Jan 2012 19:02:12 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RlUav-0004cc-Gl for help-gnu-emacs@gnu.org; Thu, 12 Jan 2012 19:02:10 -0500 Original-Received: from hapkido.dreamhost.com ([66.33.216.122]:32931) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RlUav-0004cB-6R for help-gnu-emacs@gnu.org; Thu, 12 Jan 2012 19:02:09 -0500 Original-Received: from homiemail-a37.g.dreamhost.com (caiajhbdcaib.dreamhost.com [208.97.132.81]) by hapkido.dreamhost.com (Postfix) with ESMTP id 07DF11B7364 for ; Thu, 12 Jan 2012 16:02:09 -0800 (PST) Original-Received: from homiemail-a37.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a37.g.dreamhost.com (Postfix) with ESMTP id 6E05920806B; Thu, 12 Jan 2012 16:02:06 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=jidanni.org; h=from:to:cc:subject :references:date:message-id:mime-version:content-type; q=dns; s= jidanni.org; b=D8a4idftVQuCo/0oOl3OSPgG0XJEiuzwIDobZ0P5LipiSkc79 5ROtm5IRQtVMHg18MZAoU5mLOKp6b2sADWURLRUdRDo1x7Li1BGIpAWyeCIsMCG0 KKhY686m+a1WusTTB8HYzFiYHI59/MIRb/JyuyclgTfiQEP7f4bEpfug5A= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=jidanni.org; h=from:to:cc :subject:references:date:message-id:mime-version:content-type; s=jidanni.org; bh=FvFnhtXKrvV7iaHGQ6jyjAzg44E=; b=ehNf72W5lfJRk cMxPC5puqiWDfUF6ggxrchKbNjiB/9IyIfOHsE7k9KlfGMmt8UkYGrlAPQULd1zU uP48GG4Mu4fYWXhZ/ss0NjnZ3AHJ+P1SYDoIKGFJzuYTwy3qGIo8U451cYyPJimZ HqjYgfAXB/h2EM0SabhnJDufMOqjqM= Original-Received: from jidanni.org (218-163-21-209.dynamic.hinet.net [218.163.21.209]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: jidanni@jidanni.org) by homiemail-a37.g.dreamhost.com (Postfix) with ESMTPSA id C4459208063; Thu, 12 Jan 2012 16:02:05 -0800 (PST) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4-2.6 X-Received-From: 66.33.216.122 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:83478 Archived-At: >>>>> "TH" == Tassilo Horn 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