[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 23.0.50; interactive-form on advised commands returns compiled advic
From: |
T. V. Raman |
Subject: |
Re: 23.0.50; interactive-form on advised commands returns compiled advice |
Date: |
Mon, 10 Sep 2007 06:16:05 -0700 |
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 <address@hidden> 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 address@hidden
Stefan> http://lists.gnu.org/mailman/listinfo/emacs-devel
--
Best Regards,
--raman
Email: address@hidden
WWW: http://emacspeak.sf.net/raman/
AIM: emacspeak GTalk: address@hidden
PGP: http://emacspeak.sf.net/raman/raman-almaden.asc
Google: tv+raman
IRC: irc://irc.freenode.net/#emacs