From: Eric S Fraga <esflists@gmail.com>
To: "Göktuğ Kayaalp" <self@gkayaalp.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Is it possible to repeat tasks only a certain amount of times?
Date: Wed, 13 Sep 2017 20:23:39 +0100 [thread overview]
Message-ID: <87377qtnb8.fsf@delle7240.chemeng.ucl.ac.uk> (raw)
In-Reply-To: <ygm1sna50cq.fsf@alpha> ("Göktuğ Kayaalp"'s message of "Wed, 13 Sep 2017 14:01:09 +0300")
[-- Attachment #1: Type: text/plain, Size: 2236 bytes --]
On Wednesday, 13 Sep 2017 at 14:01, Göktuğ Kayaalp wrote:
> I have tried the following:
>
> <2017-09-18 Pzt 14:25-18:40 +1w>--<another date>
I think this is discussed in the FAQ on the org mode web site but, in
any case, no, you cannot do what you want. You may wish to look at
,----
| org-clone-subtree-with-time-shift is an interactive compiled Lisp
| function in ‘org.el’.
|
| (org-clone-subtree-with-time-shift N &optional SHIFT)
|
| Clone the task (subtree) at point N times.
| The clones will be inserted as siblings.
|
| In interactive use, the user will be prompted for the number of
| clones to be produced. If the entry has a timestamp, the user
| will also be prompted for a time shift, which may be a repeater
| as used in time stamps, for example ‘+3d’. To disable this,
| you can call the function with a universal prefix argument.
|
| When a valid repeater is given and the entry contains any time
| stamps, the clones will become a sequence in time, with time
| stamps in the subtree shifted for each clone produced. If SHIFT
| is nil or the empty string, time stamps will be left alone. The
| ID property of the original subtree is removed.
|
| In each clone, all the CLOCK entries will be removed. This
| prevents Org from considering that the clocked times overlap.
|
| If the original subtree did contain time stamps with a repeater,
| the following will happen:
| - the repeater will be removed in each clone
| - an additional clone will be produced, with the current, unshifted
| date(s) in the entry.
| - the original entry will be placed *after* all the clones, with
| repeater intact.
| - the start days in the repeater in the original entry will be shifted
| to past the last clone.
| In this way you can spell out a number of instances of a repeating task,
| and still retain the repeater to cover future instances of the task.
|
| As described above, N+1 clones are produced when the original
| subtree has a repeater. Setting N to 0, then, can be used to
| remove the repeater from a subtree and create a shifted clone
| with the original repeater.
`----
--
: Eric S Fraga via Emacs 26.0.50, Org release_9.0.9-573-g09e612
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 194 bytes --]
next prev parent reply other threads:[~2017-09-13 19:23 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-09-13 11:01 Is it possible to repeat tasks only a certain amount of times? Göktuğ Kayaalp
2017-09-13 19:23 ` Eric S Fraga [this message]
2017-09-13 23:58 ` Jorge Morais Neto
2017-09-14 8:05 ` Göktuğ Kayaalp
2017-09-14 8:27 ` Eric S Fraga
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=87377qtnb8.fsf@delle7240.chemeng.ucl.ac.uk \
--to=esflists@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=self@gkayaalp.com \
/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.