From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nikolai Weibull Subject: =?UTF-8?B?T3JnLWdldC1wcm9wZXJ0eS1ibG9jayBjYW7igJl0IGhhbmRsZSBw?= =?UTF-8?B?cmVjZWRpbmcgZHJhd2Vycw==?= Date: Wed, 31 Jan 2018 21:01:52 +0100 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56025) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1egya9-0004ae-VB for emacs-orgmode@gnu.org; Wed, 31 Jan 2018 15:02:10 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1egya7-0001TO-Db for emacs-orgmode@gnu.org; Wed, 31 Jan 2018 15:02:10 -0500 Received: from disu.se ([71.19.156.204]:47112) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1egya7-0001PB-4D for emacs-orgmode@gnu.org; Wed, 31 Jan 2018 15:02:07 -0500 Received: from portair.local (c-7a37e155.017-44-67626723.cust.bredbandsbolaget.se [85.225.55.122]) by disu.se (Postfix) with ESMTPSA id 3A8FDBFE3 for ; Wed, 31 Jan 2018 21:01:57 +0100 (CET) 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: emacs-orgmode@gnu.org Hi! I=E2=80=99m doing some restructuring of my Org files and I=E2=80=99m gett= ing a lot=20 of claims that I have malformed drawers. Some of these files are=20 quite old, so at first this seemed like a reasonable problem, but=20 when I looked closer everything looked fine. The problem was that=20 I had :LOGBOOK: drawers before quite a few of my :PROPERTY:=20 drawers and apparently org-get-property-block is /completely/=20 unaware of this possibility. At first I figured that the rules=20 had changed and that the :PROPERTY: drawer must come first, but=20 then I tried it out and Org would gladly create a new :LOGBOOK:=20 drawer for an entry that already had a :PROPERTY: drawer and place=20 the :LOGBOOK: drawer first. Now, what=E2=80=99s worse is that the whole =E2=80=9Cyou have a malformed= drawers,=20 should I fix it?=E2=80=9D functionality in org-buffer-property-keys will=20 not actually move the :PROPERTY: drawer to the location that it=20 expects, it simply creates an empty :PROPERTY: drawer instead and=20 leaves the =E2=80=9Cmisplaced=E2=80=9D one where it was. What=E2=80=99s going on here? Nikolai =20