From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Re: Timestamp format questions Date: Tue, 8 Jun 2010 18:32:46 +0200 Message-ID: <6E513CF8-CC76-4361-9135-9A2578232CB0@gmail.com> References: <20100607121554.GA500@vpn-2151.gwdg.de> <87ljaq8z4x.fsf@fastmail.fm> <20100608091337.GA2054@vpn-2160.gwdg.de> Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=48273 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OM1jR-0002eq-Ud for emacs-orgmode@gnu.org; Tue, 08 Jun 2010 12:33:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OM1jQ-0000HZ-MR for emacs-orgmode@gnu.org; Tue, 08 Jun 2010 12:32:53 -0400 Received: from mail-fx0-f41.google.com ([209.85.161.41]:43302) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OM1jQ-0000HO-Hs for emacs-orgmode@gnu.org; Tue, 08 Jun 2010 12:32:52 -0400 Received: by fxm14 with SMTP id 14so3540236fxm.0 for ; Tue, 08 Jun 2010 09:32:51 -0700 (PDT) In-Reply-To: <20100608091337.GA2054@vpn-2160.gwdg.de> 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: Joost Kremers Cc: emacs-orgmode@gnu.org On Jun 8, 2010, at 11:13 AM, Joost Kremers wrote: > 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? It is already there, 12-14! > > (I'm a bit surprised, though, that the format is `Month Day Year', > when normally > Org-mode uses `Year Day Month'... ;-) I hate this as well, but the decision was to be consistent within sexp commands. Calendar date format applied to all other sexp commands from the diary.... Sometimes you have to make difficult choices.... :-) - Carsten > >>> 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 > > _______________________________________________ > Emacs-orgmode mailing list > Please use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode - Carsten