emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] join two or more tables


From: Achim Gratz
Subject: Re: [O] join two or more tables
Date: Sun, 18 Aug 2019 12:49:22 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux)

Uwe Brauer writes:
> Thanks I knew about it, but it seems very sophisticated and column, not
> row based.

Well, if simple-minded suits you (i.e. the columns are known to have the
same order):

Tables in Org are lists with rows as their elements, and a row is either
a symbol or a list of column elements.  So just concatenating the two
lists does (almost) the right thing.  If you know the row has headers,
you need to skip until the first real data row in the second table
(i.e. skip the first row, the first header and then resume the concat).

Your other option is just grabbing the text of both tables, emit it as a
single entity (again you may want to remove the header on the second
table) and then call org-align-table on it.


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

SD adaptations for KORG EX-800 and Poly-800MkII V0.9:
http://Synth.Stromeko.net/Downloads.html#KorgSDada




reply via email to

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