From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alain.Cochard@unistra.fr Subject: org-notify: can't define an org-notify-add Date: Fri, 22 May 2015 01:31:32 +0200 Message-ID: <21854.27348.817055.877507@frac.u-strasbg.fr> References: <21853.2216.358897.903242@frac.u-strasbg.fr> Reply-To: alain.cochard@unistra.fr Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47307) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YvZwG-0003HO-Fb for emacs-orgmode@gnu.org; Thu, 21 May 2015 19:31:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YvZwD-0006d3-AQ for emacs-orgmode@gnu.org; Thu, 21 May 2015 19:31:44 -0400 Received: from mailhost.u-strasbg.fr ([130.79.222.213]:58701) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YvZwD-0006cA-3u for emacs-orgmode@gnu.org; Thu, 21 May 2015 19:31:41 -0400 Received: from mailhost.u-strasbg.fr (localhost [127.0.0.1]) by antispam (Postfix) with ESMTP id 898A6C1B85 for ; Fri, 22 May 2015 01:31:38 +0200 (CEST) Received: from mailhost.u-strasbg.fr (localhost [127.0.0.1]) by antivirus (Postfix) with ESMTP id 79F64C1B83 for ; Fri, 22 May 2015 01:31:38 +0200 (CEST) Received: from lmr.u-strasbg.fr (lmr3.u-strasbg.fr [172.30.21.3]) by mr3.u-strasbg.fr (Postfix) with ESMTP id 69696C1B94 for ; Fri, 22 May 2015 01:31:37 +0200 (CEST) In-Reply-To: <21853.2216.358897.903242@frac.u-strasbg.fr> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org 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