From: Michael Heerdegen <michael_heerdegen@web.de>
To: Yuan Fu <casouri@gmail.com>
Cc: 42590@debbugs.gnu.org
Subject: bug#42590: 27.0.91; Advice error for interactive commands
Date: Wed, 29 Jul 2020 19:41:35 +0200 [thread overview]
Message-ID: <87wo2mfcc0.fsf@web.de> (raw)
In-Reply-To: <B7E67629-1E59-4B92-8833-D7204F2DE8A5@gmail.com> (Yuan Fu's message of "Tue, 28 Jul 2020 21:58:25 -0400")
Yuan Fu <casouri@gmail.com> writes:
> To reproduce the issue, evaluate
>
> (advice-add 'backward-delete-char-untabify :after 'ignore)
>
> and hit backspace (which should call backward-delete-char-untabify), and
> an error occurs: apply: Wrong number of arguments: (1 . 2), 0
Had to think about it. But it's expected I think: `ignore' is
interactive, and as documented, its interactive spec overwrites the
interactive spec of the original function. And it doesn't fit.
So everything behaves as documented, it's your specified after advice
that causes the problem. Right?
Michael.
next prev parent reply other threads:[~2020-07-29 17:41 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-07-29 1:58 bug#42590: 27.0.91; Advice error for interactive commands Yuan Fu
2020-07-29 17:41 ` Michael Heerdegen [this message]
2020-07-29 19:21 ` Yuan Fu
2020-07-29 19:22 ` bug#42590: Fwd: " Yuan Fu
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=87wo2mfcc0.fsf@web.de \
--to=michael_heerdegen@web.de \
--cc=42590@debbugs.gnu.org \
--cc=casouri@gmail.com \
/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.