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

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

variable tabulated-list-format


From: John Haman
Subject: variable tabulated-list-format
Date: Sun, 16 Oct 2022 18:42:03 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.3.1

Hi everyone,

I'm working on a mode that derives from tabulated-list-mode. My idea is to display small data.frames from ESS-R-mode using tabulated-list. As I may have several data.frames at a time, I need the header (column names) to vary with each call.

Looking at the docs for tabulated-list-mode (https://www.gnu.org/software/emacs/manual/html_node/elisp/Tabulated-List-Mode.html), it looks like usage requires that my derived-mode specify the column names and meta-data (tabulated-lis-format) in my definition of the derived mode.

Is there is way to do make `tabulated-list-format' variable? (that is, pass data to the macro define-derived-mode ?)

-John





reply via email to

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