From: jadamson@partners.org (Joel J. Adamson)
To: help-gnu-emacs@gnu.org
Subject: Org-Mode S-expressions
Date: Mon, 08 Oct 2007 12:10:01 -0400 [thread overview]
Message-ID: <878x6dfuzq.fsf@W0053328.mgh.harvard.edu> (raw)
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
next reply other threads:[~2007-10-08 16:10 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-08 16:10 Joel J. Adamson [this message]
2007-10-08 20:19 ` Org-Mode S-expressions Bastien
2007-10-08 20:21 ` Bastien
[not found] ` <mailman.1844.1191871203.18990.help-gnu-emacs@gnu.org>
2007-10-09 13:55 ` Joel J. Adamson
2007-10-09 16:19 ` Joel J. Adamson
2007-10-10 6:35 ` Bastien
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=878x6dfuzq.fsf@W0053328.mgh.harvard.edu \
--to=jadamson@partners.org \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.