From: Lars Ingebrigtsen <larsi@gnus.org>
To: Drew Adams <drew.adams@oracle.com>
Cc: 42322@debbugs.gnu.org
Subject: bug#42322: 26.3; doc string of `cl-defmethod'
Date: Wed, 09 Dec 2020 14:53:06 +0100 [thread overview]
Message-ID: <87blf33x31.fsf@gnus.org> (raw)
In-Reply-To: <73e5a804-037c-4d82-af32-ef00be63ebd8@default> (Drew Adams's message of "Sat, 11 Jul 2020 08:50:03 -0700 (PDT)")
Drew Adams <drew.adams@oracle.com> writes:
> C-h f cl-defmethod:
>
> (cl-defmethod NAME [QUALIFIER] ARGS &rest [DOCSTRING] BODY)
>
> Define a new method for generic function NAME.
> I.e. it defines the implementation of NAME to use for invocations where the
> values of the dispatch arguments match the specified TYPEs.
> The dispatch arguments have to be among the mandatory arguments, and
> all methods of NAME have to use the same set of arguments for dispatch.
> Each dispatch argument and TYPE are specified in ARGS where the corresponding
> formal argument appears as (VAR TYPE) rather than just VAR.
>
> Please say that by "dispatch arguments" you mean ARGS.
> Please say what the form of ARGS is, as the way to introduce TYPE.
>
> Currently, TYPE appears before any description of what it stands for and
> where it occurs (in fact, there is no such clear description of it).
This is now fixed in Emacs 28.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
prev parent reply other threads:[~2020-12-09 13:53 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-07-11 15:50 bug#42322: 26.3; doc string of `cl-defmethod' Drew Adams
2020-12-09 13:53 ` Lars Ingebrigtsen [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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87blf33x31.fsf@gnus.org \
--to=larsi@gnus.org \
--cc=42322@debbugs.gnu.org \
--cc=drew.adams@oracle.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.