all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Andreas Gösele" <goesele@hfph.mwn.de>
To: help-gnu-emacs@gnu.org
Subject: sexp and icalendar-export-file
Date: Sun, 23 May 2021 00:12:53 -0400	[thread overview]
Message-ID: <87sg2et7ei.fsf@hfph.mwn.de> (raw)

Hi,

in my diary file I rely heavily on expressions like

%%(and (= (calendar-day-of-week date) 3) (diary-block 20 4 2020 24 7
       2020) (not (or (diary-date 1 5 2020) (diary-date 21 5 2020)
       (diary-date 1 6 2020) (diary-date 2 6 2020) (diary-date 11 6
       2020)))) 8:00-10:00 Some important event

This works well in the Calendar.

But it doesn't work with icalendar-export-file.

I guess it is one of the "self-made sexp entries" that "are not
understood" as per icalendar.el

Is there any way I could export something like this into an icalendar
file?

Or is there any way I could achieve the same thing with another kind of
expression which can be exported? (Of course, I don't want to list the
single dates!)

Basically the expressions combines a week day, a diary block and some
exceptions. (Actually I also use sexp expressions which combine two or
three weekdays, a diary block and exceptions, but I could live without
that.)

Thanks a lot!

Andreas




             reply	other threads:[~2021-05-23  4:12 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-23  4:12 Andreas Gösele [this message]
2021-05-24  4:03 ` sexp and icalendar-export-file Andreas Gösele
2021-05-24  7:03   ` Jean Louis
2021-05-24  7:11   ` Jean Louis
2021-05-24 10:52   ` Michael Heerdegen
2021-05-24 11:30     ` Michael Heerdegen
2021-05-24 19:13   ` Andreas Gösele

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

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

  git send-email \
    --in-reply-to=87sg2et7ei.fsf@hfph.mwn.de \
    --to=goesele@hfph.mwn.de \
    --cc=help-gnu-emacs@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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.