emacs-orgmode
[Top][All Lists]
Advanced

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

Re: generate an org file for today's appointments


From: Mikhail Skorzhisnkii
Subject: Re: generate an org file for today's appointments
Date: Thu, 03 Dec 2020 12:01:15 +0100
User-agent: mu4e 1.4.13; emacs 27.1

I'd suggest to use function "org-agenda-write". You can export your agenda views to org files too! However, the formatting will be different. Probably something like:

* Event A
 SCHEDULED: <2020-12-03 Thu 10:00-12:00>
* Event B
 SCHEDULED: <2020-12-03 Thu 10:00-11:00>
* Event C
 SCHEDULED: <2020-12-03 Thu 14:00-15:30>
* Event D
 SCHEDULED: <2020-12-03 Thu 20:00-21:30>

I personally do this to generate separate org-file and then generate ics file based on that and upload this ics file through WebDAV to my calendar server.

Mikhail Skorzhinskii

Alan Schmitt <alan.schmitt@polytechnique.org> writes:

Hello,

I have my calendars converted to org files (using ical2orgpy), and as I include them as agenda files, I have this nice view in org-agenda:

9:10...... now - - - - - - - - - - - - - - - - - - - - - - - - -
  AlanWork:   10:00-12:00 Event A -
  Chris:      10:00-11:00 Event B -
              10:00...... ----------------
              12:00...... ----------------
  AlanWork:   14:00-15:30 Event C -
              14:00...... ----------------
              16:00...... ----------------
              18:00...... ----------------
  Alan:       20:00-21:30 Event D -

Is there a way to piggy-back on all the work that org-agenda already did
to generate something like:

** 10:00 Event A
** 10:00 Event B
** 14:00 Event C
** 20:00 Event D

This would then be inserted in my daily journal file.

I guess the alternative is using org-element to extract the information from the calendars in org format, but it seems to me org-agenda already
did all the hard work.

Do you have suggestions to do this?

Thanks,

Alan



reply via email to

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