[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Inserting tables programatically in elisp
From: |
Jean Louis |
Subject: |
Re: Inserting tables programatically in elisp |
Date: |
Sat, 5 Nov 2022 13:05:58 +0300 |
User-agent: |
Mutt/2.2.7+37 (a90f69b) (2022-09-02) |
* Heime <heimeborgia@protonmail.com> [2022-11-05 12:27]:
> > And now the final result:
> >
> > (rcd-org-table my-table) ⇒ "
> > | ID | Description | Amount |
> > |------+--------------------+--------|
> > | 1.00 | Payment for domain | 10.50 |
> > | 2.00 | Transfer from Doe | 250.00 |
> >
> > "
>
> The problem I see is that the code assumes use of org-mode, whereas
> I am interested in more general tables in any buffer. At first
> perhaps just making a table for display rather than for user
> interaction.
Me too, that is what I do.
The output of that function is string, not "Org". The table format is
in Org format.
Once you have got table as string, you may use Org export functions to
get for example nicely formatted Unicode table.
Mix anything.
--
Jean
Take action in Free Software Foundation campaigns:
https://www.fsf.org/campaigns
In support of Richard M. Stallman
https://stallmansupport.org/