From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: bug#23890: 25.0.94; Org-mode Table does not copy time interval correctly Date: Wed, 06 Jul 2016 22:34:38 +0200 Message-ID: <87a8huh5ep.fsf@saiph.selenimh> References: <83inwlpifj.fsf@gnu.org> <8360slpdny.fsf@gnu.org> <87shvnhhmg.fsf@saiph.selenimh> <87zipvbcjb.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35189) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bKtXI-0000pl-O2 for emacs-orgmode@gnu.org; Wed, 06 Jul 2016 16:35:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bKtXC-0001rd-PT for emacs-orgmode@gnu.org; Wed, 06 Jul 2016 16:35:07 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:55807) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bKtXC-0001rM-Lt for emacs-orgmode@gnu.org; Wed, 06 Jul 2016 16:35:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bKtXC-0004Jo-Fj for emacs-orgmode@gnu.org; Wed, 06 Jul 2016 16:35:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87zipvbcjb.fsf@gmail.com> (Rares Vernica's message of "Tue, 05 Jul 2016 21:44:56 -0700") 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: Rares Vernica Cc: 23890@debbugs.gnu.org Hello, Rares Vernica writes: > Just to clarify, how would you fix this: > > | [2016-07-05 Tue]--[2016-07-06 Wed] | 1d | vsum(d) | > | [2016-07-06 Wed]--[2016-07-07 Thu] | 1d | 2 d | > #+TBLFM: $3=vsum(@1$-1..@0$-1) > > Notice the "vsum(d)" instead of the expected "1 d". How would you add > "identity" here? You probably need to use Lisp formulas instead of Calc, i.e, wrap the formula within '(...). I'm no specialist about table formulas; I suggest to ask on Org mailing list. Regards, -- Nicolas Goaziou