Variable: nndiary-reminders

nndiary-reminders is a customizable variable defined in nndiary.el.gz.

Value

((0 . day))

Documentation

Different times when you want to be reminded of your appointments.

Diary articles will appear again, as if they'd been just received.

Entries look like (3 . day) which means something like "Please Hortense, would you be so kind as to remind me of my appointments 3 days before the date, thank you very much. Anda, hmmm... by the way, are you doing anything special tonight ?".

The units of measure are minute hour day week month and year (no, not century, sorry).

NOTE: the units of measure actually express dates, not durations: if you use week, messages will pop up on Sundays at 00:00 (or Mondays if nndiary-week-starts-on-monday is non-nil) and *not* 7 days before the appointment, if you use month, messages will pop up on the first day of each months, at 00:00 and so on.

If you really want to specify a duration (like 24 hours exactly), you can use the equivalent in minutes (the smallest unit). A fuzz of 60 seconds maximum in the reminder is not that painful, I think. Although this scheme might appear somewhat weird at a first glance, it is very powerful. In order to make this clear, here are some examples:

- (0 . day): this is the default value of nndiary-reminders. It means
  pop up the appointments of the day each morning at 00:00.

- (1 . day): this means pop up the appointments the day before, at 00:00.

- (6 . hour): for an appointment at 18:30, this would pop up the
  appointment message at 12:00.

- (360 . minute): for an appointment at 18:30 and 15 seconds, this would
  pop up the appointment message at 12:30.

Source Code

;; Defined in /usr/src/emacs/lisp/gnus/nndiary.el.gz
(defcustom nndiary-reminders '((0 . day))
  "Different times when you want to be reminded of your appointments.
Diary articles will appear again, as if they'd been just received.

Entries look like (3 . day) which means something like \"Please
Hortense, would you be so kind as to remind me of my appointments 3 days
before the date, thank you very much.  Anda, hmmm... by the way, are you
doing anything special tonight ?\".

The units of measure are `minute' `hour' `day' `week' `month' and `year' (no,
not `century', sorry).

NOTE: the units of measure actually express dates, not durations: if you
use `week', messages will pop up on Sundays at 00:00 (or Mondays if
`nndiary-week-starts-on-monday' is non-nil) and *not* 7 days before the
appointment, if you use `month', messages will pop up on the first day of
each months, at 00:00 and so on.

If you really want to specify a duration (like 24 hours exactly), you can
use the equivalent in minutes (the smallest unit).  A fuzz of 60 seconds
maximum in the reminder is not that painful, I think.  Although this
scheme might appear somewhat weird at a first glance, it is very powerful.
In order to make this clear, here are some examples:

- (0 . day): this is the default value of `nndiary-reminders'.  It means
  pop up the appointments of the day each morning at 00:00.

- (1 . day): this means pop up the appointments the day before, at 00:00.

- (6 . hour): for an appointment at 18:30, this would pop up the
  appointment message at 12:00.

- (360 . minute): for an appointment at 18:30 and 15 seconds, this would
  pop up the appointment message at 12:30."
  :type '(repeat (cons :format "%v\n"
		       (integer :format "%v")
		       (choice :format "%[%v(s)%] before...\n"
			       :value day
			       (const :format "%v" minute)
			       (const :format "%v" hour)
			       (const :format "%v" day)
			       (const :format "%v" week)
			       (const :format "%v" month)
			       (const :format "%v" year)))))