From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marco Wahl Subject: Re: "peculiar" error with countdown timer in org-agenda Date: Tue, 03 Mar 2020 12:08:08 +0100 Message-ID: <84tv35af2i.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:33823) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j95PJ-0006Kt-PO for emacs-orgmode@gnu.org; Tue, 03 Mar 2020 06:08:14 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j95PI-0003Sw-Pv for emacs-orgmode@gnu.org; Tue, 03 Mar 2020 06:08:13 -0500 Received: from mail-wr1-x429.google.com ([2a00:1450:4864:20::429]:41914) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j95PI-0003SV-KA for emacs-orgmode@gnu.org; Tue, 03 Mar 2020 06:08:12 -0500 Received: by mail-wr1-x429.google.com with SMTP id v4so3770979wrs.8 for ; Tue, 03 Mar 2020 03:08:12 -0800 (PST) In-Reply-To: (Ian Garmaise's message of "Mon, 2 Mar 2020 17:38:42 -0500") 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-mx.org@gnu.org Sender: "Emacs-orgmode" To: Ian Garmaise Cc: emacs-orgmode Hi Ian, Thanks for reporting. > In Org-Agenda, I press ';' to start a countdown timer. > I enter 1 minute to test. > When timer reaches zero, I see this error in minibuffer > > dbus-call-method: peculiar error: "Emacs not compiled with dbus support" > > Also, timer display is not removed from mode-line as expected. I checked this some and I think the problem lies in function org-show-notification. That function references and possibly uses function notifications-notify which depends on a proper setup of the dbus stuff. I guess this is the gist of the bug. You can place your own handler though. For this set variable org-show-notification-handler to e.g. function message Can you please try this out? About hunting the bug: possibly it would be good to add a check if the dbus system is up. Can this be done easily? Or add a further configuration item to indicate that the dbus system shall be used. Best, -- Marco