From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: org-entry-delete vs org-entry-put Date: Sun, 22 Jan 2017 14:31:46 +0100 Message-ID: <87d1ffb4ql.fsf@nicolasgoaziou.fr> References: <87o9z03ej0.fsf@luisa.c0t0d0s0.de> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54700) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cVIFL-0002fc-1Q for emacs-orgmode@gnu.org; Sun, 22 Jan 2017 08:31:51 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cVIFK-0006oT-AX for emacs-orgmode@gnu.org; Sun, 22 Jan 2017 08:31:51 -0500 Received: from relay3-d.mail.gandi.net ([2001:4b98:c:538::195]:57680) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cVIFK-0006oJ-4s for emacs-orgmode@gnu.org; Sun, 22 Jan 2017 08:31:50 -0500 In-Reply-To: <87o9z03ej0.fsf@luisa.c0t0d0s0.de> (Michael Welle's message of "Sat, 21 Jan 2017 11:15:15 +0100") 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: Michael Welle Cc: emacs-orgmode@gnu.org Hello, Michael Welle writes: > 1. Property names like DISABLED-SCHEDULED seem to be problematic. I > guess the regexp matching the scheduled property is too greedy. What exactly is problematic? Could you expound a bit? > 2. (org-entry-put pom "SCHEDULED" nil) removes the property, but > (org-entry-delete pom "SCHEDULED") doesn't. Fixed: `org-entry-delete' now deletes wrong "SCHEDULED" property. Thank you. > On the other hand, > (org-entry-put pom "foo" nil) doesn't remove the property, but > (org-entry-delete pom "foo") does. I don't see any problem here given the docstring of `org-entry-put'. Regards, -- Nicolas Goaziou