emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: DBus binding & direct connections (p2p)?


From: Michael Albinus
Subject: Re: DBus binding & direct connections (p2p)?
Date: Fri, 28 Jul 2017 13:21:15 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux)

Nicolas Petton <address@hidden> writes:

> Nicolas Petton <address@hidden> writes:
>
>> I tried this already, but I get:
>>
>>   D-Bus error: "No such interface 'org.freedesktop.DBus' on object at path
>>   /org/freedesktop/DBus"
>
> My guess is that dbusbind.c tries to register to a bus, but there is no bus:
>
>   if (STRINGP (bus))
>     dbus_bus_register (connection, &derror);

Yes, `dbus-init-bus' is intended for that purpose ...

Implementing something like Java's org.freedesktop.dbus.DirectConnection
seems to be expensive, so I fear we haven't anything in Emacs which
could be used w/o a bus.

> Nico

Best regards, Michael.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]