emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [PATCH 0/4] Adding orgtbl-to-orbtbl and cleaning orgtbl-to-sqlinsert.
@ 2008-05-05  1:54 Jason Riedy
  2008-05-05  1:54 ` [PATCH 1/4] Provide an *orgtbl-default-fmt* for entries not in a fmt plist Jason Riedy
  2008-05-05  5:15 ` [PATCH 0/4] Adding orgtbl-to-orbtbl and cleaning orgtbl-to-sqlinsert Carsten Dominik
  0 siblings, 2 replies; 7+ messages in thread
From: Jason Riedy @ 2008-05-05  1:54 UTC (permalink / raw)
  To: emacs-orgmode; +Cc: Jason Riedy

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(-)

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2008-05-05  6:34 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-05-05  1:54 [PATCH 0/4] Adding orgtbl-to-orbtbl and cleaning orgtbl-to-sqlinsert Jason Riedy
2008-05-05  1:54 ` [PATCH 1/4] Provide an *orgtbl-default-fmt* for entries not in a fmt plist Jason Riedy
2008-05-05  1:54   ` [PATCH 2/4] Allow an explicitly nil :tstart and :tend to suppress the strings Jason Riedy
2008-05-05  1:54     ` [PATCH 3/4] Add an orgtbl-to-orgtbl transformation Jason Riedy
2008-05-05  1:54       ` [PATCH 4/4] Clean up orgtbl-sqlinsert Jason Riedy
2008-05-05  5:15 ` [PATCH 0/4] Adding orgtbl-to-orbtbl and cleaning orgtbl-to-sqlinsert Carsten Dominik
2008-05-05  6:34   ` Jason Riedy

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).