From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#73505: EIEIO manual out of date, doesn't reflect current functionality Date: Fri, 27 Sep 2024 16:01:46 +0300 Message-ID: <86h6a18d39.fsf@gnu.org> References: <93_8XMSOOu0_kIfElCZTcNDPXyZ0rUh6CXkKtDd-CGAYsSFXcWMggsZyqtlqrYmDQOVMziu5T8CIQ4zL0VrnpKVl85vZ4pCE-cXyL3rHL9Q=@proton.me> <86setl8tue.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="1172"; mail-complaints-to="usenet@ciao.gmane.io" Cc: zyd-p@proton.me, 73505@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Sep 27 15:02:53 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1suAcW-000AeV-Lk for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 27 Sep 2024 15:02:52 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1suAcF-0002Kh-EZ; Fri, 27 Sep 2024 09:02:35 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1suAcE-0002Ix-2D for bug-gnu-emacs@gnu.org; Fri, 27 Sep 2024 09:02:34 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1suAcD-0001pU-Om for bug-gnu-emacs@gnu.org; Fri, 27 Sep 2024 09:02:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=References:In-Reply-To:From:Date:To:Subject; bh=I74ckrUPxbwtEntu8YOVhUQFL15ThWqo+ky1nCW6Ey4=; b=YNzi13/e/zcAGrHOghGfaDHsLkmzyHMws+ewyF4IH71xosFL+GqJXawVrgYnRLKWlwpc9ipZYRQALfLrRK/7jSNbUEFXadk74jOh8Ib8IM9tCSkY7b9EFTNaeTnuRmkGyuFS5l1REF7reZpYXVx2EWd76v1jqcDz53ovilGYVeXj4gMNEQssgJIOCwLN220UoFHMeytVZQiSLB72LPXrehI3q6dlV1XGmM52nwxdzjwQNJsVmuT5KGgqttVRp146MZuZoTBM8CVcE9kN5MidmBOix0df4I1y7rRxpQxd5U7Jwb19h1SzfRNiyOzfkvnqjjPVEG0XoYKuqxuB5ZRF7w==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1suAcg-0001IZ-7R for bug-gnu-emacs@gnu.org; Fri, 27 Sep 2024 09:03:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 27 Sep 2024 13:03:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73505 X-GNU-PR-Package: emacs Original-Received: via spool by 73505-submit@debbugs.gnu.org id=B73505.17274421494906 (code B ref 73505); Fri, 27 Sep 2024 13:03:02 +0000 Original-Received: (at 73505) by debbugs.gnu.org; 27 Sep 2024 13:02:29 +0000 Original-Received: from localhost ([127.0.0.1]:59831 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1suAc8-0001Gy-2c for submit@debbugs.gnu.org; Fri, 27 Sep 2024 09:02:28 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:56540) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1suAc5-0001GV-Fm for 73505@debbugs.gnu.org; Fri, 27 Sep 2024 09:02:26 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1suAbV-0001Y8-Ml; Fri, 27 Sep 2024 09:01:49 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=I74ckrUPxbwtEntu8YOVhUQFL15ThWqo+ky1nCW6Ey4=; b=NUA/rPKDBDYO snoEafpMxCF56aWfwHpQDAunupdIuXE5q7F2miJqdVyCcSVJiJeegaXXOlAvUx1ihwYvrVrTJIVMZ P+s4LyTGc9Y3Q0ZdjzNvyrpb3hyPZKgxdydhKTQynjJNiF2miuCSz10pwVgM5kZEDx5pexNbnRNGf TAiarKKOBJ5Q4Kwd1Vq1kBnD75WDjBr9ijzQPAIlC9AFpFbHa85VPNemMr85MtcMgK4nM7EHiAOqN GcxA6hT7hatwfEjtrVuJOgD80Jy/r1YfA6v+9Sx1JTohPyN3PoymKM8b4zNhENCQmo4ATF5LeoGqM 7dRJEDOvoX1fbRsjEgAoMg==; In-Reply-To: (message from Stefan Monnier on Fri, 27 Sep 2024 08:48:07 -0400) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:292514 Archived-At: > From: Stefan Monnier > Cc: zyd , 73505@debbugs.gnu.org > Date: Fri, 27 Sep 2024 08:48:07 -0400 > > > But this isn't true at all, EIEIO has both of these features fully > > functional in fact. > > It's both true and false: > > - EIEIO "has" none of those things because the defmethod stuff is now > provided by something else than EIEIO. EIEIO only provides `defclass` > and associated functions (e.g. `slot-value`). > > - But yes, the text is out of date because you can now use these > features (with EIEIO objects, with defstruct objects, with > oclosure objects, ...). > > > The EIEIO manual states that it provides method functionality for > > Emacs Lisp. The manual has whole sections devoted to both > > cl-defmethod and cl-defgeneric and refers to them as part of its > > corpus. It has documentation for both. > > > > (info "(eieio) Generics") > > (info "(eieio) Methods") > > This structure is a left-over from when generics were provided by EIEIO. > We should clarify. Thanks, please suggest how to clarify.