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: Fri, 01 Dec 2017 19:57:29 +0100 Message-ID: <87vahqff8m.fsf@nicolasgoaziou.fr> References: <83inwlpifj.fsf@gnu.org> <8360slpdny.fsf@gnu.org> <87shvnhhmg.fsf@saiph.selenimh> <87zipvbcjb.fsf@gmail.com> <87a8huh5ep.fsf@saiph.selenimh> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59183) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eKqVh-0001n1-Br for emacs-orgmode@gnu.org; Fri, 01 Dec 2017 13:58:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eKqVe-0001pa-LM for emacs-orgmode@gnu.org; Fri, 01 Dec 2017 13:58:05 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:59998) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eKqVe-0001pV-HM for emacs-orgmode@gnu.org; Fri, 01 Dec 2017 13:58:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eKqVe-0006Pm-A8 for emacs-orgmode@gnu.org; Fri, 01 Dec 2017 13:58:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87a8huh5ep.fsf@saiph.selenimh> (Nicolas Goaziou's message of "Wed, 06 Jul 2016 22:34:38 +0200") 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 Nicolas Goaziou writes: > 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. Could this bug be closed? Thank you. Regards,