all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#17508: 24.3.91; Emacs without dbus support and unclear error message.
@ 2014-05-16 11:23 Nicolas Richard
  2014-05-16 12:14 ` Andreas Schwab
  0 siblings, 1 reply; 4+ messages in thread
From: Nicolas Richard @ 2014-05-16 11:23 UTC (permalink / raw)
  To: 17508

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.





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

* bug#17508: 24.3.91; Emacs without dbus support and unclear error message.
  2014-05-16 11:23 bug#17508: 24.3.91; Emacs without dbus support and unclear error message Nicolas Richard
@ 2014-05-16 12:14 ` Andreas Schwab
  2014-05-16 13:14   ` Michael Albinus
  0 siblings, 1 reply; 4+ messages in thread
From: Andreas Schwab @ 2014-05-16 12:14 UTC (permalink / raw)
  To: Nicolas Richard; +Cc: 17508

Nicolas Richard <theonewiththeevillook@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@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."





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

* bug#17508: 24.3.91; Emacs without dbus support and unclear error message.
  2014-05-16 12:14 ` Andreas Schwab
@ 2014-05-16 13:14   ` Michael Albinus
  2014-05-19 14:08     ` Nicolas Richard
  0 siblings, 1 reply; 4+ messages in thread
From: Michael Albinus @ 2014-05-16 13:14 UTC (permalink / raw)
  To: Andreas Schwab; +Cc: Nicolas Richard, 17508-done

Andreas Schwab <schwab@linux-m68k.org> writes:

> Nicolas Richard <theonewiththeevillook@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.





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

* bug#17508: 24.3.91; Emacs without dbus support and unclear error message.
  2014-05-16 13:14   ` Michael Albinus
@ 2014-05-19 14:08     ` Nicolas Richard
  0 siblings, 0 replies; 4+ messages in thread
From: Nicolas Richard @ 2014-05-19 14:08 UTC (permalink / raw)
  To: Michael Albinus; +Cc: 17508-done

Le 16/05/2014 15:14, Michael Albinus a écrit :
> Andreas Schwab <schwab@linux-m68k.org> writes:
> 
>> Nicolas Richard <theonewiththeevillook@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.







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

end of thread, other threads:[~2014-05-19 14:08 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-16 11:23 bug#17508: 24.3.91; Emacs without dbus support and unclear error message Nicolas Richard
2014-05-16 12:14 ` Andreas Schwab
2014-05-16 13:14   ` Michael Albinus
2014-05-19 14:08     ` Nicolas Richard

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.