From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: jadamson@partners.org (Joel J. Adamson) Newsgroups: gmane.emacs.help Subject: Org-Mode S-expressions Date: Mon, 08 Oct 2007 12:10:01 -0400 Organization: Harvard University Message-ID: <878x6dfuzq.fsf@W0053328.mgh.harvard.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1191861724 7433 80.91.229.12 (8 Oct 2007 16:42:04 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 8 Oct 2007 16:42:04 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Oct 08 18:42:03 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Ievg3-0007aA-A2 for geh-help-gnu-emacs@m.gmane.org; Mon, 08 Oct 2007 18:41:55 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ievfy-0002iw-0w for geh-help-gnu-emacs@m.gmane.org; Mon, 08 Oct 2007 12:41:50 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.aset.psu.edu!news.glorb.com!newspeer1.asbnva01.us.to.verio.net!news.harvard.edu!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 38 Original-NNTP-Posting-Host: w0053328.mgh.harvard.edu Original-X-Trace: plato.harvard.edu 1191859972 11655 132.183.29.121 (8 Oct 2007 16:12:52 GMT) Original-X-Complaints-To: news@plato.harvard.edu Original-NNTP-Posting-Date: Mon, 8 Oct 2007 16:12:52 +0000 (UTC) User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/23.0.0 (gnu/linux) Cancel-Lock: sha1:ODY5ZCl+RB0dg7/bFcZAroR5V6s= Original-Xref: shelby.stanford.edu gnu.emacs.help:152708 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:48215 Archived-At: 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