GNU bug report logs - #18399
24.4.50; nadvice :filter-args -vs- interactive

Previous Next

Package: emacs;

Reported by: Tom Tromey <tom <at> tromey.com>

Date: Wed, 3 Sep 2014 20:03:01 UTC

Severity: minor

Tags: notabug

Found in version 24.4.50

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: Tom Tromey <tom <at> tromey.com>
To: Michael Heerdegen <michael_heerdegen <at> web.de>
Cc: 18399 <at> debbugs.gnu.org, Tom Tromey <tom <at> tromey.com>
Subject: bug#18399: 24.4.50; nadvice :filter-args -vs- interactive
Date: Wed, 03 Sep 2014 16:27:39 -0600
Michael> According to the doc (of `add-function'), an filter-args advice
Michael> function has to accept exactly one argument (which is bound to
Michael> the list of given arguments).  So I think what you see is
Michael> expected.

Michael> I have stumbled over that behavior several times myself.

I looked at the docs again and I agree.  Sorry about the noise.  Perhaps
a note and/or a small example here would be nice for future users.  If
we were both fooled by this then perhaps others will be as well.

Tom




This bug report was last modified 10 years and 320 days ago.

Previous Next


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