[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Org-Mode S-expressions
From: |
Bastien |
Subject: |
Re: Org-Mode S-expressions |
Date: |
Mon, 08 Oct 2007 21:19:51 +0100 |
User-agent: |
Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.0 (gnu/linux) |
jadamson@partners.org (Joel J. Adamson) writes:
> <%%(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))))>
(nth 7 (decode-time (current-time)))
^
... should be 6 no?
> Now, I noticed that the angle-brackets and less-than sign will
> probably mix things up.
I don't know what version of Org you're using but since Org's
development is quite fast it might be a good idea to check the
lastest release:
http://orgmode.org/
And maybe you can use Org's own syntax for repeating events:
,----[ (info "(Org)Time stamps") ]
| TIME STAMP WITH REPEATER INTERVAL
| A time stamp may contain a _repeater interval_, indicating that it
| applies not only on the given date, but again and again after a
| certain interval of N days (d), weeks (w), months(m), or years(y).
| The following will show up in the agenda every Wednesday:
|
| * Pick up Sam at school <2007-05-16 Wed 12:30 +1w>
`----
--
Bastien
- Org-Mode S-expressions, Joel J. Adamson, 2007/10/08
- Re: Org-Mode S-expressions,
Bastien <=
- Message not available