Enda <enda...@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 <b...@gnu.org>
> To: Enda <enda...@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...@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:
> 
> ----------------------------------------------------

Reply via email to