From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Stephen J. Turnbull" Newsgroups: gmane.emacs.devel Subject: Re: Can ad-do-it be used in a function called from the defadvice code? Date: Thu, 02 Jul 2009 01:48:38 +0900 Message-ID: <878wj8wdqx.fsf@uwakimon.sk.tsukuba.ac.jp> References: <55477.130.55.118.19.1246464163.squirrel@webmail.lanl.gov> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1246467033 16461 80.91.229.12 (1 Jul 2009 16:50:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 1 Jul 2009 16:50:33 +0000 (UTC) Cc: Emacs-Devel devel To: Lennart Borgman Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jul 01 18:50:26 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MM300-0003KA-L5 for ged-emacs-devel@m.gmane.org; Wed, 01 Jul 2009 18:49:33 +0200 Original-Received: from localhost ([127.0.0.1]:41686 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MM2zz-0001xU-S0 for ged-emacs-devel@m.gmane.org; Wed, 01 Jul 2009 12:49:31 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MM2zS-0001VM-1V for emacs-devel@gnu.org; Wed, 01 Jul 2009 12:48:58 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MM2zM-0001PH-BL for emacs-devel@gnu.org; Wed, 01 Jul 2009 12:48:56 -0400 Original-Received: from [199.232.76.173] (port=43269 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MM2zL-0001Ov-Tl for emacs-devel@gnu.org; Wed, 01 Jul 2009 12:48:51 -0400 Original-Received: from mtps01.sk.tsukuba.ac.jp ([130.158.97.223]:41177) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MM2zL-0006je-BF for emacs-devel@gnu.org; Wed, 01 Jul 2009 12:48:51 -0400 Original-Received: from uwakimon.sk.tsukuba.ac.jp (uwakimon.sk.tsukuba.ac.jp [130.158.99.156]) by mtps01.sk.tsukuba.ac.jp (Postfix) with ESMTP id 613E11537B6; Thu, 2 Jul 2009 01:48:47 +0900 (JST) Original-Received: by uwakimon.sk.tsukuba.ac.jp (Postfix, from userid 1000) id B87A71A3868; Thu, 2 Jul 2009 01:48:38 +0900 (JST) In-Reply-To: X-Mailer: VM 8.0.12-devo-585 under 21.5 (beta29) "garbanzo" 5bbff3553494 XEmacs Lucid (x86_64-unknown-linux) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:111865 Archived-At: Lennart Borgman writes: > Thanks Davis, but maybe you are right that it is hard to implement, > but on the other hand can't ad-do-it be left as a placeholder where > the correct function is called when needed. It does not seem to be > very much overhead to me since the let-binding structure is already > there and probably can be used with some mangling. And what do you do if there are multiple pieces of advice active? Which original function does is the "correct function" that this particular 'ad-do-it refers to?