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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 17508 in the body.
You can then email your comments to 17508 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#17508; Package emacs. (Fri, 16 May 2014 11:23:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Nicolas Richard <theonewiththeevillook <at> yahoo.fr>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Fri, 16 May 2014 11:23:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

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.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#17508; Package emacs. (Fri, 16 May 2014 12:15:03 GMT) Full text and rfc822 format available.

Message #8 received at 17508 <at> debbugs.gnu.org (full text, mbox):

From: Andreas Schwab <schwab <at> linux-m68k.org>
To: Nicolas Richard <theonewiththeevillook <at> yahoo.fr>
Cc: 17508 <at> debbugs.gnu.org
Subject: Re: bug#17508: 24.3.91;
 Emacs without dbus support and unclear error message.
Date: Fri, 16 May 2014 14:14:54 +0200
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.

Andreas.

-- 
Andreas Schwab, schwab <at> linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."




Reply sent to Michael Albinus <michael.albinus <at> gmx.de>:
You have taken responsibility. (Fri, 16 May 2014 13:15:02 GMT) Full text and rfc822 format available.

Notification sent to Nicolas Richard <theonewiththeevillook <at> yahoo.fr>:
bug acknowledged by developer. (Fri, 16 May 2014 13:15:03 GMT) Full text and rfc822 format available.

Message #13 received at 17508-done <at> debbugs.gnu.org (full text, mbox):

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.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#17508; Package emacs. (Mon, 19 May 2014 14:08:01 GMT) Full text and rfc822 format available.

Message #16 received at 17508-done <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Richard <theonewiththeevillook <at> yahoo.fr>
To: Michael Albinus <michael.albinus <at> gmx.de>
Cc: 17508-done <at> debbugs.gnu.org
Subject: Re: bug#17508: 24.3.91; Emacs without dbus support and unclear error
 message.
Date: Mon, 19 May 2014 16:08:05 +0200
Le 16/05/2014 15:14, Michael Albinus a écrit :
> 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.

Thanks

Nico.






bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 17 Jun 2014 11:24:03 GMT) Full text and rfc822 format available.

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

Previous Next


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