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

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

Org-Mode S-expressions


From: Joel J. Adamson
Subject: Org-Mode S-expressions
Date: Mon, 08 Oct 2007 12:10:01 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/23.0.0 (gnu/linux)

Howdy,

I'm using Emacs 23.0.0.1 on Slackware Linux 12.0.

I'm trying to set up a unique Org Mode situation here.  I work for two
different researchers, with specific sets of projects for each one.  I
work for Researcher A Monday and Tuesday, and WEdnesday until Noon.
Then I switch over to Researcher B until the end of Friday.  I'd like
these to show up in the Agenda at the specified times and repeat every
day at the appropriate time.  I tried timestamps like

<2007-10-08 Mon 9:00>--<2007-10-10 Wed 12:00>

And the latest is diary-style s-expression, based on one I found in
the Emacs manual for diary:

<%%(let ((dayname (nth 7 (decode-time (current-time))))
         (hour (nth 3 (decode-time (current-time)))))
     (or (memq dayname '(1 2))
         (and (equal dayname 3) (< hour 12))))>

Now, I noticed that the angle-brackets and less-than sign will
probably mix things up.

What's the most effective way to accomplish this?  Please point me to
the best tutorial or explanation for timestamps.

Thanks,
Joel

-- 
Joel J. Adamson
Biostatistician
Pediatric Psychopharmacology Research Unit
Massachusetts General Hospital
Boston, MA  02114
(617) 643-1432
(303) 880-3109


reply via email to

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