From: Ian Garmaise <ian.g@phorixsol.com>
To: Marco Wahl <marcowahlsoft@gmail.com>
Cc: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: "peculiar" error with countdown timer in org-agenda
Date: Tue, 3 Mar 2020 12:21:03 -0500 [thread overview]
Message-ID: <CALWEx6XgToYsRy7uOerkFHpbty3vaRV8xdEo4SMrqq+WkXc_8Q@mail.gmail.com> (raw)
In-Reply-To: <84tv35af2i.fsf@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1756 bytes --]
Hi Marco,
I will check. However I am on Windows 7-64 and to the best of my knowledge
Dbus is not available for this platform. There were some efforts to make
it work but I don't think they are current.
In any case, as the error message said, this version of emacs isn't
compiled with Dbus, which makes sense for a Windows version.
I will try to create my own handler and figure out why dbus notification is
being attempted on a version of Emacs compiled without it.
Best,
Ian
On Tue, Mar 3, 2020 at 6:08 AM Marco Wahl <marcowahlsoft@gmail.com> wrote:
> 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
>
>
>
--
=====
Ian Garmaise
Consultant
Phorix Solutions Group
ian.g@phorixsol.com
Toronto cell: 416.432.2251
NYC: 917.512.9535
https://www.linkedin.com/in/igarmaise/
http://www.PhorixSol.com
[-- Attachment #2: Type: text/html, Size: 2965 bytes --]
next prev parent reply other threads:[~2020-03-03 17:21 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
2020-03-03 17:21 ` Ian Garmaise [this message]
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=CALWEx6XgToYsRy7uOerkFHpbty3vaRV8xdEo4SMrqq+WkXc_8Q@mail.gmail.com \
--to=ian.g@phorixsol.com \
--cc=emacs-orgmode@gnu.org \
--cc=marcowahlsoft@gmail.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).