GNU bug report logs - #3984
23.0.96; defadvice of call-interactively defeats interactive-p

Previous Next

Package: emacs;

Reported by: "Drew Adams" <drew.adams <at> oracle.com>

Date: Thu, 30 Jul 2009 22:45:04 UTC

Severity: minor

Done: Stefan Monnier <monnier <at> iro.umontreal.ca>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Ryan <rct <at> thompsonclan.org>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: 3984 <at> debbugs.gnu.org
Subject: bug#3984: 
Date: Thu, 19 Sep 2013 22:03:39 -0700
On a related note, what is the proper way to test for the new advice 
system? (featurep 'nadvice)?

Anyway, now that we have a fix for when call-interactively is advised, 
what do you want to do about the case where the called function is 
advised with the innermost advice being around? The only problem we 
really need to solve is being absolutely whether or not a given stack 
frame is the innermost function in an advice stack. The two options that 
I can see are a complete top-down search or modifying around advice so 
that it gives a consistent signature (e.g. by wrapping the advised 
function in a special lambda.

-Ryan




This bug report was last modified 11 years and 243 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.