From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joost Kremers Subject: Re: Timestamp format questions Date: Tue, 8 Jun 2010 11:13:37 +0200 Message-ID: <20100608091337.GA2054@vpn-2160.gwdg.de> References: <20100607121554.GA500@vpn-2151.gwdg.de> <87ljaq8z4x.fsf@fastmail.fm> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Return-path: Received: from [140.186.70.92] (port=37743 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OLusU-00064t-0Q for emacs-orgmode@gnu.org; Tue, 08 Jun 2010 05:13:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OLusO-0001BR-7L for emacs-orgmode@gnu.org; Tue, 08 Jun 2010 05:13:45 -0400 Received: from amailer.gwdg.de ([134.76.10.18]:43080) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OLusN-0001B0-TS for emacs-orgmode@gnu.org; Tue, 08 Jun 2010 05:13:40 -0400 Received: from vpn-2160.gwdg.de ([134.76.2.160]) by mailer.gwdg.de with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1OLusM-0007hk-HQ for emacs-orgmode@gnu.org; Tue, 08 Jun 2010 11:13:38 +0200 Content-Disposition: inline In-Reply-To: <87ljaq8z4x.fsf@fastmail.fm> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org On Mon, Jun 07, 2010 at 02:40:30PM -0400, Matt Lundin wrote: > You can use diary sexps to schedule more complex appointments. > > ,---- (info "(org) Timestamps") > | DIARY-STYLE SEXP ENTRIES > | For more complex date specifications, Org mode supports using the > | special sexp diary entries implemented in the Emacs calendar/diary > | package. For example > | > | * The nerd meeting on every 2nd Thursday of the month > | <%%(diary-float t 4 2)> > `---- > > See also the following FAQ entry: > http://orgmode.org/worg/org-faq.php#diary-sexp-in-org-files Thanks! It seems, though, that this is a very new function, Aquamacs' Org-mode doesn't contain it... I guess I'll have to find out how to update the Org-mode that comes with Aquamacs... > The function org-diary-class nicely covers the scenario above: > > --8<---------------cut here---------------start------------->8--- > * 12:00-14:00 Weekly class > <%%(org-diary-class 4 8 2010 7 8 2010 4)> > --8<---------------cut here---------------end--------------->8--- > > http://orgmode.org/worg/org-faq.php#org-diary-class Is it still possible to schedule the time of the event as well? (I'm a bit surprised, though, that the format is `Month Day Year', when normally Org-mode uses `Year Day Month'... ;-) > > Also, is there a way to say that a certain event that occurs every > > week does not occur on one specific date? For example, I teach a class > > every Thursday, but the Thu. 13th of May was Ascension Day, so the > > class was cancelled. I would like the event to not show up on such > > days. > > --8<---------------cut here---------------start------------->8--- > * 12:00-14:00 Weekly class > <%%(org-diary-class 4 8 2010 7 8 2010 4 19)> > ;; iso number of the week to skip > --8<---------------cut here---------------end--------------->8--- Great, thanks! Joost -- Joost Kremers Life has its moments