From: John Helly <hellyj@ucsd.edu>
To: Ihor Radchenko <yantar92@posteo.net>
Cc: hellyj@ucsd.edu, Emacs-orgmode@gnu.org
Subject: Re: Agenda export to ics file
Date: Sat, 8 Jun 2024 10:33:43 -1000 [thread overview]
Message-ID: <486355aa-80b6-4b56-a13e-7e02f972e41a@ucsd.edu> (raw)
In-Reply-To: <87le3fw8am.fsf@localhost>
Aloha.
I modified the variable specification to be:
-*- org-icalendar-use-deadline: event-if-not-todo; -*-
and get the following error:
'Wrong type argument: listp, event-if-not-todo'
So it's reading the specification but seems that the syntax is
incorrect. I don't seem to be able to find anything that tells me what
the correct syntax should be.
Any further advice is welcome.
J.
On 6/8/24 09:20, Ihor Radchenko wrote:
> John Helly <hellyj@ucsd.edu> writes:
>
>> Sure. Thanks for the reply.
>>
>> 1) I put this line at the top of the org file
>>
>> -*- org-icalendar-use-deadline: t; -*-
> This is not right. According to the docstring:
>
> org-icalendar-use-deadline is a customizable variable defined in
> ox-icalendar.el.
>
> Value
> (event-if-not-todo todo-due)
>
> Documentation
> Contexts where iCalendar export should use a deadline time stamp.
> This is a list with possibly several symbols in it. Valid symbols are:
> event-if-todo
> Deadlines in TODO entries become calendar events.
> event-if-todo-not-done
> Deadlines in TODO entries with not-DONE state become events.
> event-if-not-todo
> Deadlines in non-TODO entries become calendar events.
> todo-due
> Use deadlines in TODO entries as due-dates.
>
> t is simply not a valid value.
>
>> 2) When I do the same thing on a different machine, I get a message that
>>
>> 'Symbol’s value as variable is void:
>> org-agenda-default-appointment-duration'
> This looks like installation problem.
>
--
John Helly / San Diego Supercomputer Center / Scripps Institution of Oceanography
https://www.sdsc.edu/~hellyj / 808 205 9882 / 760 8408660
next prev parent reply other threads:[~2024-06-08 20:34 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-06-06 22:34 Agenda export to ics file John Helly
2024-06-07 15:06 ` Ihor Radchenko
2024-06-07 20:02 ` John Helly
2024-06-08 19:20 ` Ihor Radchenko
2024-06-08 20:33 ` John Helly [this message]
2024-06-08 20:38 ` Ihor Radchenko
2024-06-08 20:44 ` John Helly
2024-06-08 20:52 ` John Helly
2024-06-08 21:39 ` John Helly
2024-06-09 11:52 ` Ihor Radchenko
2024-06-09 20:22 ` John Helly
2024-06-09 20:31 ` John Helly
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=486355aa-80b6-4b56-a13e-7e02f972e41a@ucsd.edu \
--to=hellyj@ucsd.edu \
--cc=Emacs-orgmode@gnu.org \
--cc=yantar92@posteo.net \
/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).