From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: org table with datestamp convert to csv and then xlsx or ods: problem Date: Mon, 08 Jan 2018 16:04:31 +0100 Message-ID: <87zi5o4cjk.fsf@nicolasgoaziou.fr> References: <87373hzk6z.fsf@mat.ucm.es> <87incc5vvi.fsf@nicolasgoaziou.fr> <877essxx8y.fsf@mat.ucm.es> <87bmi45sm6.fsf@nicolasgoaziou.fr> <87373gxupd.fsf@mat.ucm.es> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53218) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eYYyY-0002J7-Th for emacs-orgmode@gnu.org; Mon, 08 Jan 2018 10:04:35 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eYYyY-00076o-4F for emacs-orgmode@gnu.org; Mon, 08 Jan 2018 10:04:34 -0500 Received: from relay3-d.mail.gandi.net ([2001:4b98:c:538::195]:37942) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eYYyX-00076C-UC for emacs-orgmode@gnu.org; Mon, 08 Jan 2018 10:04:34 -0500 Received: from saiph.selenimh (000043010000000000000469.ipv6.commingeshautdebit.fr [IPv6:2a03:a0a0:0:4301::469]) (Authenticated sender: mail@nicolasgoaziou.fr) by relay3-d.mail.gandi.net (Postfix) with ESMTPSA id 5C877A80D9 for ; Mon, 8 Jan 2018 16:04:32 +0100 (CET) Received: from ngz by saiph.selenimh with local (Exim 4.89) (envelope-from ) id 1eYYyV-00042d-M9 for emacs-orgmode@gnu.org; Mon, 08 Jan 2018 16:04:31 +0100 In-Reply-To: <87373gxupd.fsf@mat.ucm.es> (Uwe Brauer's message of "Mon, 08 Jan 2018 15:59:26 +0100") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org Uwe Brauer writes: > > Uwe Brauer 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?