From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Bug: malformed property drawers [8.3.6 (8.3.6-3-gf46b92-elpa @ c:/Users/atamulis/.emacs.d/elpa/org-20160919/)] Date: Mon, 03 Oct 2016 18:31:58 +0200 Message-ID: <87int9qtq9.fsf@nicolasgoaziou.fr> References: <877f9rw6j1.fsf@nicolasgoaziou.fr> <39dade42-75cd-3e2b-157a-8392d6fd360f@att.net> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41678) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1br69q-0006O4-JN for emacs-orgmode@gnu.org; Mon, 03 Oct 2016 12:32:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1br69m-0002sY-JO for emacs-orgmode@gnu.org; Mon, 03 Oct 2016 12:32:02 -0400 Received: from relay4-d.mail.gandi.net ([217.70.183.196]:60111) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1br69m-0002sC-CA for emacs-orgmode@gnu.org; Mon, 03 Oct 2016 12:31:58 -0400 In-Reply-To: <39dade42-75cd-3e2b-157a-8392d6fd360f@att.net> (Andrius Tamulis's message of "Sun, 2 Oct 2016 23:52:42 -0500") 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: "Tamulis, Andrius" Cc: emacs-orgmode@gnu.org Hello, "Tamulis, Andrius" writes: > 1) I've just spent a lot of time trying various searches at the > emacs-orgmode Archives, and reading through many pages of results, but > I can't find the mailing list discussion mentioned below by Nicolas. > Can anyone help? Until I read that, I won't comment further on whether > it was a good idea to insist that PROPERTIES and dates immediatly > follow the headline. The most recent involved John Wiegley, who didn't like this change either. You also may want to look for a subject tagged with [ANN] where this change is announced. Anyway, the main motivation is speed, and removing some pathological cases, e.g., with entries containing inlinetasks. Now property API runs in constant time, it scales much better than before. > 2) If there is good code for fixing the properties drawers, why > isn't it in the org-agenda-set-property function? The code there now > just creates new PROPERTIES drawers, ignoring existing ones. The code in ORG-NEWS do not really "fix" drawers. Your drawers are perfectly valid in Org 8.3, but they do not have the same meaning. This function turns them into an equivalent for Org 9.0. This is only a helper function for the transition. OTOH, `org-agenda-set-property' function tries to repair wrong drawers, e.g., when they are missing the :END: part, IIRC. Regards, -- Nicolas Goaziou