July, 15 at 23:58 Thorsten Jolitz wrote:
> Ivan Kanis writes:
>
>> I need to have org agenda (and then appt) manage an event once a week.
>> The catch is that is should happen at a random day and hour.
>>
>> My thinking is that populating programmatically a year entry is probably
>> the sanest wa
Thorsten Jolitz writes:
> ups, should be probably rather this:
>
> ,
> | (random-day (+ day (1+ (random (- 7 dow)
> `
grrr ... (- 6 dow) of course
--
cheers,
Thorsten
Thorsten Jolitz writes:
> Ivan Kanis writes:
>
> #+begin_src emacs-lisp
> (defun tj/return-random-timestamp-this-week ()
>"Insert random timestamp for this week."
> (interactive)
> (let* ((cal-info (decode-time (current-time)))
>(dow (nth 6 cal-info))
>(year (nth 5 cal-in
Ivan Kanis writes:
> Hi,
>
> I need to have org agenda (and then appt) manage an event once a week.
> The catch is that is should happen at a random day and hour.
>
> My thinking is that populating programmatically a year entry is probably
> the sanest way to go about it.
>
> Has anyone else done
Hi,
I need to have org agenda (and then appt) manage an event once a week.
The catch is that is should happen at a random day and hour.
My thinking is that populating programmatically a year entry is probably
the sanest way to go about it.
Has anyone else done it?
Ivan
--
Repeated reboots of t