Hi Nicolas,

I've tried "org-use-property-inheritance", but the property of REPEAT_TO_STATE in the file scoping does not work at all.

I wonder if it is a bug in the org-mode or there is another step I have to enable

Regards,
-Young

On Sun, Jan 8, 2017 at 2:06 PM, Nicolas Goaziou <mail@nicolasgoaziou.fr> wrote:
Hello,

Young-whan <youngsong15@gmail.com> writes:

> My file has like this:
>
> #+TODO: TODO(t/!) REPEAT(r/!) | DONE(d)
>
> * REPEAT Task
>   SCHEDULED: <2017-01-01 Wed +1d>
>
> Now, I want to change when the repeat task is done, its state needs to be
> "REPEAT" instead of "TODO".
>
> This can be achieved by REPEAT_TO_STATE property or the variable
> org-todo-repeat-to-state based on the org-mode manual.
>
> When I set it org-todo-repeat-to-state, it works.
> When I set the property in the "Task", it works.
>
> However, when I put it global property working file-wide as it is put as
>
> #+PROPERTY: REPEAT_TO_STATE REPEAT
>
> It doesn't work.
>
> Is there something not right to set up the global property scoping in a
> file? Let me know.

Yes, there is: see `org-use-property-inheritance'.

Regards,

--
Nicolas Goaziou