From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jean Louis Newsgroups: gmane.emacs.bugs Subject: bug#45926: Tabulated-list-mode wasteful properties Date: Wed, 21 Apr 2021 07:36:14 +0300 Message-ID: References: <20210117073252.k7f2x35lq3labahe@E15-2016.optimum.net> <87wnwb1y31.fsf@tcd.ie> <20210117151128.kwzzacivle4ecsfs@E15-2016.optimum.net> <878s8ppkgp.fsf@gnus.org> <20210312025709.cdqb6fl5cr7wa3dt@E15-2016.optimum.net> <87czw4hcg9.fsf@tcd.ie> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5206"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mutt/2.0.6 (2021-03-06) Cc: Lars Ingebrigtsen , Stefan Kangas , Boruch Baum , 45926@debbugs.gnu.org To: "Basil L. Contovounesios" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Apr 21 06:39:10 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1lZ4dq-0001BA-9v for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 21 Apr 2021 06:39:10 +0200 Original-Received: from localhost ([::1]:60022 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lZ4dp-0002Is-0a for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 21 Apr 2021 00:39:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40626) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lZ4di-0002HW-HR for bug-gnu-emacs@gnu.org; Wed, 21 Apr 2021 00:39:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:45151) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lZ4di-0001eg-61 for bug-gnu-emacs@gnu.org; Wed, 21 Apr 2021 00:39:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lZ4di-0003cM-3m for bug-gnu-emacs@gnu.org; Wed, 21 Apr 2021 00:39:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Jean Louis Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 21 Apr 2021 04:39:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45926 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo notabug Original-Received: via spool by 45926-submit@debbugs.gnu.org id=B45926.161897993113888 (code B ref 45926); Wed, 21 Apr 2021 04:39:02 +0000 Original-Received: (at 45926) by debbugs.gnu.org; 21 Apr 2021 04:38:51 +0000 Original-Received: from localhost ([127.0.0.1]:56697 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lZ4dT-0003bq-3H for submit@debbugs.gnu.org; Wed, 21 Apr 2021 00:38:51 -0400 Original-Received: from stw1.rcdrun.com ([217.170.207.13]:36361) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lZ4dQ-0003bc-V1 for 45926@debbugs.gnu.org; Wed, 21 Apr 2021 00:38:45 -0400 Original-Received: from localhost ([::ffff:41.202.241.57]) (AUTH: PLAIN securesender, TLS: TLS1.3,256bits,ECDHE_RSA_AES_256_GCM_SHA384) by stw1.rcdrun.com with ESMTPSA id 0000000000029EB2.00000000607FAC4E.000074D2; Tue, 20 Apr 2021 21:38:37 -0700 Content-Disposition: inline In-Reply-To: <87czw4hcg9.fsf@tcd.ie> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:204575 Archived-At: * Basil L. Contovounesios [2021-03-12 13:52]: > Boruch Baum writes: > > > Doing it again now. Yes. It's very simple to check for yourself. Open a > > buffer that uses the mode and evaluate from any table line ... > > > > (buffer-substring (line-beginning-position) (line-end-position)) > > > > You should be able to clearly see all the duplication. It's easiest when > > you have pretty-print set up to display the output in a dedicated > > buffer, but even without that you can isearch through the duplications. > > Have you tried setting print-circle non-nil first? This will help you > see what is actually duplicated and what is shared. I have done that exercise where my tabulated-list-entries is only this: ⇒ ((320295 ["320295" "Boruch Baum" "Emacs Users"])) and (buffer-substring (line-beginning-position) (line-end-position)) gives me this: a ⇒ #(" 320295 Boruch Baum Emacs Users" 0 1 (tabulated-list-id 320295 tabulated-list-entry #1=["320295" "Boruch Baum" "Emacs Users"]) 1 7 (help-echo "ID: 320295" tabulated-list-column-name #3="ID" tabulated-list-id 320295 tabulated-list-entry #1#) 7 8 (tabulated-list-column-name #3# tabulated-list-id 320295 tabulated-list-entry #1#) 8 10 (display (space :align-to 10) tabulated-list-column-name #3# tabulated-list-id 320295 tabulated-list-entry #1#) 10 22 (help-echo "Name: Boruch Baum" tabulated-list-column-name #2="Name" tabulated-list-id 320295 tabulated-list-entry #1#) 22 23 (tabulated-list-column-name #2# tabulated-list-id 320295 tabulated-list-entry #1#) 23 51 (display (space :align-to 51) tabulated-list-column-name #2# tabulated-list-id 320295 tabulat ed-list-entry #1#) 51 62 (help-echo "Account: Emacs Users" tabulated-list-column-name "Account" tabulated-list-id 320295 tabulated-list-entry #1#)) If non-nil, shared substructures anywhere in the structure are printed with ‘#N=’ before the first occurrence (in the order of the print representation) and ‘#N#’ in place of each subsequent occurrence, where N is a positive decimal integer. Thus I can see that those are shared structures mostly. Jean Take action in Free Software Foundation campaigns: https://www.fsf.org/campaigns Sign an open letter in support of Richard M. Stallman https://stallmansupport.org/ https://rms-support-letter.github.io/