emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Julien Cubizolles <j.cubizolles@free.fr>
To: emacs-orgmode@gnu.org
Subject: Re: using holiday dates from an ICAL calendar
Date: Thu, 27 Aug 2015 13:25:30 +0200	[thread overview]
Message-ID: <87vbc16kid.fsf@free.fr> (raw)
In-Reply-To: 87si7o8a3a.fsf@fastmail.fm

Matt Lundin <mdl@imapmail.org> 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	other threads:[~2015-08-27 11:25 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-29 14:08 using holiday dates from an ICAL calendar Julien Cubizolles
2015-08-12 21:37 ` Matt Lundin
2015-08-27 11:25   ` Julien Cubizolles [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87vbc16kid.fsf@free.fr \
    --to=j.cubizolles@free.fr \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).