From: Jean Louis <bugs@gnu.support>
To: Heime <heimeborgia@protonmail.com>
Cc: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Re: Inserting tables programatically in elisp
Date: Sat, 5 Nov 2022 13:05:58 +0300 [thread overview]
Message-ID: <Y2Y1hgcITEqtRRAp@protected.localdomain> (raw)
In-Reply-To: <6G8r6Q0wA7TY17mTPQagC7PryWleqGax0pOrX8L2xjoiPqsFkn9baSX9lFxMC6HYwVK2H1EHc0rM8cGdPDaVLmUoflOoERNI0wbf_Ro0TZg=@protonmail.com>
* 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/
next prev parent reply other threads:[~2022-11-05 10:40 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-05 7:41 Inserting tables programatically in elisp Heime
2022-11-05 8:49 ` Ihor Radchenko
2022-11-05 9:20 ` Heime
2022-11-05 9:02 ` Jean Louis
2022-11-05 9:26 ` Heime
2022-11-05 10:05 ` Jean Louis [this message]
2022-11-05 10:23 ` Jean Louis
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Y2Y1hgcITEqtRRAp@protected.localdomain \
--to=bugs@gnu.support \
--cc=emacs-orgmode@gnu.org \
--cc=heimeborgia@protonmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.