From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id gMSUMFxmx1+CCAAA0tVLHw (envelope-from ) for ; Wed, 02 Dec 2020 10:03:08 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id qOmCLFxmx19sQwAA1q6Kng (envelope-from ) for ; Wed, 02 Dec 2020 10:03:08 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 5E05D9400D3 for ; Wed, 2 Dec 2020 10:03:08 +0000 (UTC) Received: from localhost ([::1]:41082 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kkOyY-0002hb-O6 for larch@yhetil.org; Wed, 02 Dec 2020 05:03:07 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:47476) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kkNci-0001os-0h for emacs-orgmode@gnu.org; Wed, 02 Dec 2020 03:36:28 -0500 Received: from mail2-relais-roc.national.inria.fr ([192.134.164.83]:58484) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kkNcc-000495-LU for emacs-orgmode@gnu.org; Wed, 02 Dec 2020 03:36:24 -0500 X-IronPort-AV: E=Sophos;i="5.78,386,1599516000"; d="asc'?scan'208";a="480612783" Received: from cbg35-2-78-242-14-140.fbx.proxad.net (HELO set) ([78.242.14.140]) by mail2-relais-roc.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 02 Dec 2020 09:36:17 +0100 From: Alan Schmitt To: "emacs-orgmode" Subject: generate an org file for today's appointments Date: Wed, 02 Dec 2020 09:36:14 +0100 Message-ID: <871rg8txj5.fsf@m4x.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Received-SPF: neutral client-ip=192.134.164.83; envelope-from=alan.schmitt@polytechnique.org; helo=mail2-relais-roc.national.inria.fr X-Spam_score_int: -33 X-Spam_score: -3.4 X-Spam_bar: --- X-Spam_report: (-3.4 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_NEUTRAL=0.779 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -0.82 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: 5E05D9400D3 X-Spam-Score: -0.82 X-Migadu-Scanner: ns3122888.ip-94-23-21.eu X-TUID: LFNVe9+ojnxK --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable 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 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQFTBAEBCAA9FiEE6lXof/BsSVW56ZmGBA0KO07S5ccFAl/HUf4fHGFsYW4uc2No bWl0dEBwb2x5dGVjaG5pcXVlLm9yZwAKCRAEDQo7TtLlx39JB/9mApVoFZf2uSAD /+V/Og9K2mzp19SBzFlg8pPw279pnmom6BcfdkFaARwv6zcr6XHELWCNPBOYc32I /jar1+jPaWprZuX+LBk9vk1xveFg1DctW4c+Otk5GZJWlHN1Mbeblbm5EWghiGl0 IhfV11I3/SfLU7ShM27T6Isuz1L7aZzSuuCxH8m0GXiRRpEaSJslgFjQ8sJ1BaoA klx+sE7QgpsuyvrwD6LBNFGgTVZG1CcKS45dx0PCxcc9H6INq65MzrXTv1yN9xH8 NVqzbkZpG6GFWeTwaxOZdHXqOKWHSESHCEx/fh8JehZYXKA5weXlTz5HJntF8OJa 07UUPQEp =D/u3 -----END PGP SIGNATURE----- --=-=-=--