GNU bug report logs - #17508
24.3.91; Emacs without dbus support and unclear error message.

Previous Next

Package: emacs;

Reported by: Nicolas Richard <theonewiththeevillook <at> yahoo.fr>

Date: Fri, 16 May 2014 11:23:02 UTC

Severity: normal

Found in version 24.3.91

Done: Michael Albinus <michael.albinus <at> gmx.de>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Nicolas Richard <theonewiththeevillook <at> yahoo.fr>
Subject: bug#17508: closed (Re: bug#17508: 24.3.91; Emacs without dbus
 support and unclear error message.)
Date: Fri, 16 May 2014 13:15:03 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#17508: 24.3.91; Emacs without dbus support and unclear error message.

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 17508 <at> debbugs.gnu.org.

-- 
17508: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=17508
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Michael Albinus <michael.albinus <at> gmx.de>
To: Andreas Schwab <schwab <at> linux-m68k.org>
Cc: Nicolas Richard <theonewiththeevillook <at> yahoo.fr>,
 17508-done <at> debbugs.gnu.org
Subject: Re: bug#17508: 24.3.91;
 Emacs without dbus support and unclear error message.
Date: Fri, 16 May 2014 15:14:35 +0200
Andreas Schwab <schwab <at> linux-m68k.org> writes:

> Nicolas Richard <theonewiththeevillook <at> yahoo.fr> 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.

[Message part 3 (message/rfc822, inline)]
From: Nicolas Richard <theonewiththeevillook <at> yahoo.fr>
To: bug-gnu-emacs <at> gnu.org
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.



This bug report was last modified 11 years and 9 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.