all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Joost Kremers <joostkremers@fastmail.fm>
To: emacs-orgmode@gnu.org
Subject: Re: Timestamp format questions
Date: Tue, 8 Jun 2010 11:13:37 +0200	[thread overview]
Message-ID: <20100608091337.GA2054@vpn-2160.gwdg.de> (raw)
In-Reply-To: <87ljaq8z4x.fsf@fastmail.fm>

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

  reply	other threads:[~2010-06-08  9:13 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-07 12:15 Timestamp format questions Joost Kremers
2010-06-07 18:40 ` Matt Lundin
2010-06-08  9:13   ` Joost Kremers [this message]
2010-06-08 16:32     ` Carsten Dominik
2010-06-08 19:17       ` Joost Kremers

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=20100608091337.GA2054@vpn-2160.gwdg.de \
    --to=joostkremers@fastmail.fm \
    --cc=emacs-orgmode@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.