From mboxrd@z Thu Jan 1 00:00:00 1970 From: Young-whan Subject: Re: REPEAT_TO_STATE file-wide property is not working Date: Sun, 8 Jan 2017 17:27:25 -0800 Message-ID: References: <87y3ylyzou.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=94eb2c060cf023395605459f4584 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56962) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cQOkD-0000Ca-68 for emacs-orgmode@gnu.org; Sun, 08 Jan 2017 20:27:30 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cQOkB-0004UH-QU for emacs-orgmode@gnu.org; Sun, 08 Jan 2017 20:27:29 -0500 Received: from mail-qk0-x231.google.com ([2607:f8b0:400d:c09::231]:33867) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cQOkB-0004U7-Kz for emacs-orgmode@gnu.org; Sun, 08 Jan 2017 20:27:27 -0500 Received: by mail-qk0-x231.google.com with SMTP id a20so127770610qkc.1 for ; Sun, 08 Jan 2017 17:27:26 -0800 (PST) In-Reply-To: <87y3ylyzou.fsf@nicolasgoaziou.fr> 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" To: Nicolas Goaziou Cc: emacs-orgmode --94eb2c060cf023395605459f4584 Content-Type: text/plain; charset=UTF-8 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 wrote: > Hello, > > Young-whan 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 > --94eb2c060cf023395605459f4584 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi Nicolas,

I've tried "org-use-property-inheritance"= , but the property of=C2=A0REPEAT_TO_STATE in the file scoping does not wor= k at all.
<= br>
I wonde= r if it is a bug in the org-mode or there is another step I have to enable<= /span>

=
Regards,
-Young
=

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

Young-whan <youngsong15@gmail.c= om> writes:

> My file has like this:
>
> #+TODO: TODO(t/!) REPEAT(r/!) | DONE(d)
>
> * REPEAT Task
>=C2=A0 =C2=A0SCHEDULED: <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

--94eb2c060cf023395605459f4584--