GNU bug report logs - #23890
25.0.94; Org-mode Table does not copy time interval correctly

Previous Next

Package: org-mode;

Reported by: Rares Vernica <rvernica <at> gmail.com>

Date: Mon, 4 Jul 2016 05:31:01 UTC

Severity: normal

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
To: Rares Vernica <rvernica <at> gmail.com>
Cc: 23890 <at> debbugs.gnu.org
Subject: bug#23890: 25.0.94; Org-mode Table does not copy time interval correctly
Date: Wed, 06 Jul 2016 22:34:38 +0200
Hello,

Rares Vernica <rvernica <at> gmail.com> 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




This bug report was last modified 7 years and 170 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.