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 0Es6LErGyF/dMgAA0tVLHw (envelope-from ) for ; Thu, 03 Dec 2020 11:04:42 +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 lBMiKErGyF9zDAAA1q6Kng (envelope-from ) for ; Thu, 03 Dec 2020 11:04:42 +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 5C7379409E7 for ; Thu, 3 Dec 2020 11:04:40 +0000 (UTC) Received: from localhost ([::1]:47084 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kkmPd-0006Ix-CI for larch@yhetil.org; Thu, 03 Dec 2020 06:04:37 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:48504) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kkmMQ-0003jq-Kd for emacs-orgmode@gnu.org; Thu, 03 Dec 2020 06:01:18 -0500 Received: from out2-smtp.messagingengine.com ([66.111.4.26]:43997) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kkmMO-0004Kh-3d for emacs-orgmode@gnu.org; Thu, 03 Dec 2020 06:01:18 -0500 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id B6F055C0110; Thu, 3 Dec 2020 06:01:13 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Thu, 03 Dec 2020 06:01:13 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eml.cc; h= references:from:to:cc:subject:in-reply-to:date:message-id :mime-version:content-type; s=fm1; bh=7M0y09Ef3z2T1QEQ8A9WVcN6Ne QMvus0khenB4skWcM=; b=jUHcASKh2QkO3lOCjTxwN586h+Xg9QzhUPxJtsVa9r 5dozQW7qeCRdZ4YMRQ69hrOQ168Rqbzo2JDMSDTKg/iev7cOU3hG3J/BeoztQzEr 1fAKiq7R1lZ7tAHY0YZFMjzJqSUC+I/kmXdd0aNE3KOQm/f0/KDnkuFMy1aHszi5 YCVPCu1/O3UZ0uImZgOUKibZFKAvYoi/qCk0LKurBord9T9Hul/en0Rw3rmyIKCp RXkjkrDS8dTGFOFwqCCkifClHGo5NxB7oEOX29G700fYy9GWBVvusSBd6UxZzs0F 1hVYTvwQHKxFYVTt0TVdkzKkj2dddXXkdU8um7hg9hew== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=7M0y09 Ef3z2T1QEQ8A9WVcN6NeQMvus0khenB4skWcM=; b=Q99+XN3gj/XdXxZAWHbvCZ DbZ1skpvzCGjK8a7yuVd6X1jgeBowFoPBAzLyKSJwOIoinjZGZK+c3ChHdZ0cj2o iddBsguiybB3X3+ymFnFWoecbKGalpfzcFl1KDIC/z6hIaMysvHf7woXxDR3t4WD N4ruxYIBt5HlNkgxAj7I/vWbrprUCBHIazJRofQeA+DXu4JbQjC5Y4/A55OHlJRr 3LjhrdKZb0zzDniAc/UxUwRWK2ejKYP8Xx2/N5M1ioA8SiSbIMB2zNwDE1bGYfU3 tMTFTIJJ9EgppD/yp7f+yQfBXz51FUydMR3tkMgeFbALSW4MseTwqTStnhAtherg == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrudeiiedgvdduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne gfrhhlucfvnfffucdludehmdenucfjughrpehffgfhvffujgffkfggtgesthdtredttder tdenucfhrhhomhepofhikhhhrghilhcuufhkohhriihhihhsnhhkihhiuceomhhskhhorh iihhhinhhskhhihiesvghmlhdrtggtqeenucggtffrrghtthgvrhhnpefftdekfefhveeh vdeluedvgeehgedvieefieehffefteejhefgteffffejvdegteenucfkphepkeekrddvud ehrddutdefrddvfeeinecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghi lhhfrhhomhepmhhskhhorhiihhhinhhskhhihiesvghmlhdrtggt X-ME-Proxy: Received: from YogaTux (unknown [88.215.103.236]) by mail.messagingengine.com (Postfix) with ESMTPA id AEE511080063; Thu, 3 Dec 2020 06:01:12 -0500 (EST) References: <871rg8txj5.fsf@m4x.org> User-agent: mu4e 1.4.13; emacs 27.1 From: Mikhail Skorzhisnkii To: Alan Schmitt Subject: Re: generate an org file for today's appointments In-reply-to: <871rg8txj5.fsf@m4x.org> Date: Thu, 03 Dec 2020 12:01:15 +0100 Message-ID: <878saf8878.fsf@eml.cc> MIME-Version: 1.0 Content-Type: text/plain; format=flowed Received-SPF: pass client-ip=66.111.4.26; envelope-from=mskorzhinskiy@eml.cc; helo=out2-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 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: , Cc: emacs-orgmode@gnu.org Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -2.98 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=eml.cc header.s=fm1 header.b=jUHcASKh; dkim=pass header.d=messagingengine.com header.s=fm1 header.b=Q99+XN3g; dmarc=pass (policy=none) header.from=eml.cc; 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: 5C7379409E7 X-Spam-Score: -2.98 X-Migadu-Scanner: ns3122888.ip-94-23-21.eu X-TUID: DmqyxD+zK2cQ 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 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