emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Matt Lundin <mdl@imapmail.org>
To: Desmond Rivet <desmond_news@videotron.ca>
Cc: emacs-orgmode@gnu.org
Subject: Re: Dated appointment reminders
Date: Fri, 12 Feb 2010 14:08:31 -0500	[thread overview]
Message-ID: <87aavejmq8.fsf@fastmail.fm> (raw)
In-Reply-To: <87d40av6id.fsf@zinc.branchcut.ath.cx> (Desmond Rivet's message of "Fri, 12 Feb 2010 10:05:46 -0500")

Desmond Rivet <desmond_news@videotron.ca> writes:

> What I'm after is something very close to the DEADLINE feature, but not
> quite.  With DEADLINE, you have the following behavour (unless there's a
> way to alter it?):
>
>  * without a TODO state, you get early reminders in your agenda up until
>    the DEADLINE date, after which you get warnings that the date is
>    past, forever.
>  
>  * with a TODO state item, you get the same thing, except you can turn
>    off the reminders/warnings by setting the state to DONE.
>
> So unless you want the DEADLINE'ed date appearing on your agenda forever
> after the due date, you need a TODO state 

...not before the deadline (see below).

> and you need to set it to DONE.

Option one (simplest): Omit the todo state before the deadline and then
mark the item DONE after the deadline has past..

--8<---------------cut here---------------start------------->8---
* 6:00pm Appointment
  DEADLINE: <2010-04-17 Sat -7d>
--8<---------------cut here---------------end--------------->8---

until the deadline passes, then

--8<---------------cut here---------------start------------->8---
* DONE 6:00pm Appointment
  DEADLINE: <2010-04-17 Sat -7d>
--8<---------------cut here---------------end--------------->8---

> I am currently using the diary for this, and incorporating it into the
> orgmode agenda.  I have entries like this:
>
> %%(diary-remind '(diary-date 11 12 t) -14) Mom's birthday.
>
> I've been using this system for a while, and it works.  But it's not
> ideal.  For example, I haven't figured out how to incorporate a time
> with the date using this system.  If I had an appointment on April 17th,
> 2010, 6pm, for example, and I wanted a simple reminder 5 days in
> advance, I don't know how I'd do that.

Option two: 

--8<---------------cut here---------------start------------->8---
* Appointments
%%(diary-remind '(diary-date 2 15 2010) -7) 6:00pm My appointment
--8<---------------cut here---------------end--------------->8---

Which produces the following agenda view:

Day-agenda (W06):
Friday     12 February 2010
               8:00...... ----------------
              10:00...... ----------------
              12:00...... ----------------
              14:00...... ----------------
              16:00...... ----------------
  refile:     18:00...... Reminder: Only 3 days until My appointment
              20:00...... ----------------

Best,
Matt

  reply	other threads:[~2010-02-12 19:05 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-12 15:05 Dated appointment reminders Desmond Rivet
2010-02-12 19:08 ` Matt Lundin [this message]
2010-02-15 13:32 ` Darlan Cavalcante Moreira

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=87aavejmq8.fsf@fastmail.fm \
    --to=mdl@imapmail.org \
    --cc=desmond_news@videotron.ca \
    --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).