Commit graph

2 commits

Author SHA1 Message Date
Jason Riedy dbfb234e7f Clean up orgtbl-sqlinsert.
Use the default fmt function, collect only the first header
line for field names, and don't call plist-get for the table
name on every line.

Signed-off-by: Jason Riedy <jason@acm.org>
2008-05-06 14:14:29 +02:00
Carsten Dominik 1508d31b6e Applied patch series from Jason Riedy.
You can slice a single table full of calculations in different ways
into separate destinations.  Or you can format the table differently.
There are many fun and exciting possible uses.

A fancier implementation would scan the document *once* for the
set of destinations.  That could help implement another function
to update all destinations from all sources.

Refactor orgtbl-to-generic; explicitly separate heading from body.
Support last-line specializers.
Allow functions for some orgtbl parameters.
Add a :remove-nil-lines parameter to orgtbl-to-generic.
2008-04-21 07:50:27 +02:00