July, 15 at 23:58 Thorsten Jolitz wrote:
Ivan Kanis i...@kanis.fr 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
Ivan Kanis i...@kanis.fr 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
Thorsten Jolitz tjol...@gmail.com writes:
Ivan Kanis i...@kanis.fr 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))
Thorsten Jolitz tjol...@gmail.com writes:
ups, should be probably rather this:
,
| (random-day (+ day (1+ (random (- 7 dow)
`
grrr ... (- 6 dow) of course
--
cheers,
Thorsten