From: Christian Moe <mail@christianmoe.com>
To: The Dude <rafal.kowalski@mac.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: date calculation in org table
Date: Thu, 23 May 2013 09:22:44 +0200 [thread overview]
Message-ID: <m2d2sitb23.fsf@vpn-client437.uio.no> (raw)
In-Reply-To: <m2sj1ekxh9.fsf@mac.com>
Hi, Dude,
Not quite sure why that doesn't work (nor gives an error message about
trying to set the same cell). However, it will work if you specify the
cell range:
> @4$4=$sdate + $3::$4=@-1$4+$3
^^
@4$4=$sdate + $3::@5$4..@20$4=@-1$4+$3
^^^^^^^^^^^
BTW, it's OK to omit the reference to the same column, so you can save
two characters:
@4$4=$sdate + $3::@5$4..@20$4=@-1$4+$3
^^
@4$4=$sdate + $3::@5$4..@20$4=@-1+$3
Yours,
Christian
next prev parent reply other threads:[~2013-05-23 7:18 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-23 6:43 date calculation in org table The Dude
2013-05-23 7:22 ` Christian Moe [this message]
2013-05-23 7:51 ` The Dude
2013-05-23 8:24 ` Michael Brand
2013-05-23 14:47 ` The Dude
2013-05-23 15:02 ` Michael Brand
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=m2d2sitb23.fsf@vpn-client437.uio.no \
--to=mail@christianmoe.com \
--cc=emacs-orgmode@gnu.org \
--cc=rafal.kowalski@mac.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).