unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Michael Albinus <michael.albinus@gmx.de>
To: Nicolas Petton <nicolas@petton.fr>
Cc: Emacs Devel <emacs-devel@gnu.org>
Subject: Re: DBus binding & direct connections (p2p)?
Date: Fri, 28 Jul 2017 13:21:15 +0200	[thread overview]
Message-ID: <87o9s46c44.fsf@detlef> (raw)
In-Reply-To: <87mv7oj2ie.fsf@petton.fr> (Nicolas Petton's message of "Fri, 28 Jul 2017 12:10:17 +0200")

Nicolas Petton <nicolas@petton.fr> writes:

> Nicolas Petton <nicolas@petton.fr> 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	other threads:[~2017-07-28 11:21 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-27 12:07 DBus binding & direct connections (p2p)? Nicolas Petton
2017-07-28  7:35 ` Michael Albinus
2017-07-28  8:28   ` Nicolas Petton
2017-07-28  9:15     ` Michael Albinus
2017-07-28 10:03       ` Nicolas Petton
2017-07-28 10:10         ` Nicolas Petton
2017-07-28 11:21           ` Michael Albinus [this message]
2017-07-28 11:26             ` Nicolas Petton
2017-07-28 11:33               ` Michael Albinus
2017-07-28 11:36                 ` Nicolas Petton
2017-07-28 11:47                   ` Michael Albinus
2017-07-31  8:52                     ` Nicolas Petton
2017-07-31 14:29                       ` Michael Albinus
2017-07-31 19:12                         ` Nicolas Petton

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87o9s46c44.fsf@detlef \
    --to=michael.albinus@gmx.de \
    --cc=emacs-devel@gnu.org \
    --cc=nicolas@petton.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).