From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?utf-8?Q?=C5=81ukasz?= Stelmach Subject: [BUG] org-timer requires org-notify from org-clock Date: Mon, 06 Sep 2010 22:21:02 +0200 Message-ID: <87lj7esjwx.fsf@kotik.lan> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from [140.186.70.92] (port=53297 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OsiBm-0000vY-GU for emacs-orgmode@gnu.org; Mon, 06 Sep 2010 16:21:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OsiBl-00075V-H6 for emacs-orgmode@gnu.org; Mon, 06 Sep 2010 16:21:14 -0400 Received: from lo.gmane.org ([80.91.229.12]:57189) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OsiBl-000759-Bi for emacs-orgmode@gnu.org; Mon, 06 Sep 2010 16:21:13 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1OsiBj-0004iG-6E for emacs-orgmode@gnu.org; Mon, 06 Sep 2010 22:21:11 +0200 Received: from 77-254-60-205.adsl.inetia.pl ([77.254.60.205]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 06 Sep 2010 22:21:11 +0200 Received: from lukasz.stelmach by 77-254-60-205.adsl.inetia.pl with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 06 Sep 2010 22:21:11 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Hello. It seems like there has to be (require 'org-clock) on top of org-timer.el because otherwise the notification lambda in-org-timer-set-timer fails because org-notify is not defined and the timer starts going forward after it passes 0:00:00. It also looks like (declare-function org-notify "org-clock" (notification &optional play-sound)) is not enough. (BTW. now its d-f org-show-notification which is not used in org-timer). Simple (require 'org-clock) helps, as anything else that loads org-clock like clocking-in. -- Miłego dnia, Łukasz Stelmach