emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Marco Wahl <marcowahlsoft@gmail.com>
To: Ian Garmaise <ian.g@phorixsol.com>
Cc: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: "peculiar" error with countdown timer in org-agenda
Date: Tue, 03 Mar 2020 12:08:08 +0100	[thread overview]
Message-ID: <84tv35af2i.fsf@gmail.com> (raw)
In-Reply-To: <CALWEx6UsVb6EA4ds0mfsQjV9bwqC4j8sSzwOAcf7XFEF-X1u4w@mail.gmail.com> (Ian Garmaise's message of "Mon, 2 Mar 2020 17:38:42 -0500")

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

  reply	other threads:[~2020-03-03 11:08 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-02 22:38 "peculiar" error with countdown timer in org-agenda Ian Garmaise
2020-03-03 11:08 ` Marco Wahl [this message]
2020-03-03 17:21   ` Ian Garmaise
2020-03-03 18:05     ` Marco Wahl

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=84tv35af2i.fsf@gmail.com \
    --to=marcowahlsoft@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=ian.g@phorixsol.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).