|
From: | Nicolas Goaziou |
Subject: | Re: [O] org table with datestamp convert to csv and then xlsx or ods: problem |
Date: | Mon, 08 Jan 2018 16:04:31 +0100 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) |
Uwe Brauer <address@hidden> writes: > > Uwe Brauer <address@hidden> writes: > > > For example: > > > (defun my-format-timestamps (cell) > > (org-quote-csv-field > > (replace-regexp-in-string org-ts-regexp-both "\\1" cell))) > > > (defun my-tbl-to-csv (table params) > > (orgtbl-to-csv table > > (org-combine-plists '(:fmt my-format-timestamps) > params))) > > Thanks, but forgive me my ignorance, how are these functions suppose to > work. They are not interactive, so shall I put them in some hook or > other function? Sorry for this elementary question. Use `my-tbl-to-csv' as a replacement for `orgtbl-to-csv'. How did you "export table to CSV" in the first place?
[Prev in Thread] | Current Thread | [Next in Thread] |