From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Yuan Fu Newsgroups: gmane.emacs.devel Subject: Re: Emacs object type hierarchy Date: Mon, 23 Oct 2023 20:37:34 -0700 Message-ID: References: Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.700.6\)) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28866"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Andrea Corallo Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Oct 24 05:38:45 2023 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 1qv8Ff-0007I6-4N for ged-emacs-devel@m.gmane-mx.org; Tue, 24 Oct 2023 05:38:43 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qv8Er-0006Ko-63; Mon, 23 Oct 2023 23:37:53 -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 1qv8Eo-0006KF-N7 for emacs-devel@gnu.org; Mon, 23 Oct 2023 23:37:50 -0400 Original-Received: from mail-pf1-x436.google.com ([2607:f8b0:4864:20::436]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qv8En-0005FO-49; Mon, 23 Oct 2023 23:37:50 -0400 Original-Received: by mail-pf1-x436.google.com with SMTP id d2e1a72fcca58-6b6f4c118b7so3293144b3a.0; Mon, 23 Oct 2023 20:37:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1698118666; x=1698723466; darn=gnu.org; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=J5/AST24EMo9Znvnp0LGa1LWhipTloVnMm14lPqLvII=; b=VpwqnscvJPjyqllduZvOfIOkvKdIU6EU7E2jF4SmY7Fl5GD8N5oNObOb66oKpp2ahz kIOAROa84SdW5Jh7zAfkiHKjnqf67zyD+jnIeJqA2d8sGifRd7oM8/6ZtKfXJ5saCtmP irKz06xPzaDei40gBlol3SF+VvvNWGgDOIMNrwp/ClDT4AM6NRUAQVIkADGsgUOM7IJd VVSgLJ6EgLYzAWRyGd84SBwC30qgqaHu7FidjWh2xbgEL1bncWikpjPC17vKPj0JfFJn 5RCV08i47qWAHuZiS6dzafR+xAgzY+jKbZH6Y1pIgwqmYkth3+TsjziXk+Sfj69s14Rf 6dkQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698118666; x=1698723466; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=J5/AST24EMo9Znvnp0LGa1LWhipTloVnMm14lPqLvII=; b=L99slD+1mcDaeI/dn/tdZ2hsGR0Px+AITrjTiE9wrGF6FFFZqb5S1Df+62TX8x6GAD oV5yuNpGLFIw8qMiHaSZK2Bpe93eMrrey3V0Tc0iOHW8N1kVJdZdyDfMLiEJ0F7gkHJf sBvtXjp3e7XYSvsjCvAfM9jYdsuKpN56v3GUCIta/BAhsbD+0R2I+IqhMmqhtSUZRBEp XI6z5+0FaIbAs7NhXmekidprMTxNzt/IXT04JogR8/C56eKjM2r0eWt08CGpQAhgYp5i t8pifAZczyVbEjNV9NlJ5OzTi4ew81dDcmWHWcCSrujVr73RVu+4u9szI/U93EGgAiKy mF2A== X-Gm-Message-State: AOJu0Yx86xcTFeDrBGh+jXGwgQ1T5OcG6XvcRRJWWqCtBjpgF06ejGMD RRS6MH8p/cSY2rcIqJosv7lmVkRWvrU= X-Google-Smtp-Source: AGHT+IHnG3XoZqdvGq+L1IlVSt7AXN9detTSBtQL/KnToYXdsKmGcC+bvpkvvWzZMvPNjSCv/A4QJg== X-Received: by 2002:a05:6a20:7488:b0:169:3769:2739 with SMTP id p8-20020a056a20748800b0016937692739mr1554508pzd.14.1698118666166; Mon, 23 Oct 2023 20:37:46 -0700 (PDT) Original-Received: from smtpclient.apple (cpe-172-117-161-177.socal.res.rr.com. [172.117.161.177]) by smtp.gmail.com with ESMTPSA id f6-20020a170902e98600b001ca23f2470bsm6699898plb.196.2023.10.23.20.37.45 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 23 Oct 2023 20:37:45 -0700 (PDT) In-Reply-To: X-Mailer: Apple Mail (2.3731.700.6) Received-SPF: pass client-ip=2607:f8b0:4864:20::436; envelope-from=casouri@gmail.com; helo=mail-pf1-x436.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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:311743 Archived-At: > On Oct 23, 2023, at 8:06 AM, Andrea Corallo wrote: >=20 > Yuan Fu writes: >=20 >>> On Oct 22, 2023, at 1:44 AM, Andrea Corallo = wrote: >>>=20 >>> Hello all, >>>=20 >>> for some develepment I need to have the type hierarchy definition, >>> something more detailed compared to what we have now in >>> `cl--typeof-types` (see bug#66615). Because of that I've been = trying to >>> reconstruct the type hierarchy of Emacs objects before coding it in. >>>=20 >>> So far this [1] is where I'm arrived at. >>>=20 >>> Do you spot any error? Any comment welcome. >>=20 >> I noticed that you included tree-sitter-parser in there. Then you = probably also want tree-sitter-node and tree-sitter-compiled-query. >>=20 >> Yuan >=20 > Hello Yuan, >=20 > I think they should be there already. Maybe they ended up far from > 'tree-sitter-parser' in the version you've seen, I've no control of = the > order graphviz decide to layout the objects in the graph. Ah, great. The image might be somehow cropped when I first viewed it so = I didn=E2=80=99t see the bottom bits. Yuan=