emacs org-mode 导出为 iCalendar 格式问题

问题描述 投票:0回答:1

我刚刚开始使用 Emacs 和 org-mode。我在 mac 上使用 emacs(版本 26.3)。

我想在组织模式下创建已计划的项目并将其导出为 iCalendar 格式,以便我可以将它们导入到日历应用程序。这是组织文件

caltest.org

* test calendar
** meeting x
    SCHEDULED: <2020-01-16 Thu 12:15-14:00>
   :PROPERTIES:
   :LOCATION: room 1
   :END:
** TODO meeting y
    SCHEDULED: <2020-01-15 Wed>
   :PROPERTIES:
   :LOCATION: room 2
   :END:

当我将 (C-c C-e c f) 文件导出为 iCalendar 格式时。我生成了包含以下内容的以下文件

caltest.ics

BEGIN:VCALENDAR
VERSION:2.0
X-WR-CALNAME:caltest
PRODID:-//Mario Kusek//Emacs with Org mode//EN
X-WR-TIMEZONE:CET
X-WR-CALDESC:
CALSCALE:GREGORIAN
END:VCALENDAR

如您所见,文件中没有任何事件。

我正在使用

org-plus-contrib-20191230
进行组织模式。这是最新版本。我不知道是否有一些日志可以检查或如何调试导出。

我做错了什么以及如何检查出口?

emacs export icalendar org-mode
1个回答
0
投票

聚会有点晚了,但你可以自定义变量

org-icalendar-use-scheduled

如果 SCHEDULED 存在,则精确指定您希望创建事件的时间

© www.soinside.com 2019 - 2024. All rights reserved.