From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Andrea Corallo Newsgroups: gmane.emacs.devel Subject: Re: feature/type-hierarchy 8a63e50036f 1/5: * Define 'cl--type-hierarchy' and compute 'cl--typeof-types' from it Date: Mon, 04 Mar 2024 04:16:59 -0500 Message-ID: References: <170801660982.26727.13226947668211497607@vcs2.savannah.gnu.org> <20240215170330.82819C0F009@vcs2.savannah.gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6900"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Mar 04 10:18:04 2024 Return-path: Envelope-to: ged-emacs-devel@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 1rh4SP-0001Tu-Ou for ged-emacs-devel@m.gmane-mx.org; Mon, 04 Mar 2024 10:18:01 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rh4Rk-00041W-2s; Mon, 04 Mar 2024 04:17:21 -0500 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 1rh4RS-00040d-PX for emacs-devel@gnu.org; Mon, 04 Mar 2024 04:17:03 -0500 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 1rh4RR-0003mq-Sh; Mon, 04 Mar 2024 04:17:01 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=vzqvNkS/XTXhESWgjMaIszzUVvHDJR4lq4arX950OFM=; b=NnCvK9X5WMR2guAktbML npubXMM4Om3uSjlQWvMS0jPqoFFkqzepkPTMbz0aa0wPg8w+F3lTVXqxHrEmiKxzxUcSSVoDeRbNk AdPG4/i3j4mSeEFDfwsrEkCNshZPsU61rjovLxnFAwLZzpc/AxEgyDu/Ltn+DDXftRl7rd6KHSoXR Kxwc8MnlR9SlS+6H6TqIdpIjI9d9QLQMNsTOr63Y6zPKi1R26kNpKiRi3znuq4KyE//gCEv5EG1ou oXJ+WSotcxWLhx1TKkAFIvWkEzgO3D0RatDKWADRtl4qVVJRzpokcGVVarn9cmlS5/4rIzh9Crt/6 ep7p1WeFLi0aJQ==; Original-Received: from acorallo by fencepost.gnu.org with local (Exim 4.90_1) (envelope-from ) id 1rh4RQ-0002XH-0K; Mon, 04 Mar 2024 04:17:01 -0500 In-Reply-To: (Stefan Monnier's message of "Sun, 03 Mar 2024 15:41:01 -0500") X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:316782 Archived-At: Stefan Monnier writes: >> Mmmh for class and structure I thought because we have 'class-p' and >> 'cl-struct-p' we had the corresponding types (from which the user >> defined ones are derived). IIRC I've seen also in the past we have the >> class type. > > We do have types for them, but they're not built-in. > There's `cl--class`, `cl-structure-object`, `cl-structure-class`, and > some others I can't remember for EIEIO. Just to make sure we agree, what's the definition of built-in type? I think we should consider everything that comes preloaded in an emacs -Q no? I see those types are defined in my emacs -Q. Andrea