From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rasmus Subject: Re: Repeated teaching classes and stopping date Date: Tue, 11 Nov 2014 12:06:33 +0100 Message-ID: <877fz2dmiu.fsf@gmx.us> References: <5460F418.2030303@gmail.com> <878ujjez3g.fsf@gmx.us> <5461C3BB.1060305@lal.in2p3.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37612) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xo9Hd-0000y7-1O for emacs-orgmode@gnu.org; Tue, 11 Nov 2014 06:06:54 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xo9HY-0005o4-2j for emacs-orgmode@gnu.org; Tue, 11 Nov 2014 06:06:48 -0500 Received: from plane.gmane.org ([80.91.229.3]:44686) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xo9HX-0005o0-TF for emacs-orgmode@gnu.org; Tue, 11 Nov 2014 06:06:44 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Xo9HW-0007Aj-N5 for emacs-orgmode@gnu.org; Tue, 11 Nov 2014 12:06:42 +0100 Received: from 109.201.154.144 ([109.201.154.144]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 11 Nov 2014 12:06:42 +0100 Received: from rasmus by 109.201.154.144 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 11 Nov 2014 12:06:42 +0100 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Xavier Garrido writes: > Hi Rasmus, > > Le 10/11/2014 18:37, Rasmus a écrit : >> Hi Xavier, >> >> Xavier Garrido writes: >> >>> I'm trying to move to =org-agenda= and I'm converting some of my >>> Google Calendar entries into Org agenda entries. I'm facing an issue >>> with repeated tasks and how to properly stop the event. Consider the >>> following entry : >>> >>> * [Master 1] Nuclear & particle class >>> <2015-01-21 mer. 14:00-16:00 +1w>--<2015-03-22 dim.> >>> >>> For me it means, I will teach every week @ 14:00 to 16:00 until the >>> 22th of March. I am surely doing something bad since the events >>> actually appear every day until the 22th of March. It basically works >>> when I remove the --<2015-03-22 dim.> but then how to stop the >>> repeated tasks. >>> >>> Sorry if the answer is obvious but I have read org-mode manual >>> (http://orgmode.org/manual/Repeated-tasks.html) and other "timestamp" >>> related pages and I didn't find a way to do that. >> >> Did you check `org-class'? Also check >> `org-clone-subtree-with-time-shift'. If you search for the latter you >> will find a recent discussion on what I think is the topic you are >> interested in. >> > > Thanks for the hints, I should have read the FAQ first since my > problem is clearly addressed (here for example > http://orgmode.org/worg/org-faq.html#diary-sexp-in-org-files). In SO > this guy also have the same problem > http://stackoverflow.com/questions/2464598/org-mode-schedule-weekly-event-for-a-period They also point to `org-class` in one of the answers. > I will try to slightly modify the ical2org.awk file from Eric Fraga > http://orgmode.org/worg/code/awk/ical2org.awk to automatically > converts ical file into org and to manage this repeating task. If you want... There are already two functions that were created for this stuff. > I have to say that it is a bit frustrating that the syntax +1w>-- is not working because it is pretty simple and > quite elegant. Patch welcome! I can see the syntax being somewhat intuitive, but I think maybe the double use of "--" is confusing. Why not: +1w> until Anyway. . . Cheers, Rasmus -- Bang bang