emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* org-notify: can't define an org-notify-add
  2015-05-20 22:20 How to elegantly and effectively quote org fragments? Alain.Cochard
@ 2015-05-21 23:31 ` Alain.Cochard
  0 siblings, 0 replies; 3+ messages in thread
From: Alain.Cochard @ 2015-05-21 23:31 UTC (permalink / raw)
  To: emacs-orgmode; +Cc: Alain Cochard


Hello.

If I have in my emacs init file the following org-notify setup, as
specified by the org-notify doc (if I understand it correctly):

   (require 'org-notify)
   (org-notify-add 'my-appt '(:time "1h" :actions -message
								   :period "30s" :duration 20))
   (org-notify-start)

and in my todo.org file:

   * TODO test agenda 
     DEADLINE: <2015-05-21 Thu 17:55>
     :PROPERTIES:
     :notify:   my-appt
     :END:      

the behavior I get is the one defined as the default in the
org-notify.el file:

	;;; Provide a minimal default setup.
	(org-notify-add 'default '(:time "1h" :actions -notify/window
					 :period "2m" :duration 60))

I can override this default in my init file, i.e., replacing
"org-notify-add 'my-appt" above by "org-notify-add 'default", and I
then get "my" default behavior.

So as far as I can see, everything behaves as if I did not use the
proper syntax for the :PROPERTIES: block (consistently, if I alter it
or remove it completely, I still get the default behavior).

Am I doing something trivially wrong?  Any idea how I could debug
this?  (I have no relevant message in the *Messages* buffer.)

Many thanks in advance.

Org-mode version 8.2.10 (8.2.10-40-gc763fa-elpa @
/home/cochard/.emacs.d/elpa/org-20150518/)
GNU Emacs 24.5.1 (x86_64-redhat-linux-gnu, GTK+ Version 3.14.12) of
2015-04-17 on buildvm-04.phx2.fedoraproject.org

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

* org-notify: can't define an org-notify-add
@ 2015-05-22  4:07 Alain.Cochard
  2015-08-24 13:45 ` Peter Münster
  0 siblings, 1 reply; 3+ messages in thread
From: Alain.Cochard @ 2015-05-22  4:07 UTC (permalink / raw)
  To: emacs-orgmode; +Cc: Alain Cochard


Sorry I am posting this message again: I made a mistake and it
appeared within an unrelated thread (perhaps it is possible to remove
it from there?)

---


Hello.

If I have in my emacs init file the following org-notify setup, as
specified by the org-notify doc (if I understand it correctly):

   (require 'org-notify)
   (org-notify-add 'my-appt '(:time "1h" :actions -message
								   :period "30s" :duration 20))
   (org-notify-start)

and in my todo.org file:

   * TODO test agenda 
     DEADLINE: <2015-05-21 Thu 17:55>
     :PROPERTIES:
     :notify:   my-appt
     :END:      

the behavior I get is the one defined as the default in the
org-notify.el file:

	;;; Provide a minimal default setup.
	(org-notify-add 'default '(:time "1h" :actions -notify/window
					 :period "2m" :duration 60))

I can override this default in my init file, i.e., replacing
"org-notify-add 'my-appt" above by "org-notify-add 'default", and I
then get "my" default behavior.

So as far as I can see, everything behaves as if I did not use the
proper syntax for the :PROPERTIES: block (consistently, if I alter it
or remove it completely, I still get the default behavior).

Am I doing something trivially wrong?  Any idea how I could debug
this?  (I have no relevant message in the *Messages* buffer.)

Many thanks in advance.

Org-mode version 8.2.10 (8.2.10-40-gc763fa-elpa @
/home/cochard/.emacs.d/elpa/org-20150518/)
GNU Emacs 24.5.1 (x86_64-redhat-linux-gnu, GTK+ Version 3.14.12) of
2015-04-17 on buildvm-04.phx2.fedoraproject.org

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

* Re: org-notify: can't define an org-notify-add
  2015-05-22  4:07 org-notify: can't define an org-notify-add Alain.Cochard
@ 2015-08-24 13:45 ` Peter Münster
  0 siblings, 0 replies; 3+ messages in thread
From: Peter Münster @ 2015-08-24 13:45 UTC (permalink / raw)
  To: emacs-orgmode

On Fri, May 22 2015, Alain.Cochard@unistra.fr wrote:

> Am I doing something trivially wrong?  Any idea how I could debug
> this?  (I have no relevant message in the *Messages* buffer.)
>
> Many thanks in advance.

Hi,

It seems, that the Org Mode developers have not yet applied this patch:
http://article.gmane.org/gmane.emacs.orgmode/73647

As workaround, you can apply it on your local file.
I'll send the patch again.

-- 
           Peter

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

end of thread, other threads:[~2015-08-24 13:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-05-22  4:07 org-notify: can't define an org-notify-add Alain.Cochard
2015-08-24 13:45 ` Peter Münster
  -- strict thread matches above, loose matches on Subject: below --
2015-05-20 22:20 How to elegantly and effectively quote org fragments? Alain.Cochard
2015-05-21 23:31 ` org-notify: can't define an org-notify-add Alain.Cochard

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