emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] using holiday dates from an ICAL calendar


From: Julien Cubizolles
Subject: Re: [O] using holiday dates from an ICAL calendar
Date: Thu, 27 Aug 2015 13:25:30 +0200
User-agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/25.0.50 (gnu/linux)

Matt Lundin <address@hidden> writes:


> (my-calculate-skip-weeks '(10 17 2015) '(11 1 2015) 3) => (43 44)
>
> Based on this information, the org-class sexp could be written like
> this:
>
> %%(org-class 2015 9 15 2015 12 20 3 43 44) My class

I want to use the result of my-calculate-skip-weeks several times.

(my-calculate-skip-weeks) is run from an emacs-lisp source block. I
tried:

--8<---------------cut here---------------start------------->8---
(setq my-holidays '(43 44))

%%(org-class 2015 9 15 2015 12 20 3 'my-holidays') My class
--8<---------------cut here---------------end--------------->8---

but the entry isn't picked up by the agenda. Also, could org-class
access directly the #+RESULTS value if it's named ?

Julien.




reply via email to

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