From mboxrd@z Thu Jan 1 00:00:00 1970 From: Uwe Brauer Subject: Re: org table with datestamp convert to csv and then xlsx or ods: problem Date: Mon, 08 Jan 2018 15:59:26 +0100 Message-ID: <87373gxupd.fsf@mat.ucm.es> References: <87373hzk6z.fsf@mat.ucm.es> <87incc5vvi.fsf@nicolasgoaziou.fr> <877essxx8y.fsf@mat.ucm.es> <87bmi45sm6.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51509) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eYYtn-0000cT-4F for emacs-orgmode@gnu.org; Mon, 08 Jan 2018 09:59:40 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eYYtk-0004IP-31 for emacs-orgmode@gnu.org; Mon, 08 Jan 2018 09:59:39 -0500 Received: from [195.159.176.226] (port=44490 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eYYtj-0004Ht-TR for emacs-orgmode@gnu.org; Mon, 08 Jan 2018 09:59:36 -0500 Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1eYYrh-0004uw-2O for emacs-orgmode@gnu.org; Mon, 08 Jan 2018 15:57:29 +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: > 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.