emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Repeating timestamp with interval N times


From: Rasmus
Subject: Re: [O] Repeating timestamp with interval N times
Date: Mon, 05 Oct 2015 00:16:55 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

Hi Stephen,

Stephen Eglen <address@hidden> writes:

> I'd like to write a timestamp like:
>
>   ** Weekly office hour
>      <2015-10-08 Thu 11:00-12:00 +1w>
>
> but instead of having it occur every week until the end of time(!), I'd
> like it repeated N (=8) here.  I can't see how to do this easily, am I
> missing something?  I could use `org-clone-subtree-with-time-shift' but
> ideally I'd like something concise like:

org-clone-subtree-with-time-shift is what I would use, mainly because I
want to have my calendar stay compatible with org-caldav.el.

In the past I used org-class, which might be what you refer to below.
Example:

    %%(org-class 2014 9 26 2014 12 15 3 'holidays) office hour 9:30-10:30

>   <2015-10-08 Thu 11:00-12:00 8+1w>
>
> Is this likely to be feasible?  I can submit a patch if it is and
> someone points me in the right direction.  Or, do I need to refer to
> some sexp magic "DIARY-STYLE SEXP ENTRIES"?  I can see how to fix it
> by extending diary-cyclic to include the parameter specifying the max
> number of repeats.

My understanding is that you would like to extend Org’s "datey" syntax to
allow provide an end in this statement,

    <2015-10-08 Thu 11:00-12:00 8+1w>

What is the syntax you have got in mind?

Thanks,
Rasmus

-- 
However beautiful the theory, you should occasionally look at the evidence




reply via email to

[Prev in Thread] Current Thread [Next in Thread]