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: master 1d9d07fb00e 3/3: (cl--typeof-types): Rework to fix some regressions Date: Wed, 06 Mar 2024 07:34:38 -0500 Message-ID: References: <170950733941.30552.13228431602613197760@vcs2.savannah.gnu.org> <20240303230900.51D39C12C5F@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="31159"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: emacs-devel@gnu.org, Eli Zaretskii To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Mar 06 13:35:37 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 1rhqUi-0007q4-UU for ged-emacs-devel@m.gmane-mx.org; Wed, 06 Mar 2024 13:35:37 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rhqU0-0000Qo-4D; Wed, 06 Mar 2024 07:34:52 -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 1rhqTq-0000FI-9n for emacs-devel@gnu.org; Wed, 06 Mar 2024 07:34:45 -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 1rhqTq-0003bI-0y; Wed, 06 Mar 2024 07:34:42 -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=uVe/wog+benLo/MtOZh4gozcymIhY6UIxCBosiLZH9s=; b=Qm/4LPyOGVYfAft9A6yZ C764E4mpwER8uLouUEYPeeGoJB3GVcOiXwoVmdwM8KXY+C1r198nUUz3rxmvU8xJvO6Pi1s4J6lhB rABlj7gfc9SzWjI+hbQ5ead0lfarFMfm9uWWS88Wvh1O5phSkGvmCPdcIPbDBOZ3H8bwmNHQcOjQv y91lOI135tHt/8ZoDQQwGG+cHXmSEMQUr/YwI5fPaq4RRZyLBaASiq3T9bOwA4NltpkV/2NNeiDyj dYwbG5D2Zz53910mWcZXrvce85MYyG1J1kSAnW/R2TVaLRPbHMK2QC8Dhfwdacu1JT1Y3MMseqZp1 esgat/6S0qK/1A==; Original-Received: from acorallo by fencepost.gnu.org with local (Exim 4.90_1) (envelope-from ) id 1rhqTm-0007ox-LB; Wed, 06 Mar 2024 07:34:39 -0500 In-Reply-To: (Stefan Monnier's message of "Tue, 05 Mar 2024 13:06:22 -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:316856 Archived-At: Stefan Monnier writes: >> I see, ATM in objects.texi we have before the DAG "The Lisp Type >> Hierarchy for primitive types can be represented as follows:". > > Oh, of course, I knew that [ he said, fumbling wildly. ] > >> For "primitive types" I meant types which comes to the user preloaded. >> Anyway I think we have either to change the doc or the DAG to be >> coherent. > > Yeah, `transient-*` definitely doesn't count as "primitive types". > And neither do `xref-elisp-location` and `frameset-register`. > >> In the manual I'd personally expect to see only the primitive >> (preloaded/predefined?) types, but maybe it's just me. > > The types I manually listed in `syncdoc-type-hierarchy.el` can be > removed (or changed) at will. I don't have a strong opinion about them. > >> This leads me >> wondering if syncdoc-type-hierarchy.el shouldn't automatically render >> the DAG using all types of an emacs -Q using like to >> 'comp--compute-typeof-types' to pick all types defined ATM. It would be >> less arbitrary but maybe too verbose? > > It would still be fairly arbitrary, IMO, but easier to justify :-) > We'd probably want to weed out some of the internal types that could > show up, tho. Agree. Okay I'll try to produce something with the preloaded types and we'll see how it looks. Thanks Andrea