From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sharon Kimble Subject: Re: Customizing org-todo-repeat-to-state to return to the current TODO state Date: Fri, 21 Nov 2014 20:18:18 +0000 Message-ID: <87zjbki9yt.fsf@skimble.plus.com> References: Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46009) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xruf4-0001Q8-SD for emacs-orgmode@gnu.org; Fri, 21 Nov 2014 15:18:39 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xruez-0006dN-VF for emacs-orgmode@gnu.org; Fri, 21 Nov 2014 15:18:34 -0500 Received: from avasout04.plus.net ([212.159.14.19]:35817) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xruez-0006d3-P0 for emacs-orgmode@gnu.org; Fri, 21 Nov 2014 15:18:29 -0500 In-Reply-To: (Grant Schissler's message of "Fri, 21 Nov 2014 12:14:54 -0700") 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: Grant Schissler Cc: emacs-orgmode@gnu.org --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Grant Schissler writes: > Hi Org-mode Users, > > I am trying to change the behavior of marking a repeated task as DONE.=C2= =A0 I would like the task to return to the current TODO state rather than t= he > first in the TODO sequence or a fixed state.=C2=A0 For example, > > ** APPT Lunch with Mallorie > <2014-12-04 Thu 12:00 +1w> > > Should return to APPT, not TODO or some other predefined state as in the = current behavior: > > TODO Lunch with Mallorie > - State "DONE" =C2=A0 =C2=A0 =C2=A0 from "APPT" =C2=A0 =C2=A0 =C2=A0 [201= 4-11-21 Fri 10:56] > <2014-12-11 Thu 12:00 +1w> > > I am sure that customizing the org-todo-repeat-to-state will do the trick= , but sadly, I have had the time to learn elisp well enough to perform > this. > > Any help would be much appreciated.=C2=A0 Please let me know if you have = questions. > > Thanks for the support and to all those that make org-mode great! > Grant > Hi Grant. This is what I have for a repeating task every Friday morning. =2D-8<---------------cut here---------------start------------->8--- ** TODO Hancock's half hour, new programmes on Radio 4 SCHEDULED: <2014-11-28 Fri 11:30 +7d> =2D State "DONE" from "TODO" [2014-11-21 Fri 18:11] =2D State "DONE" from "TODO" [2014-11-14 Fri 12:18] =2D State "DONE" from "TODO" [2014-11-02 Sun 08:34] :LOGBOOK:=20=20 =2D State "DONE" from "TODO" [2014-11-07 Fri 13:57] =2D State "DONE" from "TODO" [2014-11-01 Sat 10:06] :END:=20=20=20=20=20=20 :PROPERTIES: :LAST_REPEAT: [2014-11-21 Fri 18:11] :END: =2D-8<---------------cut here---------------end--------------->8--- To progress it from TODO via DONE and back to TODO, I do "C-c t d" and its all set up for the next week. Hope this helps Sharon. =2D-=20 A taste of linux =3D http://www.sharons.org.uk my git repo =3D https://bitbucket.org/boudiccas/dots TGmeds =3D http://www.tgmeds.org.uk Debian testing, fluxbox 1.3.5, emacs 24.4.1.0 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCgAGBQJUb54KAAoJEDaBgBkK+INbKdgP+wRxIlVEPcVNdpaHqARkl+oF g5ltTsed77gjbFO9eCmiYEW0vZWF5bJ6s3aoKe9fHlCbhMP5+butVkcB6MbfyHiL TBsXxLeNrvYnsRXTva8U5Gbjr7V+8pJCZEvknhZkpGbn/RiVYK6oowXGlak5fUXp /DMPt33xC2v/HefAwAeIHi0Uobo/RgUAeOxzWb+n8+QuXFE0UAQ+Dg5nXOozbQQp wOdOZo3hX5wCaRj+rcuQgawgrRnTApuHA98j1/kJVQ/VIKwVr8vOY+tu2CP4dVgS iVj/O6SwxxopJOb0PZYG1JyuBDQWqUwq3+k/tR/q8CMV8VSQP6b6ejI8qZNOOs4u g6fFcniQpm300KTqKSLmXUSflAhpP/6oj72i4w+vj1QSO74K9zZq0hVZfiW1NNJ6 pMfVeUY/bRa8RkN4LJCrNZ4DnvSYl7XJCRgoN4N1kbe13Xbfp/5LturZa9JfuuXN BydQXErAGtCkxf7/o6v+b6u8NTmVTGJSGhY5Q1Hwe5Tkh9nBiQEmzvQiv/DUZBJQ gEDjpgqEzy6R3Wm1y1XgaOA8NDoNQ/uohbrPE6NNBN1/6LFYjLTxMqH7i7r4wFSH mmkkd2oz61XnKl39kAojBLxika1JtKina5tB0dXJs9CtdPbEtylTnnf/Ixb43aJr Umx0zJbDhr10mN42gPlW =Xt6X -----END PGP SIGNATURE----- --=-=-=--