From mboxrd@z Thu Jan 1 00:00:00 1970 From: Xavier Maillard Subject: [Q] Remove empty drawers ? Date: Thu, 09 Apr 2015 06:47:13 +0200 Message-ID: <86iod552ni.fsf@kcals2.maillard.im> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48896) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yg4N3-0005xD-W1 for emacs-orgmode@gnu.org; Thu, 09 Apr 2015 00:47:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yg4N0-0005zV-PP for emacs-orgmode@gnu.org; Thu, 09 Apr 2015 00:47:17 -0400 Received: from out4-smtp.messagingengine.com ([66.111.4.28]:55083) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yg4N0-0005zR-Lh for emacs-orgmode@gnu.org; Thu, 09 Apr 2015 00:47:14 -0400 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 606632058C for ; Thu, 9 Apr 2015 00:47:10 -0400 (EDT) Received: from kcals2.maillard.im (unknown [90.18.57.237]) by mail.messagingengine.com (Postfix) with ESMTPA id BE9376800CE for ; Thu, 9 Apr 2015 00:47:13 -0400 (EDT) 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: "emacs-orgmode@gnu.org" Hi, I tried to add a CATEGORY property recently in an org file and I was offered to repair badly formatted PROPERTY drawers. I accepted since I thought there was a unique element to fix but it fixed way much. In fact, the fix has consisted in adding one empty PROPERTY block per heading element (I don't know why though). Now I am looking for a way to delete all of them :/ How would you do that ? Thank you -- Xavier.