emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* How to set the scheduled property programmatically?
@ 2017-01-21 17:57 Michael Welle
  2017-01-22 14:12 ` Michael Welle
  2017-01-25 22:30 ` Nicolas Goaziou
  0 siblings, 2 replies; 4+ messages in thread
From: Michael Welle @ 2017-01-21 17:57 UTC (permalink / raw)
  To: emacs-orgmode

Hello,

what is the correct way to set the property? I tried

(org-entry-put pom "SCHEDULED" "<2017-01-01 Sun ++1w>")

which results in

SCHEDULED: <2017-01-01 Sun>

As you can see, the 'repeater' is missing.

Regards
hmw

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

* Re: How to set the scheduled property programmatically?
  2017-01-21 17:57 How to set the scheduled property programmatically? Michael Welle
@ 2017-01-22 14:12 ` Michael Welle
  2017-01-25 22:30 ` Nicolas Goaziou
  1 sibling, 0 replies; 4+ messages in thread
From: Michael Welle @ 2017-01-22 14:12 UTC (permalink / raw)
  To: emacs-orgmode

Hello,

Michael Welle <mwe012008@gmx.net> writes:

> Hello,
>
> what is the correct way to set the property? I tried
>
> (org-entry-put pom "SCHEDULED" "<2017-01-01 Sun ++1w>")
>
> which results in
>
> SCHEDULED: <2017-01-01 Sun>
>
> As you can see, the 'repeater' is missing.
org-cancel-repeater uses regexp search and replace to manipulate the
repeater. I guess that is a hint that I have do to that as well?

Regards
hmw

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

* Re: How to set the scheduled property programmatically?
  2017-01-21 17:57 How to set the scheduled property programmatically? Michael Welle
  2017-01-22 14:12 ` Michael Welle
@ 2017-01-25 22:30 ` Nicolas Goaziou
  2017-01-26 10:14   ` Michael Welle
  1 sibling, 1 reply; 4+ messages in thread
From: Nicolas Goaziou @ 2017-01-25 22:30 UTC (permalink / raw)
  To: Michael Welle; +Cc: emacs-orgmode

Hello,

Michael Welle <mwe012008@gmx.net> writes:

> what is the correct way to set the property? I tried
>
> (org-entry-put pom "SCHEDULED" "<2017-01-01 Sun ++1w>")
>
> which results in
>
> SCHEDULED: <2017-01-01 Sun>
>
> As you can see, the 'repeater' is missing.

Fixed. Thank you.

Regards,

-- 
Nicolas Goaziou

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

* Re: How to set the scheduled property programmatically?
  2017-01-25 22:30 ` Nicolas Goaziou
@ 2017-01-26 10:14   ` Michael Welle
  0 siblings, 0 replies; 4+ messages in thread
From: Michael Welle @ 2017-01-26 10:14 UTC (permalink / raw)
  To: emacs-orgmode

Hello,

Nicolas Goaziou <mail@nicolasgoaziou.fr> writes:

> Hello,
>
> Michael Welle <mwe012008@gmx.net> writes:
>
>> what is the correct way to set the property? I tried
>>
>> (org-entry-put pom "SCHEDULED" "<2017-01-01 Sun ++1w>")
>>
>> which results in
>>
>> SCHEDULED: <2017-01-01 Sun>
>>
>> As you can see, the 'repeater' is missing.
>
> Fixed. Thank you.
thank you, that's much appreciated.

Regards
hmw

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

end of thread, other threads:[~2017-01-26 10:14 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-01-21 17:57 How to set the scheduled property programmatically? Michael Welle
2017-01-22 14:12 ` Michael Welle
2017-01-25 22:30 ` Nicolas Goaziou
2017-01-26 10:14   ` Michael Welle

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).