From: Eric Abrahamsen <eric@ericabrahamsen.net>
To: emacs-devel@gnu.org
Subject: Re: cl-defmethod not compatible with defmethod?
Date: Fri, 12 Feb 2016 14:50:09 +0800 [thread overview]
Message-ID: <87wpqaa0da.fsf@ericabrahamsen.net> (raw)
In-Reply-To: 874mde79ua.fsf@gnus.org
Lars Ingebrigtsen <larsi@gnus.org> writes:
> If I have the following, everything works fine:
>
> (defmethod initialize-instance :AFTER ((this registry-db) slots)
>
> But I get a warning about defmethod being obsolete.
>
> However, with the following:
>
> (cl-defmethod initialize-instance :AFTER ((this registry-db) slots)
>
> compilation stops with
>
> gnus/nnregistry.el:34:1:Error: Unsupported qualifiers in function initialize-instance: (:AFTER)
>
> when trying to require the file where that cl-defmethod is...
The qualifiers are supposed to be lower case now.
(Sorry, I've been doing a bunch of eieio stuff recently...)
next prev parent reply other threads:[~2016-02-12 6:50 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-12 5:53 cl-defmethod not compatible with defmethod? Lars Ingebrigtsen
2016-02-12 6:50 ` Eric Abrahamsen [this message]
2016-02-12 7:34 ` Lars Ingebrigtsen
2016-02-12 7:26 ` Eli Zaretskii
2016-02-14 13:48 ` 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=87wpqaa0da.fsf@ericabrahamsen.net \
--to=eric@ericabrahamsen.net \
--cc=emacs-devel@gnu.org \
/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.