[Orgmode] [PATCH 1/4] Provide an *orgtbl-default-fmt* for entries not in a fmt plist.

2008-05-04 Thread Jason Riedy
The *orgtbl-default-fmt* is a hook for orgtbl transformations to ensure a destination-sensible default for columns not present in a fmt plist. The leaving the value at nil changes no existing behavior. Signed-off-by: Jason Riedy [EMAIL PROTECTED] --- ChangeLog |6 ++

[Orgmode] [PATCH 3/4] Add an orgtbl-to-orgtbl transformation.

2008-05-04 Thread Jason Riedy
Useful for documenting orgtbl transformation and formatting functions. Signed-off-by: Jason Riedy [EMAIL PROTECTED] --- ChangeLog |2 ++ lisp/org-table.el | 16 2 files changed, 18 insertions(+), 0 deletions(-) diff --git a/ChangeLog b/ChangeLog index

[Orgmode] [PATCH 4/4] Clean up orgtbl-sqlinsert.

2008-05-04 Thread Jason Riedy
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 [EMAIL PROTECTED] --- contrib/ChangeLog|7 +++ contrib/lisp/orgtbl-sqlinsert.el | 13 +++-- 2

[Orgmode] [PATCH 0/4] Adding orgtbl-to-orbtbl and cleaning orgtbl-to-sqlinsert.

2008-05-04 Thread 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

[Orgmode] [PATCH 2/4] Allow an explicitly nil :tstart and :tend to suppress the strings.

2008-05-04 Thread Jason Riedy
Passing explicit nils to leave out start and end strings feels natural. Also, transforming org-mode tables into other org-mode tables can use :tstart and :tend to specify directives, so I don't want to change the default splice setting for those. Signed-off-by: Jason Riedy [EMAIL PROTECTED] ---

[Orgmode] Using Org-Mode Table Formatting Functions draft

2008-05-04 Thread Jason Riedy
#+TITLE: Using Org-Mode Table Formatting Functions #+AUTHOR: Jason Riedy #+EMAIL: [EMAIL PROTECTED] #+LANGUAGE: en #+TEXT: *Abstract:* Org-mode's ability to slice one table into many #+TEXT: separately formatted destinations helps keep documentation #+TEXT: and data in sync. We provide an example

Re: [Orgmode] [PATCH 0/4] Adding orgtbl-to-orbtbl and cleaning orgtbl-to-sqlinsert.

2008-05-04 Thread Carsten Dominik
Hi Jason, On May 5, 2008, at 3:54 AM, Jason Riedy wrote: 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