all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Tom Tromey <tom@tromey.com>
To: Michael Heerdegen <michael_heerdegen@web.de>
Cc: 18399@debbugs.gnu.org, Tom Tromey <tom@tromey.com>
Subject: bug#18399: 24.4.50; nadvice :filter-args -vs- interactive
Date: Wed, 03 Sep 2014 16:27:39 -0600	[thread overview]
Message-ID: <87iol4baqs.fsf@tromey.com> (raw)
In-Reply-To: <87zjegh1wj.fsf@web.de> (Michael Heerdegen's message of "Wed, 03 Sep 2014 22:42:04 +0200")

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





  reply	other threads:[~2014-09-03 22:27 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-03 20:01 bug#18399: 24.4.50; nadvice :filter-args -vs- interactive Tom Tromey
2014-09-03 20:42 ` Michael Heerdegen
2014-09-03 22:27   ` Tom Tromey [this message]
2014-09-04  2:59     ` Stefan Monnier
2014-09-04 13:13       ` Stefan Monnier
2014-09-04 15:44     ` Stefan Monnier
2014-09-04 23:11       ` Michael Heerdegen
2014-09-05  1:24         ` Stefan Monnier
2014-09-05 16:29           ` Michael Heerdegen
2014-09-06  5:40         ` Tom Tromey

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87iol4baqs.fsf@tromey.com \
    --to=tom@tromey.com \
    --cc=18399@debbugs.gnu.org \
    --cc=michael_heerdegen@web.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.