[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Org-Mode S-expressions
From: |
Joel J. Adamson |
Subject: |
Re: Org-Mode S-expressions |
Date: |
Tue, 09 Oct 2007 12:19:27 -0400 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/23.0.0 (gnu/linux) |
jadamson@partners.org (Joel J. Adamson) writes:
> Bastien <bzg@altern.org> writes:
>
>> 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?
>
> 7 gave me the hour: that is strange though...
I mean day...I'll read my own code in the future.
Joel
--
Joel J. Adamson
Biostatistician
Pediatric Psychopharmacology Research Unit
Massachusetts General Hospital
Boston, MA 02114
(617) 643-1432
(303) 880-3109