From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: Rares Vernica <rvernica@gmail.com>
Cc: 23890@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 [thread overview]
Message-ID: <87a8huh5ep.fsf@saiph.selenimh> (raw)
In-Reply-To: <87zipvbcjb.fsf@gmail.com> (Rares Vernica's message of "Tue, 05 Jul 2016 21:44:56 -0700")
Hello,
Rares Vernica <rvernica@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
next prev parent reply other threads:[~2016-07-06 20:35 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CALQ9KxAX7+2+mBuF_v+iyutmOLsCzEGBVhM+Z=zJVqB9UVJMxw@mail.gmail.com>
[not found] ` <83inwlpifj.fsf@gnu.org>
2016-07-04 16:30 ` bug#23890: 25.0.94; Org-mode Table does not copy time interval correctly Glenn Morris
2016-07-04 16:32 ` Eli Zaretskii
2016-07-05 21:58 ` Nicolas Goaziou
2016-07-06 4:44 ` Rares Vernica
2016-07-06 20:34 ` Nicolas Goaziou [this message]
2017-12-01 18:57 ` Nicolas Goaziou
2017-12-01 20:59 ` Nicolas Goaziou
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87a8huh5ep.fsf@saiph.selenimh \
--to=mail@nicolasgoaziou.fr \
--cc=23890@debbugs.gnu.org \
--cc=rvernica@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).