emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Fraga, Eric" <e.fraga@ucl.ac.uk>
To: Ypo <ypuntot@gmail.com>
Cc: Ihor Radchenko <yantar92@posteo.net>,
	Jack Kamm <jackkamm@gmail.com>, Org-mode <emacs-orgmode@gnu.org>
Subject: Re: [BUG] No result exporting combined org-agenda files to icalendar [9.6.15 (release_9.6.15 @ z:/emacs-i686/share/emacs/29.2/lisp/org/)]. It was: org-icalendar export problems
Date: Sat, 3 Feb 2024 14:24:34 +0000	[thread overview]
Message-ID: <874jepfwwu.fsf@ucl.ac.uk> (raw)
In-Reply-To: <48883dc2-bf58-ba5c-8790-449384ef9c40@gmail.com> (Ypo's message of "Sat, 3 Feb 2024 13:13:12 +0100")

On Saturday,  3 Feb 2024 at 13:13, Ypo wrote:
> I think I will keep waiting till somebody shares an easy and robust
> way to get an .ics calendar from org files.

Not sure what you are expecting but I can show you my (elided) shell
script that generates a single ics file from multiple org files:

--8<---------------cut here---------------start------------->8---
DIARY=${HOME}/s/notes/diary
OUTLOOK=${HOME}/s/notes/outlook
emacs -Q --batch --debug-init \
    --load=esf-org.el \
    --visit=${DIARY}.org --eval='(org-icalendar-export-to-ics)' \
    --visit=${OUTLOOK}.org --eval='(org-icalendar-export-to-ics)'
cat ${DIARY}.ics \
    ${OUTLOOK}.ics \
    > /tmp/combined.ics
--8<---------------cut here---------------end--------------->8---

where esf-org.el has some org customizations and the resulting combined
ics file is in /tmp/combined.ics.

HTH,
eric

-- 
Eric S Fraga, https://profiles.ucl.ac.uk/5958-eric-fraga

  reply	other threads:[~2024-02-03 14:30 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-29 16:17 org-icalendar export problems ypuntot
2024-01-29 16:31 ` Ihor Radchenko
2024-01-30  3:30   ` Jack Kamm
2024-01-30  3:57     ` ypuntot
2024-01-30  4:13       ` Jack Kamm
2024-02-01 19:38         ` Ypo
2024-02-02 16:53           ` Ihor Radchenko
2024-02-02 21:16             ` [BUG] No result exporting combined org-agenda files to icalendar [9.6.15 (release_9.6.15 @ z:/emacs-i686/share/emacs/29.2/lisp/org/)]. It was: " Ypo
2024-02-02 21:25               ` Ihor Radchenko
2024-02-03 12:13                 ` Ypo
2024-02-03 14:24                   ` Fraga, Eric [this message]
2024-02-03 18:58                   ` Jack Kamm

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=874jepfwwu.fsf@ucl.ac.uk \
    --to=e.fraga@ucl.ac.uk \
    --cc=emacs-orgmode@gnu.org \
    --cc=jackkamm@gmail.com \
    --cc=yantar92@posteo.net \
    --cc=ypuntot@gmail.com \
    /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).