emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Markus Heller <hellerm2@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Contracts in Orgmode
Date: Mon, 21 Dec 2009 11:16:40 -0800	[thread overview]
Message-ID: <hgohio$dk8$1@ger.gmane.org> (raw)

Hello all,

please consider the following scenario:

I have a contract with Client A; the contract is valid from January 1, 
2010 until March 31, 2010.  I want to clock all my work on tasks under 
this contract, and of course *only* while the contract is valid.  30 
days before the expiry date, I'd like to get a reminder.

After some googling and reading, I came up with the following for my org 
file Client.org:

* Contract A
   <%%(diary-block 01 01 2010 03 31 2010)>

** TODO Renew Contract
    DEADLINE: <2010-03-31 Wed>

** Task A
    :LOGBOOK:

** Task B
    :LOGBOOK:

I want to log the hours I spend on Task A and Task B, but as mentioned 
before, *only* while the contract is valid.  How can I get orgmode to 
pop up a message in the status line (or whatever it's called :)) when 
I'm trying to clock in Task A or Task B before January 1, 2010 or after 
March 31, 2010?

Any hints appreciated :)

Thanks and Cheers
Markus

             reply	other threads:[~2009-12-21 19:17 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-21 19:16 Markus Heller [this message]
2009-12-21 22:18 ` Contracts in Orgmode Daniel Martins
2009-12-22 21:49 ` Markus Heller
2009-12-24  9:22   ` David Maus
2009-12-24 18:35     ` Markus Heller
2009-12-24 18:52       ` Markus Heller

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='hgohio$dk8$1@ger.gmane.org' \
    --to=hellerm2@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /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).