From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Stephen Leake Newsgroups: gmane.emacs.devel Subject: (elisp) Generic Functions cl-defmethod documentation bug? Date: Mon, 01 Jan 2018 07:37:03 -0600 Message-ID: <868tdhvgxs.fsf@stephe-leake.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1514813756 2587 195.159.176.226 (1 Jan 2018 13:35:56 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 1 Jan 2018 13:35:56 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (windows-nt) To: emacs-devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jan 01 14:35:51 2018 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eW0Fn-00005q-J3 for ged-emacs-devel@m.gmane.org; Mon, 01 Jan 2018 14:35:47 +0100 Original-Received: from localhost ([::1]:58439 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eW0Hk-0004bc-SC for ged-emacs-devel@m.gmane.org; Mon, 01 Jan 2018 08:37:48 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43417) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eW0H8-0004bD-2n for emacs-devel@gnu.org; Mon, 01 Jan 2018 08:37:11 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eW0H5-0005XD-1A for emacs-devel@gnu.org; Mon, 01 Jan 2018 08:37:10 -0500 Original-Received: from smtp145.ord.emailsrvr.com ([173.203.6.145]:59925) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eW0H4-0005VZ-SF for emacs-devel@gnu.org; Mon, 01 Jan 2018 08:37:06 -0500 Original-Received: from smtp19.relay.ord1a.emailsrvr.com (localhost [127.0.0.1]) by smtp19.relay.ord1a.emailsrvr.com (SMTP Server) with ESMTP id 88BB2200BB for ; Mon, 1 Jan 2018 08:37:05 -0500 (EST) X-Auth-ID: board-president@tomahawk-creek-hoa.com Original-Received: by smtp19.relay.ord1a.emailsrvr.com (Authenticated sender: board-president-AT-tomahawk-creek-hoa.com) with ESMTPA id 32451200C6 for ; Mon, 1 Jan 2018 08:37:05 -0500 (EST) X-Sender-Id: board-president@tomahawk-creek-hoa.com Original-Received: from Takver4 (76-218-37-33.lightspeed.kscymo.sbcglobal.net [76.218.37.33]) by 0.0.0.0:587 (trex/5.7.12); Mon, 01 Jan 2018 08:37:05 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 173.203.6.145 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:221506 Archived-At: In the elisp manual node Generic Functions, the documentation for 'cl-defmethod' includes: =E2=80=98STRUCT-TAG=E2=80=99 The argument must be an instance of a class named STRUCT-TAG defined with =E2=80=98cl-defstruct=E2=80=99 (*note (cl)Structures= ::), or of one of its parent classes. Shouldn't 'parent classes' be 'child classes'? The method requires an object that has all the fields defined in the given struct; that is true of child classes, not parents. Unless I'm missing something. --=20 -- Stephe