From: Stephen Leake <stephen_leake@stephe-leake.org>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: emacs-devel <emacs-devel@gnu.org>
Subject: Re: Warning: Non-symbol arguments to cl-defgeneric
Date: Sat, 09 Jul 2022 16:40:59 -0700 [thread overview]
Message-ID: <86czedj1mc.fsf@stephe-leake.org> (raw)
In-Reply-To: <jwvpmieb8u5.fsf-monnier+emacs@gnu.org> (Stefan Monnier's message of "Sat, 09 Jul 2022 11:33:50 -0400")
Stefan Monnier <monnier@iro.umontreal.ca> writes:
>> (cl-defgeneric wisi-parser-transaction-log-buffer-name ((parser wisi-parser))
>> "Return a buffer name for the transaction log buffer.")
>
> The arglist here puts a `wisi-parser` specializer on the arg.
> That's something you can do in `cl-defmethod` but not in `cl-defgeneric`
> (where you can only specify the general shape of the arglist).
Ah, right. Thanks. That does fix the problem.
--
-- Stephe
prev parent reply other threads:[~2022-07-09 23:40 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-07-09 10:57 Warning: Non-symbol arguments to cl-defgeneric Stephen Leake
2022-07-09 11:00 ` Stefan Kangas
2022-07-09 15:33 ` Stefan Monnier
2022-07-09 23:40 ` Stephen Leake [this message]
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=86czedj1mc.fsf@stephe-leake.org \
--to=stephen_leake@stephe-leake.org \
--cc=emacs-devel@gnu.org \
--cc=monnier@iro.umontreal.ca \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).