From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: master 1d9d07fb00e 3/3: (cl--typeof-types): Rework to fix some regressions Date: Tue, 05 Mar 2024 13:06:22 -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="14257"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: emacs-devel@gnu.org, Eli Zaretskii To: Andrea Corallo Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Mar 05 19:07:36 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 1rhZCR-0003Xc-OM for ged-emacs-devel@m.gmane-mx.org; Tue, 05 Mar 2024 19:07:35 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rhZBN-0000zY-Tf; Tue, 05 Mar 2024 13:06:29 -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 1rhZBM-0000zC-87 for emacs-devel@gnu.org; Tue, 05 Mar 2024 13:06:28 -0500 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rhZBK-0008B0-DP; Tue, 05 Mar 2024 13:06:27 -0500 Original-Received: from pmg1.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 783EA1002AC; Tue, 5 Mar 2024 13:06:24 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1709661983; bh=qlywrdzls/b0hT3xGj5wDlcQ79ykBLujd91FLwwcrgk=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=X4rKD1N8IhfGAkszqk+jX1g8zhGMTIiSKJhuUqRZFcu8Vr4P8qto/M6aSq5/o4OdW daa4aatyv/DBJ5yVzVH4U7O7BZ7ZBpFaePqM8Hp2HsF1ojA4CysOTzXrqps0W+G8zq An5tGCJFIW28D+y8FC6Fnia4aFDZlIvQmX4M9xaffgg7guA/bsooFMWWlPGPTmnXa8 A6PUcDxjDMly8kWlAJZ061CGWbKTBwn2W4eRG6NV5ZAREA71qxaizpT3YKTPtKSBll D7+ypuLyhGEnl4DvhQBEuRYensxZl7xIZPY5nyYlGkOhGuOghqcss8v0yxOqD3QYvR wuHEt2rrDzo6A== Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 7F719100245; Tue, 5 Mar 2024 13:06:23 -0500 (EST) Original-Received: from pastel (unknown [104.247.233.29]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 54E0E120646; Tue, 5 Mar 2024 13:06:23 -0500 (EST) In-Reply-To: (Andrea Corallo's message of "Tue, 05 Mar 2024 12:25:28 -0500") Received-SPF: pass client-ip=132.204.25.50; envelope-from=monnier@iro.umontreal.ca; helo=mailscanner.iro.umontreal.ca X-Spam_score_int: -42 X-Spam_score: -4.3 X-Spam_bar: ---- X-Spam_report: (-4.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action 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:316843 Archived-At: > 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. Stefan