Subject: bug#3984: 23.0.96; defadvice of call-interactively defeats interactive-p

From: Kai Tetzlaff <[email-masked]>
Date: Mon, 10 Oct 2011 08:00:18 +0200

I'm using icicles and just ran into this bug with emacs compiled from
bzr. The function count-words-region has been changed to use
called-interactively-p to check for interactive use. As reported, the
check fails when icicles is turned on. As there are >300 places under
the emacs lisp/ directory alone which use called-interactively-p, it
would really be great, if it could be made more robust.

In GNU Emacs 24.0.90.6 (x86_64-apple-darwin10.8.0, NS apple-appkit-1038.36)
 of 2011-10-09 on mack.tetzco.de
Windowing system distributor `Apple', version 10.3.1038
configured using `configure  'CC=clang' 'CFLAGS=-g -O0' 'LDFLAGS=-g' '--with-ns' '--with-gnutls''