[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Orgmode] [PATCH 0/4] Adding orgtbl-to-orbtbl and cleaning orgtbl-to-sql
From: |
Jason Riedy |
Subject: |
[Orgmode] [PATCH 0/4] Adding orgtbl-to-orbtbl and cleaning orgtbl-to-sqlinsert. |
Date: |
Sun, 4 May 2008 18:54:39 -0700 |
I needed an orgtbl-to-orgtbl transformation when writing up
transformation examples. It seems pretty core, so I've
added it to org-table.el. The function needs a way to
suppress :tstart and :tend strings, so I added support
for explicit nils.
Cleaning up the orgtbl-to-sqlinsert function lead to some cute
little problems. One was that formatting columns with plist
would pass values through directly rather than quoting them.
So I a general *orgtbl-default-fmt* variable to handle all
columns that aren't in the plist. A similar one for the header
might be useful, but I haven't needed it.
All these can be pulled from
git://repo.or.cz/org-mode/ejr.git master
BTW, Bruno Haible's git ChangeLog merger has been working
wonderfully for me. It also is in gnulib; see the message
for how to generate it with gnulib-tool:
http://article.gmane.org/gmane.comp.lib.gnulib.bugs/12653
Jason Riedy (4):
Provide an *orgtbl-default-fmt* for entries not in a fmt plist.
Allow an explicitly nil :tstart and :tend to suppress the strings.
Add an orgtbl-to-orgtbl transformation.
Clean up orgtbl-sqlinsert.
ChangeLog | 10 ++++++++++
contrib/ChangeLog | 7 +++++++
contrib/lisp/orgtbl-sqlinsert.el | 13 +++++++------
lisp/org-table.el | 33 ++++++++++++++++++++++++++++-----
4 files changed, 52 insertions(+), 11 deletions(-)