all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* org-show-notification of org-clock.el broken on MS Windows
@ 2020-01-24  9:08 Tim Schumacher
  2020-01-26  8:12 ` Bastien
  0 siblings, 1 reply; 4+ messages in thread
From: Tim Schumacher @ 2020-01-24  9:08 UTC (permalink / raw)
  To: emacs-orgmode

Hi folks,

I have a snippet that clocks me in, if I set the TOOD-keyword of an item to
started. So some time after working on that item on and off, I got a stack trace
and it would not change the keyword to started. The error was, that emacs was
not compiled with dbus support and I thought, hell yeah, I'm on MS Windows, I
don't have dbus here. So I looked at the stack trace and found
org-clock-notify-once-if-expired which wants to show a notification if I took
longer than I estimated. Than digging deeper I found org-show-notification which
is where the actual error happens. It checks if the function
notifications-notify exists and then tries to use it. On my system the function
is available, but does not work because I don't have dbus support.

In my opinion these two actionable items should be done:

* The function org-show-notification should be more robust. It should not fail
  if it can't fire a notification for whatever reason.
* On MS Windows the function w32-notification-notify should be used.

Maybe someone has a quick fix, if not I can try my non existant elisp foo and hack
together a patch tomorrow, but please be gentle with me.

Thanks for your time and great effort into org-mode!

Tim

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-01-26 16:37 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-01-24  9:08 org-show-notification of org-clock.el broken on MS Windows Tim Schumacher
2020-01-26  8:12 ` Bastien
2020-01-26 11:19   ` Tim Schumacher
2020-01-26 16:37     ` Bastien

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.