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

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

Re: diary sexp


From: Edward M. Reingold
Subject: Re: diary sexp
Date: 19 Nov 2006 12:09:21 -0600
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3

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

    RK> %%(diary-float '(11 12 1 2 3 4 5 6 7 8 9 10) 4 1) "The Easy Way
    RK> Discourses", Mannheim
    RK> BUT: I would like to have Emacs telling me the Discourse number ...
    RK> something like
    RK> "The Easy Way Discourses", No 3, Mannheim
    RK> Number 1 started in Nov, no. 2 will take place in Dec and so on.  How
    RK> can I do this?

This will be very messy; you need to rewrite diary-float, a fairly complicated
function.  The problem is that you need to get the particluar month for which
the diary entry applies, something acessible only deep in the internals of
diary-float.  If this is a one-time need, I'd suggest simply writing the diary
entries manually.  If this is a general need, you'll have to go digging in the
into the code for diary-float.

-- 

Professor Edward M. Reingold                Email: reingold@iit.edu
Department of Computer Science              Voice: (312) 567-3309
Illinois Institute of Technology            Assistant: (312) 567-5152
Stuart Building                             Fax:   (312) 567-5067
10 West 31st Street, Suite 236
Chicago, IL  60616-3729  U.S.A.


reply via email to

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