From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Kitchin Subject: Re: possible bug in adding properties to headlines with no properties Date: Fri, 28 Nov 2014 14:35:54 -0500 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55217) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XuRKj-0000Rl-Ff for emacs-orgmode@gnu.org; Fri, 28 Nov 2014 14:36:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XuRKe-00081l-I8 for emacs-orgmode@gnu.org; Fri, 28 Nov 2014 14:36:01 -0500 Received: from smtp.andrew.cmu.edu ([128.2.105.202]:46376) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XuRKe-00081f-DK for emacs-orgmode@gnu.org; Fri, 28 Nov 2014 14:35:56 -0500 In-Reply-To: (Charles C. Berry's message of "Fri, 28 Nov 2014 08:57:55 -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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: "Charles C. Berry" Cc: emacs-orgmode@gnu.org "Charles C. Berry" writes: thanks for the note. I am still on 8.2.7, so it sounds like the issue is fixed upstream of me. I look forward to getting there! > 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 > > > -- ----------------------------------- John Kitchin Professor Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213 412-268-7803 http://kitchingroup.cheme.cmu.edu