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: Emacs object type hierarchy Date: Mon, 26 Feb 2024 12:50:27 -0500 Message-ID: References: <83y1ftmje7.fsf@gnu.org> <8334y0mdzd.fsf@gnu.org> <8634trv46k.fsf@gnu.org> <86le7hr2i0.fsf@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="5741"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: emacs-devel@gnu.org, stefankangas@gmail.com To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Feb 26 18:51:21 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 1ref8L-0001II-4s for ged-emacs-devel@m.gmane-mx.org; Mon, 26 Feb 2024 18:51:21 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ref7Z-0007fv-Tc; Mon, 26 Feb 2024 12:50:33 -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 1ref7W-0007bw-Ug for emacs-devel@gnu.org; Mon, 26 Feb 2024 12:50:30 -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 1ref7W-0000zA-M9; Mon, 26 Feb 2024 12:50:30 -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=RiDw7Cqb/I2iL6/XrV1NnwQUyz4B6D/5VmllzT64kNs=; b=YfVBL/ReGrBT32slHqZ+ VY2AHYh1uyvKs7PczGe+KMRCZ5BJKb7HQlZ0Lm8dy8lp7L8btM0384Mi5ZQtqi9bnbqLStt+4EAA5 ksAcdoc5QSJplb4W8fsVLa2eCQD0pUml6CpdetDYM3Q1MY0EomX34Efmtyhi6zZ4RiusSFSD4D51A R4cdcIKTwZlj2UNtzEmRBwpWuD0OG85TqCY2G6mmHP7Br2a1wHj6/tulb++aQ/26bXvt+Ke+n/Sc/ ZoM3xMN3sQLbN45tXVVeSoM/IInrO4Bfz5fs7PFw5nS3ga7n5nTCLpEyDwIL98oC0sSubi480IWi5 oOHCx60y7u/4VQ==; Original-Received: from acorallo by fencepost.gnu.org with local (Exim 4.90_1) (envelope-from ) id 1ref7T-000378-3n; Mon, 26 Feb 2024 12:50:30 -0500 In-Reply-To: (Andrea Corallo's message of "Mon, 19 Feb 2024 11:51:33 -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:316576 Archived-At: Andrea Corallo writes: > Andrea Corallo writes: > >> Eli Zaretskii writes: >> >>>> From: Andrea Corallo >>>> Cc: emacs-devel@gnu.org, stefankangas@gmail.com >>>> Date: Sun, 18 Feb 2024 14:23:14 -0500 >>>> >>>> >> Maybe a simple table would be just a better option for text? >>>> > >>>> > Could be, but how do you show a DAG in a table? >>>> >>>> I think is not possible to show the DAG in a table but we could describe >>>> it with a table like: >>>> >>>> | type | derived types | >>>> |---------+---------------------------------| >>>> | integer | bignum fixnum | >>>> | symbol | keyword boolean symbol-with-pos | >>>> ... >>>> >>>> Maybe is more readable? I'm not sure ATM what's the best option. >>> >>> I think such a table should be fin on TTY frames. You can use the >>> Texinfo @image machinery, which allows text replacements for when >>> images cannot be displayed. >> >> Agreed, the table is probably the best option we have. Okay I'll work >> in this direction. > > All right, I've implemented the generation of the table and replaced the > ascii art representation. It looks fine now in the info page on my TTY > frame. Hi all, any check/improvement we want still do on this? Or shall we merge it? Thanks Andrea