emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* org-icalendar-alarm-time in org file as an #+OPTION
@ 2012-06-06 17:08 Enda
  2012-06-06 18:30 ` Bastien
  0 siblings, 1 reply; 7+ messages in thread
From: Enda @ 2012-06-06 17:08 UTC (permalink / raw)
  To: emacs-orgmode@gnu.org

[-- Attachment #1: Type: text/plain, Size: 109 bytes --]

Is there is way to have to have org-icalendar-alarm-time in an org file as an #+OPTION?


Best wishes,

Enda

[-- Attachment #2: Type: text/html, Size: 368 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: org-icalendar-alarm-time in org file as an #+OPTION
  2012-06-06 17:08 org-icalendar-alarm-time in org file as an #+OPTION Enda
@ 2012-06-06 18:30 ` Bastien
  2012-06-06 19:03   ` Enda
  0 siblings, 1 reply; 7+ messages in thread
From: Bastien @ 2012-06-06 18:30 UTC (permalink / raw)
  To: Enda; +Cc: emacs-orgmode@gnu.org

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: org-icalendar-alarm-time in org file as an #+OPTION
  2012-06-06 18:30 ` Bastien
@ 2012-06-06 19:03   ` Enda
       [not found]     ` <1339692807.24958.YahooMailNeo@web163104.mail.bf1.yahoo.com>
  0 siblings, 1 reply; 7+ messages in thread
From: Enda @ 2012-06-06 19:03 UTC (permalink / raw)
  To: Bastien; +Cc: emacs-orgmode@gnu.org

[-- Attachment #1: Type: text/plain, Size: 880 bytes --]

http://orgmode.org/manual/iCalendar-export.html

In Org options, I can set org-icalendar-alarm-time to '1' 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 one minute before the event (which was in the org file). Is there a way of setting org-icalendar-alarm-time to '1' locally instead of globally.


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

[-- Attachment #2: Type: text/html, Size: 1991 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* org-icalendar-alarm-time in org file as an #+OPTION
       [not found]       ` <1340378433.23741.YahooMailNeo@web163104.mail.bf1.yahoo.com>
@ 2012-06-27 15:59         ` Enda
  2012-06-27 16:38           ` Nick Dokos
  0 siblings, 1 reply; 7+ messages in thread
From: Enda @ 2012-06-27 15:59 UTC (permalink / raw)
  To: emacs-orgmode@gnu.org

[-- Attachment #1: Type: text/plain, Size: 1005 bytes --]

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.


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

[-- Attachment #2: Type: text/html, Size: 4174 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: org-icalendar-alarm-time in org file as an #+OPTION
  2012-06-27 15:59         ` Enda
@ 2012-06-27 16:38           ` Nick Dokos
  2012-06-27 16:45             ` Enda
  0 siblings, 1 reply; 7+ messages in thread
From: Nick Dokos @ 2012-06-27 16:38 UTC (permalink / raw)
  To: Enda; +Cc: emacs-orgmode@gnu.org

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:
> 
> ----------------------------------------------------

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: org-icalendar-alarm-time in org file as an #+OPTION
  2012-06-27 16:38           ` Nick Dokos
@ 2012-06-27 16:45             ` Enda
  2012-06-27 16:52               ` Nick Dokos
  0 siblings, 1 reply; 7+ messages in thread
From: Enda @ 2012-06-27 16:45 UTC (permalink / raw)
  To: nicholas.dokos@hp.com; +Cc: emacs-orgmode@gnu.org

[-- Attachment #1: Type: text/plain, Size: 2057 bytes --]

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:
> 
> ----------------------------------------------------

[-- Attachment #2: Type: text/html, Size: 3809 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: org-icalendar-alarm-time in org file as an #+OPTION
  2012-06-27 16:45             ` Enda
@ 2012-06-27 16:52               ` Nick Dokos
  0 siblings, 0 replies; 7+ messages in thread
From: Nick Dokos @ 2012-06-27 16:52 UTC (permalink / raw)
  To: Enda; +Cc: emacs-orgmode@gnu.org

Enda <enda_k2@yahoo.com> wrote:

> 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.
> 

C-h v enable-local-variables just gives you the docstring for
the variable - I'm not sure what you thought it did.

Nick

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2012-06-27 16:53 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-06 17:08 org-icalendar-alarm-time in org file as an #+OPTION Enda
2012-06-06 18:30 ` Bastien
2012-06-06 19:03   ` Enda
     [not found]     ` <1339692807.24958.YahooMailNeo@web163104.mail.bf1.yahoo.com>
     [not found]       ` <1340378433.23741.YahooMailNeo@web163104.mail.bf1.yahoo.com>
2012-06-27 15:59         ` Enda
2012-06-27 16:38           ` Nick Dokos
2012-06-27 16:45             ` Enda
2012-06-27 16:52               ` Nick Dokos

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).