[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] org-entry-delete vs org-entry-put

From: Michael Welle
Subject: [O] org-entry-delete vs org-entry-put
Date: Sat, 21 Jan 2017 11:15:15 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.91 (gnu/linux)


I'm hacking a function to deactivate and activate recurring tasks
without losing the time stamp associated with the scheduled property. I
observed two things so far:

1. Property names like DISABLED-SCHEDULED seem to be problematic. I
   guess the regexp matching the scheduled property is too greedy.

2. (org-entry-put pom "SCHEDULED" nil) removes the property, but
   (org-entry-delete pom "SCHEDULED")  doesn't. On the other hand,   
   (org-entry-put pom "foo" nil) doesn't remove the property, but
   (org-entry-delete pom "foo")  does. It's no real problem, but that
   seems a bit inconsistent to me. Is that intended behaviour?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]