From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Charles C. Berry" Subject: Re: possible bug in adding properties to headlines with no properties Date: Fri, 28 Nov 2014 08:57:55 -0800 Message-ID: References: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40189) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XuOrs-0003Do-GG for emacs-orgmode@gnu.org; Fri, 28 Nov 2014 11:58:10 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XuOrm-0001SE-EL for emacs-orgmode@gnu.org; Fri, 28 Nov 2014 11:58:04 -0500 Received: from iport-acv2-out.ucsd.edu ([132.239.0.174]:19566) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XuOrm-0001RB-5Z for emacs-orgmode@gnu.org; Fri, 28 Nov 2014 11:57:58 -0500 In-Reply-To: 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: John Kitchin Cc: emacs-orgmode@gnu.org On Fri, 28 Nov 2014, John Kitchin wrote: > I noticed an undesirable behavior in setting a property on a headline > with no properties, but which contains a code block that generates > headlines with properties. When I try to set a property with C-c C-x p, > the property gets put in the wrong place (inside the code block). It is > a small issue, but I thought I would report. > John, When I do as you suggest, I get a prompt: Malformed drawer at 348, repair? (y or n) `348' was the bol for the first :PROPERTIES: line. When I respond `y', a properties drawer is created under the headline and I get the usual prompts to complete the addition of a property. In the end, it looks correct. I get the same behavior with both current and older 8.3beta commits: : commit e4195fa7db03284c0c0d5b70a66d419ce7caf3e9 : Author: Nicolas Goaziou : Date: Thu Nov 13 21:49:03 2014 +0100 : commit 5945beef05120ce319228195a9e0c562f8573d19 : Author: Nicolas Goaziou : Date: Thu Nov 27 00:21:03 2014 +0100 : HTH, Chuck