emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Alan Schmitt <alan.schmitt@polytechnique.org>
To: "emacs-orgmode" <emacs-orgmode@gnu.org>
Subject: generate an org file for today's appointments
Date: Wed, 02 Dec 2020 09:36:14 +0100	[thread overview]
Message-ID: <871rg8txj5.fsf@m4x.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 1068 bytes --]

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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 528 bytes --]

             reply	other threads:[~2020-12-02 10:03 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-02  8:36 Alan Schmitt [this message]
2020-12-03 11:01 ` Mikhail Skorzhisnkii
2020-12-04  1:15   ` TRS-80
2020-12-04  8:20     ` Alan Schmitt
2020-12-04  8:13   ` Alan Schmitt

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=871rg8txj5.fsf@m4x.org \
    --to=alan.schmitt@polytechnique.org \
    --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).