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: Fri, 01 Mar 2024 03:36:05 -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="25684"; 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 Fri Mar 01 09:36:58 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 1rfyO2-0006Pi-8t for ged-emacs-devel@m.gmane-mx.org; Fri, 01 Mar 2024 09:36:58 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rfyNQ-00049P-3R; Fri, 01 Mar 2024 03:36:20 -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 1rfyNK-0003za-2U for emacs-devel@gnu.org; Fri, 01 Mar 2024 03:36:14 -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 1rfyNJ-0003GW-Oo; Fri, 01 Mar 2024 03:36:13 -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=2ngQezYWub/lzVDi3Z4y0uUCDxnNZRBlB9ngqs02ULQ=; b=IYMrqx2vwtm85m5YP/BA 0OB/JRSbTpAVqxs5HLahhK9Xcv1pj9tunV8SiQ/QMSANVtOmKqXIBawSkRw8jCWiBF/UMI4vLrbZk iYfsSCJvEGLcFLiC1eniei6D7pJ3QMppAw3P+dRtwcVFbvljjndCYxkUg+QLFqgPHNdbxsaNZRIj3 4xaGAR2qbJCV27zKLx6iPElCobpYrkw7OgIAVt1nK5oVnOWqLRo9UNVYgK9t1IINTYQ1RgbaugCHr myn32cjczq1UzoWJqIj63YgTsS7WSF5q6QW0s04W8nJukViJZBJPdY3bcpU/4bN1HBQ5JSKtfrRoj k+lgvRh64gebnw==; Original-Received: from acorallo by fencepost.gnu.org with local (Exim 4.90_1) (envelope-from ) id 1rfyND-0008My-CI; Fri, 01 Mar 2024 03:36:12 -0500 In-Reply-To: (Andrea Corallo's message of "Mon, 26 Feb 2024 12:50:27 -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:316652 Archived-At: Andrea Corallo writes: > 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 Okay I've merged this into master with c55694785e9. As usual happy to work on it further there if necessary or to see it improved by others. Thanks Andrea