GNU bug report logs - #42322
26.3; doc string of `cl-defmethod'

Previous Next

Package: emacs;

Reported by: Drew Adams <drew.adams <at> oracle.com>

Date: Sat, 11 Jul 2020 15:51:02 UTC

Severity: minor

Tags: fixed

Found in version 26.3

Fixed in version 28.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 42322 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Drew Adams <drew.adams <at> oracle.com>
Cc: 42322 <at> debbugs.gnu.org
Subject: Re: bug#42322: 26.3; doc string of `cl-defmethod'
Date: Wed, 09 Dec 2020 14:53:06 +0100
Drew Adams <drew.adams <at> 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




This bug report was last modified 4 years and 165 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.