From mboxrd@z Thu Jan 1 00:00:00 1970 From: Grant Schissler Subject: Re: Customizing org-todo-repeat-to-state to return to the current TODO state Date: Fri, 21 Nov 2014 13:36:22 -0700 Message-ID: References: <864mtsfhk0.fsf@example.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=047d7bfd01c81ac3ae050864670f Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49010) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xruwh-0004AX-5b for emacs-orgmode@gnu.org; Fri, 21 Nov 2014 15:36:48 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xruwe-0003X5-0F for emacs-orgmode@gnu.org; Fri, 21 Nov 2014 15:36:46 -0500 Received: from mail-wi0-x235.google.com ([2a00:1450:400c:c05::235]:53669) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xruwd-0003X0-Os for emacs-orgmode@gnu.org; Fri, 21 Nov 2014 15:36:43 -0500 Received: by mail-wi0-f181.google.com with SMTP id r20so446055wiv.8 for ; Fri, 21 Nov 2014 12:36:43 -0800 (PST) In-Reply-To: <864mtsfhk0.fsf@example.com> 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 --047d7bfd01c81ac3ae050864670f Content-Type: text/plain; charset=UTF-8 Sorry, I wasn't clear what I meant by "fixed state." I want to avoid globally changing the repeat-to-state and flexibly return to the current state. Thanks for the suggestion though On Fri, Nov 21, 2014 at 1:02 PM, Sebastien Vauban wrote: > Grant Schissler wrote: > > I am trying to change the behavior of marking a repeated task as DONE. I > > would like the task to return to the current TODO state rather than the > > first in the TODO sequence or a fixed state. 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" from "APPT" [2014-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. Please let me know if you have > > questions. > > ;; TODO state to which a repeater should return the repeating task. > (setq org-todo-repeat-to-state "APPT") > > Best regards, > Seb > > -- > Sebastien Vauban > > > -- A. Grant Schissler, M.S GIDP Statistics, University of Arizona Research Assistant, Lussier Lab --047d7bfd01c81ac3ae050864670f Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Sorry, I wasn't clear what I meant by "fixed stat= e." =C2=A0I want to avoid globally changing the repeat-to-state and fl= exibly return to the current state.=C2=A0 Thanks for the suggestion though<= /div>

On Fri, Nov = 21, 2014 at 1:02 PM, Sebastien Vauban <sva-news@mygooglest.com&g= t; wrote:
Grant S= chissler wrote:
> 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 th= e
> 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 t= he
> current behavior:
>
> TODO Lunch with Mallorie
> - State "DONE"=C2=A0 =C2=A0 =C2=A0 =C2=A0from "APPT&quo= t;=C2=A0 =C2=A0 =C2=A0 =C2=A0[2014-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 tr= ick,
> but sadly, I have had the time to learn elisp well enough to perform t= his.
>
> Any help would be much appreciated.=C2=A0 Please let me know if you ha= ve
> questions.

=C2=A0 ;; TODO state to which a repeater should return the repeating= task.
=C2=A0 (setq org-todo-repeat-to-state "APPT")

Best regards,
=C2=A0 Seb

--
Sebastien Vauban





--
A. Grant Schissler, M.S
GIDP Statistics, University of Arizona
Research Assistant= , Lussier Lab


--047d7bfd01c81ac3ae050864670f--