help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Format of lists and alists required for displaying lists of tabulate


From: uzibalqa
Subject: Re: Format of lists and alists required for displaying lists of tabulated data
Date: Sun, 18 Jun 2023 13:51:32 +0000





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 via email to

[Prev in Thread] Current Thread [Next in Thread]