unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: uzibalqa <uzibalqa@proton.me>
To: uzibalqa <uzibalqa@proton.me>
Cc: Tim Landscheidt <tim@tim-landscheidt.de>,
	Bruno Barbier <brubar.cs@gmail.com>,
	help-gnu-emacs@gnu.org
Subject: Re: Format of lists and alists required for displaying lists of tabulated data
Date: Sun, 18 Jun 2023 13:51:32 +0000	[thread overview]
Message-ID: <m0W6_86GNRKWcFO5-hibb_rVso2a_3xRaYI4ToThtRrVVNP9RgmcT0tK_pKl0EmWyygRQALdQp5kt3PuOYX1tQepOUdZxagJCFZnfXZj8Cw=@proton.me> (raw)
In-Reply-To: <f1lXqTT6bQWXYLSzjlBrFxZovxuzi6MSCHvWP20Yu9sMN68bdg1iu-wBSFwfq3L5zmo0CESmuDZMPvrXBIsfS1BTz7Isd5N-rxvdvwUXFOM=@proton.me>






Sent with Proton Mail secure email.

------- Original Message -------
On Monday, June 19th, 2023 at 1:37 AM, uzibalqa <uzibalqa@proton.me> wrote:


> ------- Original Message -------
> On Sunday, June 18th, 2023 at 11:29 PM, Tim Landscheidt tim@tim-landscheidt.de wrote:
> 
> 
> 
> > uzibalqa uzibalqa@proton.me wrote:
> > 
> > > > > > > The file tabulated-list.el does not describe the format of lists and alists
> > > > > > > required for displaying lists of tabulated data.
> > > > > > > 
> > > > > > > Could some information be added, please ?
> > 
> > > > > > The documentation of 'tabulated-list-mode'
> > > > > > (describe-function 'tabulated-list-mode)
> > 
> > > > > > points to the documentation of 'tabulated-list-format' and the
> > > > > > documentation of 'tabulated-list-entries'.
> > 
> > > > > > Is that what you're looking for ?
> > 
> > > > > Yes, the description of tabulated-list-entries states that the input
> > > > > if a list, each element has the form (ID [DESC1 ... DESCN]).
> > 
> > > > > […]
> > 
> > > > 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?
> > 
> > > I am trying to print a header and also some text to the buffer, and
> > > not being successful.
> > 
> > > […]
> > 
> > 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.
> > 
> > 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).
> > 
> > Tim
> 
> 
> There are some problems with that code such as the use of -reduce-from

And forces dash and popwin which I don't like.  Could you help me write something similar
but with only standard calls without dependencies?



  reply	other threads:[~2023-06-18 13:51 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-16 21:08 Format of lists and alists required for displaying lists of tabulated data uzibalqa
2023-06-17  7:36 ` Bruno Barbier
2023-06-17 12:33   ` uzibalqa
2023-06-17 20:54     ` Tim Landscheidt
2023-06-18 10:36       ` uzibalqa
2023-06-18 11:29         ` Tim Landscheidt
2023-06-18 13:20           ` uzibalqa
2023-06-18 13:37           ` uzibalqa
2023-06-18 13:51             ` uzibalqa [this message]
2023-06-18 15:31     ` Jean Louis
2023-06-18 19:11       ` uzibalqa
2023-06-19 18:46         ` Jean Louis
2023-06-18 19:16       ` Christopher Dimech
2023-06-19 18:49         ` Jean Louis
2023-06-19 18:59           ` uzibalqa
2023-06-21  4:48             ` Jean Louis
2023-06-21 10:45               ` uzibalqa
2023-06-24 19:19                 ` Jean Louis

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='m0W6_86GNRKWcFO5-hibb_rVso2a_3xRaYI4ToThtRrVVNP9RgmcT0tK_pKl0EmWyygRQALdQp5kt3PuOYX1tQepOUdZxagJCFZnfXZj8Cw=@proton.me' \
    --to=uzibalqa@proton.me \
    --cc=brubar.cs@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=tim@tim-landscheidt.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).