unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Making table structure based on values in numeric array
@ 2022-11-06  4:55 Heime
  2022-11-06  6:57 ` Jean Louis
  0 siblings, 1 reply; 3+ messages in thread
From: Heime @ 2022-11-06  4:55 UTC (permalink / raw)
  To: Heime via Users list for the GNU Emacs text editor


I want to make a table structure in the following manner.

(setq my-table
      '(("Feature"      ""  ""  "")  ; header
	("icomplt-horz" "xxxxx" "xxxxx" "xxxx")
	("icompt-vert"  "xxxxx" "xxxxx" "")
	("ivy"          "xxxxx" "xxxxx" "")
	("vertico"      "xxxxx" "" "")
	("helm"         "" "" "")))

But the number of "xxxxx" sections depends on an array "(setq selecrt [3 2 2 1 0])".
each number associated with the completion framework starting with "icomplt-horz".

3 means three sets of "xxxxx", 2 means two sets of "xxxxx", and so on.





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-11-06  8:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-11-06  4:55 Making table structure based on values in numeric array Heime
2022-11-06  6:57 ` Jean Louis
2022-11-06  8:48   ` Heime

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).