all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* org-entry-delete vs org-entry-put
@ 2017-01-21 10:15 Michael Welle
  2017-01-22 13:31 ` Nicolas Goaziou
  0 siblings, 1 reply; 3+ messages in thread
From: Michael Welle @ 2017-01-21 10:15 UTC (permalink / raw)
  To: emacs-orgmode

Hello,

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?

Regards
hmw

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-01-22 13:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-01-21 10:15 org-entry-delete vs org-entry-put Michael Welle
2017-01-22 13:31 ` Nicolas Goaziou
2017-01-22 13:50   ` Michael Welle

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.