emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* need help with repeated tasks (won't reapeat)
@ 2018-08-19 11:09 Gregor Zattler
  2018-08-19 11:46 ` Marco Wahl
  2018-08-19 13:45 ` Eric S Fraga
  0 siblings, 2 replies; 4+ messages in thread
From: Gregor Zattler @ 2018-08-19 11:09 UTC (permalink / raw)
  To: emacs-orgmode

Dear org mode users, I have problems with a repeated task.  I
want to clean something round about every 60 days.  I set up this
task in order to monitor my cleaning:


*** TODO Clean it
DEADLINE:<2018-08-12 So +.60d -9d>
:PROPERTIES:
:LAST_REPEAT: [2018-05-30 Mi 16:01]
:REPEAT_TO_STATE: TODO
:END:
:LOGBOOK:
- State "DONE"       from "TODO"       [2018-05-30 Mi 16:01]
- State "DONE"       from "TODO"       [2018-03-26 Mo 16:47]
:END:


But when I do a C-c C-t (org-agenda-todo) with point on the
heading or on the corresponding line in the agenda, the task
switches simply to DONE and that's it.  It doesn't switch back to
TODO, the deadline is not shifted:

*** DONE Clean it
DEADLINE:<2018-08-12 So +.60d -9d>
:PROPERTIES:
:LAST_REPEAT: [2018-05-30 Mi 16:01]
:REPEAT_TO_STATE: TODO
:END:
:LOGBOOK:
- State "DONE"       from "TODO"       [2018-05-30 Mi 16:01]
- State "DONE"       from "TODO"       [2018-03-26 Mo 16:47]
:END:


I would expect the TODO State to shift back to TODO and the
deadline base date to be shifted by 60 days from today.


My problems persist if I test this with emacs -Q with these two
versions of emacs and org-mode

GNU Emacs 25.1.1 (x86_64-pc-linux-gnu, GTK+ Version 3.22.11) of 2017-09-15, modified by Debian
Org-mode version 8.2.10 (release_8.2.10 @ /usr/share/emacs/25.1/lisp/org/)

GNU Emacs 27.0.50 (build 4, x86_64-pc-linux-gnu, GTK+ Version 3.22.11) of 2018-08-17
Org mode version 9.1.9 (release_9.1.9-65-g5e4542 @ /usr/local/stow/emacs-snapshot/share/emacs/27.0.50/lisp/org/)


and with this newer org mode version but with my configurations
loaded:

GNU Emacs 27.0.50 (build 4, x86_64-pc-linux-gnu, GTK+ Version 3.22.11) of 2018-08-17
Org mode version 9.1.13 (release_9.1.13-898-gab1f77 @ /home/grfz/src/org-mode/lisp/)



Since this is really basic usage I assume no bug but some error
on my side.  What am I doing wrong?



Ciao; Gregor
-- 
 -... --- .-. . -.. ..--.. ...-.-

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: need help with repeated tasks (won't reapeat)
  2018-08-19 11:09 need help with repeated tasks (won't reapeat) Gregor Zattler
@ 2018-08-19 11:46 ` Marco Wahl
  2018-08-19 18:50   ` Gregor Zattler
  2018-08-19 13:45 ` Eric S Fraga
  1 sibling, 1 reply; 4+ messages in thread
From: Marco Wahl @ 2018-08-19 11:46 UTC (permalink / raw)
  To: emacs-orgmode

Hi!

Gregor Zattler <telegraph@gmx.net> writes:

> Dear org mode users, I have problems with a repeated task.  I
> want to clean something round about every 60 days.  I set up this
> task in order to monitor my cleaning:
>
>
> *** TODO Clean it
> DEADLINE:<2018-08-12 So +.60d -9d>

How about toggling the plus and the dot like so?

DEADLINE:<2018-10-18 .+60d -9d>

[...]

> But when I do a C-c C-t (org-agenda-todo) with point on the
> heading or on the corresponding line in the agenda, the task
> switches simply to DONE and that's it.  It doesn't switch back to
> TODO, the deadline is not shifted:

[...]


Bye,  Marco

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: need help with repeated tasks (won't reapeat)
  2018-08-19 11:09 need help with repeated tasks (won't reapeat) Gregor Zattler
  2018-08-19 11:46 ` Marco Wahl
@ 2018-08-19 13:45 ` Eric S Fraga
  1 sibling, 0 replies; 4+ messages in thread
From: Eric S Fraga @ 2018-08-19 13:45 UTC (permalink / raw)
  To: emacs-orgmode

On Sunday, 19 Aug 2018 at 13:09, Gregor Zattler wrote:
> Dear org mode users, I have problems with a repeated task.  I
> want to clean something round about every 60 days.  I set up this
> task in order to monitor my cleaning:
>
>
> *** TODO Clean it
> DEADLINE:<2018-08-12 So +.60d -9d>

Change this to SCHEDULED?  Or maybe you need a combination of scheduled
and deadline.  I use scheduled with +1m, for instance, to have a task
that I need to do every month but I don't have a deadline on it.

-- 
Eric S Fraga via Emacs 27.0.50, Org release_9.1.13-783-g97fac4

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: need help with repeated tasks (won't reapeat)
  2018-08-19 11:46 ` Marco Wahl
@ 2018-08-19 18:50   ` Gregor Zattler
  0 siblings, 0 replies; 4+ messages in thread
From: Gregor Zattler @ 2018-08-19 18:50 UTC (permalink / raw)
  To: Marco Wahl

Hi Marco, org mode users,
* Marco Wahl <marcowahlsoft@gmail.com> [2018-08-19; 13:46]:
> Gregor Zattler <telegraph@gmx.net> writes:
>
>> Dear org mode users, I have problems with a repeated task.  I
>> want to clean something round about every 60 days.  I set up this
>> task in order to monitor my cleaning:
>>
>>
>> *** TODO Clean it
>> DEADLINE:<2018-08-12 So +.60d -9d>
>
> How about toggling the plus and the dot like so?
>
> DEADLINE:<2018-10-18 .+60d -9d>

You are spot on, this was the mistake I made and did not realize
although I reread the relevant manual section...

Ciao; Gregor
-- 
 -... --- .-. . -.. ..--.. ...-.-

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-08-19 18:53 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-08-19 11:09 need help with repeated tasks (won't reapeat) Gregor Zattler
2018-08-19 11:46 ` Marco Wahl
2018-08-19 18:50   ` Gregor Zattler
2018-08-19 13:45 ` Eric S Fraga

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).