From: Stefan Monnier <monnier@IRO.UMontreal.CA>
To: Pierre Lorenzon <devel@pollock-nageoire.net>
Cc: 20801-close@debbugs.gnu.org
Subject: bug#20801: 25.0.50; (apply 'cl-call-next-method does not work
Date: Sat, 13 Jun 2015 10:18:17 -0400 [thread overview]
Message-ID: <jwv7fr7k846.fsf-monnier+emacsbugs@gnu.org> (raw)
In-Reply-To: <20150613.084407.1702105313557142553.devel@pollock-nageoire.net> (Pierre Lorenzon's message of "Sat, 13 Jun 2015 08:44:07 +0200 (CEST)")
tags 20801 notabug
thanks
That's a simple bug in your code. `call-next-method' is not a function
of cl-defmethod (it's a compatibility function of eieio-compat, IOW only
usable inside an EIEIO `defmethod'). Also, use #' rather than ' to
quote the function symbol since those function are lexically scoped,
which can't work for functions that are quoted with a single quote.
> (cl-defmethod say ((this daughter1)
> &optional fmt &rest arguments)
> (apply 'call-next-method
^^
#'cl-
-- Stefan
next prev parent reply other threads:[~2015-06-13 14:18 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-13 6:44 bug#20801: 25.0.50; (apply 'cl-call-next-method does not work Pierre Lorenzon
2015-06-13 12:53 ` Pierre Lorenzon
2015-06-13 14:18 ` Stefan Monnier [this message]
2015-06-13 17:25 ` Pierre Lorenzon
2015-06-13 20:00 ` Stefan Monnier
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=jwv7fr7k846.fsf-monnier+emacsbugs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=20801-close@debbugs.gnu.org \
--cc=devel@pollock-nageoire.net \
/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.