From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ken Mankoff Subject: duplicate PROPERTIES drawers Date: Sun, 22 Feb 2015 16:37:33 -0500 Message-ID: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45450) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YPeDb-0002HK-J4 for emacs-orgmode@gnu.org; Sun, 22 Feb 2015 16:37:40 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YPeDY-000538-Cr for emacs-orgmode@gnu.org; Sun, 22 Feb 2015 16:37:39 -0500 Received: from mail-qa0-x22e.google.com ([2607:f8b0:400d:c00::22e]:42836) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YPeDY-000534-8X for emacs-orgmode@gnu.org; Sun, 22 Feb 2015 16:37:36 -0500 Received: by mail-qa0-f46.google.com with SMTP id n4so19809455qaq.5 for ; Sun, 22 Feb 2015 13:37:35 -0800 (PST) Received: from gorgonzola ([71.58.77.153]) by mx.google.com with ESMTPSA id t51sm1044127qge.28.2015.02.22.13.37.34 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 22 Feb 2015 13:37:35 -0800 (PST) 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: Org-mode I have found many task with duplicate PROPERTIES drawers. I saw mention on the list that, "...it will be invalid for a LOGBOOK to appear before PROPERTIES in Org 8.3." It seems that tasks don't have properties by default, and if I LOG an item, I get a LOGBOOK drawer. If properties are added later (by touching the item with MobileOrg, or adding a property with "C-c C-x p", then PROPERTIES go below the LOGBOOK. I'm not sure what is going on to create the second PROPERTIES drawer. Has anyone else seen this? Any ideas what I am doing wrong. I've found many of these tasks manually. I haven't been able to search and list them progragmatically (I've been trying using grep and other shell tools on my Org files). Is there a way to list all tasks with duplicate properties, or all tasks where :PROPERTIES: is not the first item listed, if that is a requirement? Thanks, -k.