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 17:29:10 +0100 Message-ID: <87shbg1fhl.fsf@mat.ucm.es> References: <87373hzk6z.fsf@mat.ucm.es> <87incc5vvi.fsf@nicolasgoaziou.fr> <877essxx8y.fsf@mat.ucm.es> <87bmi45sm6.fsf@nicolasgoaziou.fr> <87373gxupd.fsf@mat.ucm.es> <87zi5o4cjk.fsf@nicolasgoaziou.fr> <87y3l8wfdt.fsf@mat.ucm.es> <87vagc4ayo.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34813) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eYaIp-0000qR-UB for emacs-orgmode@gnu.org; Mon, 08 Jan 2018 11:29:37 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eYaIm-0006ZD-Ml for emacs-orgmode@gnu.org; Mon, 08 Jan 2018 11:29:35 -0500 Received: from [195.159.176.226] (port=51180 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eYaIm-0006Yj-FI for emacs-orgmode@gnu.org; Mon, 08 Jan 2018 11:29:32 -0500 Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1eYaGY-0005P3-Ub for emacs-orgmode@gnu.org; Mon, 08 Jan 2018 17:27:14 +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: > I have no trouble calling M-x org-table-export RET then choosing a file > name and forcing my-tbl-to-csv during prompt. Hm I had to copy org-export-table into my addons file and (let* ((formats '("my-tbl-to-csv" "orgtbl-to-csv" "orgtbl-to-tsv" "orgtbl-to-latex" "orgtbl-to-html" "orgtbl-to-generic" "orgtbl-to-texinfo" "orgtbl-to-orgtbl" "orgtbl-to-unicode")) It seems that the variable org-table-export-default-format is ignored, a bug? > Otherwise, just evaluate > (org-table-export "/file/name" "my-tbl-to-csv") Right, thanks. A last question though. I have set org-time-stamp-custom-formats to (" %d.%m.%y " . " %d.%m.%y %a %H:%M ")) '(org-time-stamp-custom-formats (quote (" %d.%m.%y " . " %d.%m.%y %a %H:%M "))) And indeed in my org files the timestamp are displayed for example as <19.12.17>. However when I use org-toggle-time-stamp-overlays they are displayed as <2017-12-19 Tue> the point is your conversion function will lead to 2017-12-19 Tue which is much better for my purpose since the < > are deleted. I am still wondering whether the format I chose via org-time-stamp-custom-formats could be somehow used, so that the result could be 19.12.17 But maybe this is impossible Thanks Uwe Brauer