From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tobias Zawada Subject: [feature] org table formula filters Date: Fri, 4 Jan 2019 10:52:52 +0100 (CET) Message-ID: <733035153.361254.1546595572388@email.ionos.de> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:51276) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gfM9x-0006bQ-OI for emacs-orgmode@gnu.org; Fri, 04 Jan 2019 04:52:58 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gfM9u-00040X-Ic for emacs-orgmode@gnu.org; Fri, 04 Jan 2019 04:52:57 -0500 Received: from mout.kundenserver.de ([217.72.192.75]:57317) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gfM9u-0003yQ-AF for emacs-orgmode@gnu.org; Fri, 04 Jan 2019 04:52:54 -0500 Received: from oxbsltgw01.schlund.de ([212.227.220.145]) by mrelayeu.kundenserver.de (mreue109 [213.165.67.113]) with ESMTPSA (Nemesis) id 1M8ysi-1gi7Zi25bS-006AAC for ; Fri, 04 Jan 2019 10:52:52 +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 Hi, The part "More complicated but very general solution" of the answer https://emacs.stackexchange.com/a/46862/2370 on Emacs SE defines input and output filters for table formulas. The input filter filters the arguments before construction of the calc equation. The output filter filters the calc result before printing it into the target cell. In the SE answer the filters are used to convert between the calc duration syntax h@ m' s" and the duration syntax hh:mm:ss. The filters could be a useful extension of org table formula modes. Best regards, Tobias