--- Begin Message ---
Subject: |
24.3.91; Emacs without dbus support and unclear error message. |
Date: |
Fri, 16 May 2014 13:23:06 +0200 |
When emacs is compiled --without-dbus and one runs:
emacs -Q -l notifications --eval '(notifications-notify :title "foo" :body
"bar")'
the error is cryptic:
Error: (void-variable dbus-message-type-method-call)
I would in fact expect (require 'dbus) to give an error when no dbus
support is available.
(This happened to me because I had not installed dbus-1-dev prior to
recompiling emacs.)
--
Nico.
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#17508: 24.3.91; Emacs without dbus support and unclear error message. |
Date: |
Fri, 16 May 2014 15:14:35 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) |
Andreas Schwab <address@hidden> writes:
> Nicolas Richard <address@hidden> writes:
>
>> I would in fact expect (require 'dbus) to give an error when no dbus
>> support is available.
>
> Just loading a library should never give an error.
Yep. I've added a check to `dbus-call-method' and friends, whether Emacs
has been compiled with D-Bus support. Fixed in the emacs-24 branch.
> Andreas.
Best regards, Michael.
--- End Message ---