help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: diary sexp


From: Dieter Wilhelm
Subject: Re: diary sexp
Date: Sun, 19 Nov 2006 17:16:36 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

Raimund Kohl-Fuechsle <Raimund.Kohl@nabuli.de> writes:

> Hiya,
>
> I have a monthly meeting on the first Thu every month for the next 12
> months.  Therefor I created a diary entry this way:
>
> %%(diary-float '(11 12 1 2 3 4 5 6 7 8 9 10) 4 1) "The Easy Way
> Discourses", Mannheim
>
> Works.  No problem.
>
> BUT:  I would like to have Emacs telling me the Discourse number ...
> something like
>
> "The Easy Way Discourses", No 3, Mannheim
>
> Number 1 started in Nov, no. 2 will take place in Dec and so on.  How
> can I do this?

This reminds me of diary-anniversary. You can can specify %d which
gives you the age.  This is independent of the diary-remind below:

%%(diary-remind '(diary-anniversary 1 7 1997) '(1 2 3 4 5 6 7)) Silvana's 
birthday (now %d years old)

I don't think there is something for months or even monthly difference
though.  But this function could give you hints how to implement this.

-- 
    Best wishes

    H. Dieter Wilhelm
    Darmstadt, Germany




reply via email to

[Prev in Thread] Current Thread [Next in Thread]