From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 2LfADviGV2PLBwAAbAwnHQ (envelope-from ) for ; Tue, 25 Oct 2022 08:49:28 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id gEPADfiGV2PhUAAAG6o9tA (envelope-from ) for ; Tue, 25 Oct 2022 08:49:28 +0200 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 DE29F1CA4D for ; Tue, 25 Oct 2022 08:49:27 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1onDdE-0003rZ-Lb; Tue, 25 Oct 2022 02:41:48 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1onCyA-0004sE-S6 for emacs-orgmode@gnu.org; Tue, 25 Oct 2022 01:59:24 -0400 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1onCy8-00055V-LH for emacs-orgmode@gnu.org; Tue, 25 Oct 2022 01:59:22 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 489E7240103 for ; Tue, 25 Oct 2022 07:59:16 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1666677556; bh=Ee/kAp8xyNV8vAJtqAVleJbbjgePxrRlrsAiiDQdhCA=; h=From:To:Cc:Subject:Date:From; b=POuSM06OIw3fotsSPXZDpP8eSIr5tL5xn0ff9uvJ68fUWaQQtK94yjt39NLd4pomZ l+97XUPNgHuFMgMM/S9I6Q8KitZzqrrxYmPs/TmEkStyNFe+0LxVbkO+aTgHYBg+2v ewUaZWiuMzuXl/t6LultwAKMP5q0wndDQorBU7HVcFvvvLOYD5CXMebE71CRszH+uE TYsbeV8mqaQoDSQE88/W8qcTr3dyV/Tv4PRJ2TamvBKJMBOiDHnVUITOgF9tkGA8CO Og3tOcsAdv+60mvBjurmrrDNs7k+nL6+rDhcFgIdOtbDhAP05/g11Mf03XybsQzkvE 01b/so1tNH/TQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4MxLqQ4vx3z6tmV; Tue, 25 Oct 2022 07:59:14 +0200 (CEST) From: Ihor Radchenko To: Stephen Eglen Cc: emacs-orgmode@gnu.org Subject: Re: Exporting diary-sexps into icalendar file In-Reply-To: References: Date: Tue, 25 Oct 2022 05:59:52 +0000 Message-ID: <8735bcv3xj.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.66; envelope-from=yantar92@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=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.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Emacs-orgmode" Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1666680567; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=Ux4oXBNuyYWkdHjLOZf/chPjChKIFQSogqbaV7rSfYA=; b=tCwYuYZGbO4bI2BbyqzZ/tyUcD2BRz9um+ZNTbeH4Nl6Ci9FzxESD8gxVrBITpuFjI8uGA AazOEzkkKtd+mr0hIgKqtVxkiJIEtmiQ6qQCNnjs29e4mrI0HaviXxuS3C4kIINu0yw/8u tUyuph5ESph7iJnlDodOPm7obUOtA5yKhzsVX2wo/PYnnvQpYPFrRRCpihL8EF4x5qb4zT Nn1z42W+ZzmP5w5gMxLhxaf+UQIgYILoheSgxbF1UO3pLiiJeVui/I8KGsKXwD1e5CfRdZ dfnh63ySimKkD1Wrh6xhwmDKLDFqrV03HhxT3C8hgTUviWctuaPZdvgYZ5tgPA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1666680567; a=rsa-sha256; cv=none; b=tGMkQbQKWmB/l2KSnjoJqnuxuy5Ayz3YTt1fX93SC45Et6Wjwwwux+lbZZCkIfmAzao43u fm5C86grd55PMJX3Aq1yzgzOydhkWvs1r5Xl9mkQBzvZxgdbziwCK9FfK5KtXlhHK29r2d eqcK8MZhaVOAbIg3w6Rk9v3W02CGBpeJ+EWN6sdYBSErETVAH+CG74LdiBBVSMMuH/s8x1 oAuviHvXgrWrQYgNaEgilTP8ztveL7nC0tedKngj+Gv5o/zh2jQT3QSVwL14ICZ//BBddx dAH7p6dm9EkqAkBLYbesUwB8IETokM367FgCHH/+QbBnKcWxOMuVRHVXVvNTcg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=POuSM06O; dmarc=pass (policy=none) header.from=posteo.net; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -8.41 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=POuSM06O; dmarc=pass (policy=none) header.from=posteo.net; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: DE29F1CA4D X-Spam-Score: -8.41 X-Migadu-Scanner: scn0.migadu.com X-TUID: p0gjkWHBpP6a Stephen Eglen writes: > I have a simple file, notes.org, with the following content. (This is > the example from the org mode manual). > > ---------------------------------------------------------------------- > * 22:00-23:00 The nerd meeting on every 2nd Thursday of the month > <%%(diary-float t 4 2)> > ---------------------------------------------------------------------- > > and this entry then appears once/month in the org agenda, as expected. > However, when I export to ics, the notes.ics file is effectively empty: > > ---------------------------------------------------------------------- > BEGIN:VCALENDAR > VERSION:2.0 > X-WR-CALNAME:notes > PRODID:-//Stephen Eglen//Emacs with Org mode//EN > X-WR-TIMEZONE:BST > X-WR-CALDESC: > CALSCALE:GREGORIAN > END:VCALENDAR > > ---------------------------------------------------------------------- > > I have org-icalendar-include-sexps set to t > > Any clues what could be going wrong? org-icalendar-include-sexps only considers sexp entries, not diary-style timestamps. Also, org-icalendar-with-timestamps does not include diary-style timestamps by default. Only normal active timestamps. You can try to customize org-icalendar-with-timestamps to t. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at