From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: REPEAT_TO_STATE file-wide property is not working Date: Sun, 08 Jan 2017 23:06:09 +0100 Message-ID: <87y3ylyzou.fsf@nicolasgoaziou.fr> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49415) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cQLbS-0006ZU-N1 for emacs-orgmode@gnu.org; Sun, 08 Jan 2017 17:06:15 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cQLbR-00067Y-Im for emacs-orgmode@gnu.org; Sun, 08 Jan 2017 17:06:14 -0500 Received: from relay3-d.mail.gandi.net ([2001:4b98:c:538::195]:41768) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cQLbR-000679-Ck for emacs-orgmode@gnu.org; Sun, 08 Jan 2017 17:06:13 -0500 In-Reply-To: (Young-whan's message of "Sat, 7 Jan 2017 17:12:34 -0800") 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: Young-whan Cc: emacs-orgmode 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