From mboxrd@z Thu Jan 1 00:00:00 1970 From: Julien Cubizolles Subject: Re: using holiday dates from an ICAL calendar Date: Thu, 27 Aug 2015 13:25:30 +0200 Message-ID: <87vbc16kid.fsf@free.fr> References: <876153dpjr.fsf@free.fr> <87si7o8a3a.fsf@fastmail.fm> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33425) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZUvJX-0005NC-GG for emacs-orgmode@gnu.org; Thu, 27 Aug 2015 07:25:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZUvJU-0003V6-B2 for emacs-orgmode@gnu.org; Thu, 27 Aug 2015 07:25:51 -0400 Received: from plane.gmane.org ([80.91.229.3]:52740) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZUvJU-0003Um-3t for emacs-orgmode@gnu.org; Thu, 27 Aug 2015 07:25:48 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1ZUvJN-0005ZP-Tu for emacs-orgmode@gnu.org; Thu, 27 Aug 2015 13:25:41 +0200 Received: from gas45-3-82-244-252-119.fbx.proxad.net ([82.244.252.119]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 27 Aug 2015 13:25:41 +0200 Received: from j.cubizolles by gas45-3-82-244-252-119.fbx.proxad.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 27 Aug 2015 13:25:41 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Matt Lundin 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.