From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: uzibalqa Newsgroups: gmane.emacs.help Subject: Re: Format of lists and alists required for displaying lists of tabulated data Date: Sun, 18 Jun 2023 13:20:04 +0000 Message-ID: References: <648d6296.050a0220.f0b55.8bfc@mx.google.com> <87o7ldhksu.fsf@vagabond.tim-landscheidt.de> <87ttv580um.fsf@vagabond.tim-landscheidt.de> Mime-Version: 1.0 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="17750"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Bruno Barbier , help-gnu-emacs@gnu.org To: Tim Landscheidt Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jun 18 15:20:52 2023 Return-path: Envelope-to: geh-help-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 1qAsKp-0004Pg-N0 for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 18 Jun 2023 15:20:51 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qAsKN-00038p-RZ; Sun, 18 Jun 2023 09:20:23 -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 1qAsKM-00038S-Jo for help-gnu-emacs@gnu.org; Sun, 18 Jun 2023 09:20:22 -0400 Original-Received: from mail-4319.protonmail.ch ([185.70.43.19]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qAsKI-0003gS-OJ for help-gnu-emacs@gnu.org; Sun, 18 Jun 2023 09:20:22 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=proton.me; s=protonmail; t=1687094415; x=1687353615; bh=xeIX/6wckds1xCVy8vFXInN+tjVMYG9UdnnQg+Dq7VE=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=MP6vMYw2PGX/C0Zc3euO8P1XJ7kM5tpVjOS9/91aUq0dsmRemdVvGKpa7n3hqdTO7 vgNbWgtsNVmqUHOAd5BEJGWrNGulCx+6BP43txqIB+mKUw2icH2Z9usw/oD55w9C0u RoLN24wAhGo2Rk/aV2J+jmcTuKTXFDnULrtXNGJfAdv3dJCmAoHanITlxx8ODgz2hx ahyV6Xpotf6Ce9GHMKui3Rvxwo7hX3y9hjMjOmCSWv65jdYduaMRfCXnGRCdFFH3vu 92IRicCYW0r9weN7desU4+FqtEh/atnXm84KlO426W48iH951IzI36zjC2XqqirKle t07MauWls4x3A== In-Reply-To: <87ttv580um.fsf@vagabond.tim-landscheidt.de> Feedback-ID: 52887082:user:proton Received-SPF: pass client-ip=185.70.43.19; envelope-from=uzibalqa@proton.me; helo=mail-4319.protonmail.ch X-Spam_score_int: -30 X-Spam_score: -3.1 X-Spam_bar: --- X-Spam_report: (-3.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, RCVD_IN_MSPIKE_H5=-1, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_PASS=-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: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:143982 Archived-At: ------- Original Message ------- On Sunday, June 18th, 2023 at 11:29 PM, Tim Landscheidt wrote: > uzibalqa uzibalqa@proton.me wrote: >=20 > > > > > > The file tabulated-list.el does not describe the format of list= s and alists > > > > > > required for displaying lists of tabulated data. > > > > > >=20 > > > > > > Could some information be added, please ? >=20 > > > > > The documentation of 'tabulated-list-mode' > > > > > (describe-function 'tabulated-list-mode) >=20 > > > > > points to the documentation of 'tabulated-list-format' and the > > > > > documentation of 'tabulated-list-entries'. >=20 > > > > > Is that what you're looking for ? >=20 > > > > Yes, the description of tabulated-list-entries states that the inpu= t > > > > if a list, each element has the form (ID [DESC1 ... DESCN]). >=20 > > > > [=E2=80=A6] >=20 > > > Not only that, but it also explains what ID is and what DESC > > > can be and what effects it has. So what data have you set > > > tabulated-list-entries to and how does it fail to do what > > > you want? >=20 > > I am trying to print a header and also some text to the buffer, and > > not being successful. >=20 > > [=E2=80=A6] >=20 >=20 > That is not the purpose of tabulated-list-mode and will > likely not work. tabulated-list-mode is for buffers that > display an interactive table (and nothing else), like > list-packages, etc. >=20 > http://rgrinberg.com/posts/emacs-table-display/ has some > code to show how it can be used without defining a derived > mode (and how to populate tabulated-list-entries). >=20 > Tim So only a table ? Just a single table ? It should also be able to print a header I think. Are there any other routines to print a table in a buffe= r. I find the table implementation is quite limited.