From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "T. V. Raman" Newsgroups: gmane.emacs.devel,gmane.emacs.pretest.bugs Subject: Re: 23.0.50; interactive-form on advised commands returns compiled advice Date: Mon, 10 Sep 2007 06:16:05 -0700 Message-ID: <18149.17301.189511.214535@gargle.gargle.HOWL> References: <20070909234806.DBF2112A4546@localhost> Reply-To: raman@users.sf.net NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1189434896 9293 80.91.229.12 (10 Sep 2007 14:34:56 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 10 Sep 2007 14:34:56 +0000 (UTC) Cc: emacs-pretest-bug@gnu.org, raman@users.sf.net To: monnier@iro.umontreal.ca Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Sep 11 00:34:42 2007 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 1IUqc3-000874-Pu for ged-emacs-devel@m.gmane.org; Mon, 10 Sep 2007 23:16:08 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IUj7g-0004ys-Ti for ged-emacs-devel@m.gmane.org; Mon, 10 Sep 2007 09:16:16 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IUj7d-0004ym-VC for emacs-devel@gnu.org; Mon, 10 Sep 2007 09:16:13 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IUj7a-0004yZ-7k for emacs-devel@gnu.org; Mon, 10 Sep 2007 09:16:13 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IUj7a-0004yW-3d for emacs-devel@gnu.org; Mon, 10 Sep 2007 09:16:10 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IUj7Z-0000KJ-Qm for emacs-devel@gnu.org; Mon, 10 Sep 2007 09:16:09 -0400 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by fencepost.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IUj7C-0007VY-UU for emacs-pretest-bug@gnu.org; Mon, 10 Sep 2007 09:15:47 -0400 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1IUj7W-0000Jx-SD for emacs-pretest-bug@gnu.org; Mon, 10 Sep 2007 09:16:09 -0400 Original-Received: from rwcrmhc11.comcast.net ([204.127.192.81]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IUj7W-0000Jr-JH for emacs-pretest-bug@gnu.org; Mon, 10 Sep 2007 09:16:06 -0400 Original-Received: from localhost (c-71-202-191-236.hsd1.ca.comcast.net[71.202.191.236]) by comcast.net (rwcrmhc11) with ESMTP id <20070910131605m11003mqdee>; Mon, 10 Sep 2007 13:16:05 +0000 Original-Received: by localhost (Postfix, from userid 1000) id 3AC3712A4546; Mon, 10 Sep 2007 06:16:05 -0700 (PDT) In-Reply-To: X-Mailer: VM alpha-478 under Emacs 23.0.50.10 (i686-pc-linux-gnu) x-attribution: tvr X-Detected-Kernel: NetCache Data OnTap 5.x X-Detected-Kernel: 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:78443 gmane.emacs.pretest.bugs:19817 Archived-At: Hi Stefane, Here is a more accurate description of the problem. If you define an advice on a command, and in that advice you provide an interactive form, then calling interactive-form later on that function ends up returning what was created through the advice, and that turns out to be a piece of code. I'm hitting this because of how I end up having to advice commands like copy-to-register -- whose interactive forms wouldn't provide speech feedback otherwise. Just defining plain advice on commands does not cause interactive-form to lose -- things work correctly in that case. >>>>> "Stefan" == Stefan Monnier writes: >> Presently, interactive-form called on a command that has >> been adviced returns the compiled advice -- rather than >> the original interactive-form Stefan> Stefan> I don't understand what you mean by "returns the Stefan> compiled advice". Do you mean it doesn't return an Stefan> interactive form at all, but some piece of code Stefan> instead? Can you give a recipe, or at least a more Stefan> precise description (e.g. sample session). Stefan> Stefan> Stefan> Stefan Stefan> Stefan> Stefan> _______________________________________________ Stefan> Emacs-devel mailing list Emacs-devel@gnu.org Stefan> http://lists.gnu.org/mailman/listinfo/emacs-devel -- Best Regards, --raman Email: raman@users.sf.net WWW: http://emacspeak.sf.net/raman/ AIM: emacspeak GTalk: tv.raman.tv@gmail.com PGP: http://emacspeak.sf.net/raman/raman-almaden.asc Google: tv+raman IRC: irc://irc.freenode.net/#emacs