From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Goerzen Subject: Re: Properties lost when closing, scheduling, etc. Date: Tue, 10 Oct 2017 22:01:58 -0500 Message-ID: References: <871smajw8w.fsf@aquinas.i-did-not-set--mail-host-address--so-tickle-me> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56665) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e27Hu-0006PY-H4 for emacs-orgmode@gnu.org; Tue, 10 Oct 2017 23:02:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e27Hr-00024x-9E for emacs-orgmode@gnu.org; Tue, 10 Oct 2017 23:02:26 -0400 Received: from glockenspiel.complete.org ([142.4.200.132]:54370) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1e27Hr-00024j-46 for emacs-orgmode@gnu.org; Tue, 10 Oct 2017 23:02:23 -0400 In-Reply-To: <871smajw8w.fsf@aquinas.i-did-not-set--mail-host-address--so-tickle-me> Content-Language: en-US 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: Richard Lawrence , emacs-orgmode@gnu.org On 10/10/2017 08:42 PM, Richard Lawrence wrote: > Hi John, > > John Goerzen writes: > >> Unfortunately, org-mode only recognizes the PROPERTIES when they >> occur immediately after the headline. So whenever I take an action >> on an item like this, the properties become invisible to org-mode. > > What version of Org are you running? This sounds like old behavior > (or maybe a problematic mix of new and old behavior). PROPERTIES > drawer syntax changed (incompatibly) in 8.3; see > http://orgmode.org/Changes_old.html. Hi Richard, Thanks for the reply! I have 9.0.3. (Bit embarrassed I omitted that detail, sigh.) So the documentation says PROPERTIES can be after a "planning line", shich seems to be DEADLINE: or SCHEDULED: but not necessarily CLOSED:. I attempted to validate this, both by evaulating (org-id-get) on the spot and by using C-c l (which was what caused the problem to begin with; it added a second PROPERTIES block, as I have org-id-link-to-org-use-id set to 'create-if-interactive). Now somehow I cannot duplicate the problem. So I don't know what the heck happened -- I know it DID happen -- but it's possible this is a PEBKAC issue anyhow. I cannot make it misbehave with either SCHEDULED or CLOSED in my testing now. - John > > If you are running an older version, may want to try upgrading and > then running the org-repair-property-drawers function defined on that > page. > Hope that helps! > > Best, > Richard