all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Philip Hudson <phil.hudson@iname.com>
To: Jay Iyer <jayiyer09@gmail.com>
Cc: emacs orgmode-mailinglist <emacs-orgmode@gnu.org>
Subject: Re: Computing dates in properties?
Date: Fri, 8 Jul 2016 09:37:38 +0100	[thread overview]
Message-ID: <CAJ1MqVFwjqL0nGCYjsnXScD6Xy8+EEgZ=N9qnqYc2XAW9aLMsA@mail.gmail.com> (raw)
In-Reply-To: <CAGGEobUTuKv=dxCRPG0Ae4bADkjGRj1s+EhbFJGWChmK3pUqJA@mail.gmail.com>

On 8 July 2016 at 05:01, Jay Iyer <jayiyer09@gmail.com> wrote:
> Is it possible to perform simple calculations in properties like in the
> example below?  If so, please provide pointers.
> Thanks,
> -jay
>
> ** Headline 1
> :PROPERTIES:
> :CUSTOM_ID: headline_1
> :DATE: [2016-07-07 Thu]
> :END:
>
> ** Headline 2
> :PROPERTIES:
> :CUSTOM_ID: headline_2
> :DATE: [date from headline 1 + 3 days]
> :END:

One way would be to use org-capture's %^ and %(lisp-function-call) syntax.

-- 
Phil Hudson                   http://hudson-it.ddns.net
@UWascalWabbit                 PGP/GnuPG ID: 0x887DCA63

      reply	other threads:[~2016-07-08  8:38 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-08  4:01 Computing dates in properties? Jay Iyer
2016-07-08  8:37 ` Philip Hudson [this message]

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAJ1MqVFwjqL0nGCYjsnXScD6Xy8+EEgZ=N9qnqYc2XAW9aLMsA@mail.gmail.com' \
    --to=phil.hudson@iname.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=jayiyer09@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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.