There are #+OPTIONs, etc. in Org-mode, either "C-h v enable-local-variables" or pressing '!' after I am warned about the potentially dangerous local variable in order that I am not warned again about that particular local variable is not ideal. Having an #+OPTION, etc to set org-icalendar-alarm-time per file is on my wishlist.


Best wishes,

Enda


From: Nick Dokos <nicholas.dokos@hp.com>
To: Enda <enda_k2@yahoo.com>
Cc: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Sent: Wednesday, June 27, 2012 5:38 PM
Subject: Re: [O] org-icalendar-alarm-time in org file as an #+OPTION

Enda <enda_k2@yahoo.com> wrote:

> http://orgmode.org/manual/iCalendar-export.html
>
> In Org options, I can set org-icalendar-alarm-time to '5' and when I export the org file as an ical
> file, and then import the ical file into a calendar application, I get notified by the alarm of the
> calendar application five minutes before the event (which was in the org file). Is there a way of
> setting org-icalendar-alarm-time to '5' locally instead of globally?
>
> # -*- org-icalendar-alarm-time: 5  -*-
> works, but I get a warning when I open the file.
>

I'm guessing you have local file variables disabled (the default).
Try

    C-h v enable-local-variables

Nick

> Best wishes,
>
> Enda
>
> ----------------------------------------------------------------------------------------------------
> From: Bastien <bzg@gnu.org>
> To: Enda <enda_k2@yahoo.com>
> Cc: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
> Sent: Wednesday, June 6, 2012 7:30 PM
> Subject: Re: org-icalendar-alarm-time in org file as an #+OPTION
>
> Hi Enda,
>
> Enda <enda_k2@yahoo.com> writes:
>
> > Is there is way to have to have org-icalendar-alarm-time in an org
> > file as an #+OPTION?
>
> What would do `org-icalendar-alarm-time'?
>
> --
> Bastien
>
>
> ----------------------------------------------------
> Alternatives:
>
> ----------------------------------------------------