emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eric S Fraga <ucecesf@ucl.ac.uk>
To: r.thiel@uni-jena.de
Cc: org-mode mailing list <emacs-orgmode@gnu.org>
Subject: Re: timestamp with repeater interval
Date: Sun, 24 Oct 2010 18:51:18 +0100	[thread overview]
Message-ID: <87k4l7o4x5.wl%ucecesf@ucl.ac.uk> (raw)
In-Reply-To: <AANLkTimc5msQ188GdAG=394cH2Krvkrk3pZ7SRZOLfYp@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 2065 bytes --]

On Sun, 24 Oct 2010 17:11:34 +0200, Rainer Thiel <r.thiel@uni-jena.de> wrote:
> 
> Many thanks, Eric,
> 
> 2010/10/21 Eric S Fraga <ucecesf@ucl.ac.uk>:
> > Matt Lundin has just posted a respond (in another thread) which answers your question:
> >
> > On Wed, 20 Oct 2010 21:31:04 -0400, Matt Lundin <mdl@imapmail.org> wrote:
> >>
> >> Christopher Witte <chris@witte.net.au> writes:
> >>
> >> > Is there a way to get timestamps that repeat (say weekly) up to a
> >> > certain date when it stops repeating?  I have a weekly appointment that
> >> > will only go for the next 8 weeks and I don't want to have to input
> >> > each appointment separately and I don't want it cluttering up my diary
> >> > beyond it's end date.
> >>
> >> Though you can't yet do this with org-mode timestamps, you can use a
> >> diary sexp. Does the following FAQ help?
> >>
> >> http://orgmode.org/worg/org-faq.php#org-diary-class
> 
> This would be exactly what I need -- if it really worked.  It does not
> for me, probably because I haven't really understood how it is
> supposed to work.  I should have expected that an entry like this:
> 
> * TODO Class 10:00am-12:00am
>   <%%(org-diary-class 10 18 2010 2 12 2011 3)>
> 
> in one of my agenda files would make show up an agenda entry every
> Wednesday between Oct 18th, 2010 and Feb 12, 2011 in my agenda.  But
> this is not the case, nothing shows up.  What am I doing wrong?

What is wrong (if you can call it that) is that the actual argument
list to the org-diary-class function depends on the settings of a
couple of variables: calendar-date-style and/or
european-calendar-style.  As I have the former set to 'iso, in my case
I need to specify dates in the Y M D order:

--8<---------------cut here---------------start------------->8---
* TODO Class 10:00am-12:00am
  <%%(org-diary-class 2010 10 18 2011 2 12 3)>
--8<---------------cut here---------------end--------------->8---

You may need to do the same.

I've cc-ed the org-mode list for others to be aware of this as well.

[-- Attachment #2: Type: text/plain, Size: 75 bytes --]

-- 
Eric S Fraga
GnuPG: 8F5C 279D 3907 E14A 5C29  570D C891 93D8 FFFC F67D

[-- Attachment #3: Type: text/plain, Size: 201 bytes --]

_______________________________________________
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

  parent reply	other threads:[~2010-10-24 17:51 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-19 11:48 Repeating timestamps with a finish date Christopher Witte
2010-10-19 11:49 ` Christopher Witte
2010-10-21  1:31 ` Matt Lundin
2010-10-21  6:51   ` timestamp with repeater interval Eric S Fraga
     [not found]     ` <AANLkTimc5msQ188GdAG=394cH2Krvkrk3pZ7SRZOLfYp@mail.gmail.com>
2010-10-24 17:51       ` Eric S Fraga [this message]
2010-10-25 17:30         ` Matt Lundin
2010-10-26  5:22           ` Carsten Dominik
2010-10-26  8:46             ` French abbreviations for the week days (`lun.', `mar.', `mer.', ...) Sébastien Vauban
2010-12-21  9:24               ` Sébastien Vauban
2010-10-26  8:13           ` timestamp with repeater interval Eric S Fraga
  -- strict thread matches above, loose matches on Subject: below --
2010-10-18 16:17 Rainer Thiel
2010-10-18 16:52 ` Greg Troxel
2010-10-18 17:49 ` Eric S Fraga
     [not found]   ` <AANLkTikXibUsDeJ3oECL1enGF7yWscjFxwZYJNZj=dZJ@mail.gmail.com>
2010-10-19  8:13     ` Eric S Fraga
2010-10-19 22:16       ` Rainer Thiel

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

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87k4l7o4x5.wl%ucecesf@ucl.ac.uk \
    --to=ucecesf@ucl.ac.uk \
    --cc=e.fraga@ucl.ac.uk \
    --cc=emacs-orgmode@gnu.org \
    --cc=r.thiel@uni-jena.de \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).