From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.devel Subject: Re: DBus binding & direct connections (p2p)? Date: Fri, 28 Jul 2017 13:21:15 +0200 Message-ID: <87o9s46c44.fsf@detlef> References: <87zibq5bii.fsf@petton.fr> <871sp16mjw.fsf@detlef> <87shhhhso6.fsf@petton.fr> <87wp6s6hyd.fsf@detlef> <87pockj2u7.fsf@petton.fr> <87mv7oj2ie.fsf@petton.fr> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1501240994 6353 195.159.176.226 (28 Jul 2017 11:23:14 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 28 Jul 2017 11:23:14 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) Cc: Emacs Devel To: Nicolas Petton Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jul 28 13:23:08 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1db3MJ-0001DQ-By for ged-emacs-devel@m.gmane.org; Fri, 28 Jul 2017 13:23:07 +0200 Original-Received: from localhost ([::1]:47505 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1db3MP-00008l-AY for ged-emacs-devel@m.gmane.org; Fri, 28 Jul 2017 07:23:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48925) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1db3Kd-0007wb-Ju for emacs-devel@gnu.org; Fri, 28 Jul 2017 07:21:24 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1db3Ka-0001D4-Kj for emacs-devel@gnu.org; Fri, 28 Jul 2017 07:21:23 -0400 Original-Received: from mout.gmx.net ([212.227.15.15]:56465) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1db3Ka-0001Ap-A8 for emacs-devel@gnu.org; Fri, 28 Jul 2017 07:21:20 -0400 Original-Received: from detlef.gmx.de ([212.86.53.188]) by mail.gmx.com (mrgmx003 [212.227.17.190]) with ESMTPSA (Nemesis) id 0Lcjgd-1e1tQB0Ggx-00k6PN; Fri, 28 Jul 2017 13:21:16 +0200 In-Reply-To: <87mv7oj2ie.fsf@petton.fr> (Nicolas Petton's message of "Fri, 28 Jul 2017 12:10:17 +0200") X-Provags-ID: V03:K0:noNLgEtXXw7bb1eHi9FO5Msfj67xF6WlwRk/OVIltZ/Uq4n6dPo MNpAqQK+kxBsDYqmy/cH0evkATees11hOgOGgRJYW2EjT4cb3Ob/lIrkvzq28z/ORtk31qp Oa2lnHvPBgLC35faoCfNP9ajVxGOvE4mgQbyFXBEiSGn317t/TpmnowPVdexXlNDAhQGGHr DViKElsH1FBdSBdTWAn2A== X-UI-Out-Filterresults: notjunk:1;V01:K0:9Kglk61hNKM=:twvSLezythlgRDSU9dEEL+ zRal648lX4cGSAQIgMYJrItx3v1E+JCR86BLQbQDpC8V0bmXyCujL5lEr5KSDVXjiwChnpC46 6y6lPpa+sb3JpyGO7cRwQW9o/12BX+5ye25k/rMa2NIualLS3GR13p1lW0PuBkJgk4+C4liPL j2LWOOo2T/1ATSF1GN35eVkaHaSFbmS1s2FI5XvjAuGd7uTNTnjJLS46OuQDiBCOrUsgEhc53 LEpfakkzzSAnGDGfrSrOxHRj79nEaK//o54KHUOHs61q0pfDGwYIiyoR177rjOD5KozDIT6Mw /Q+jajaece3fWhxBFTMU0fcsHGyqoeVzsW07JNJwBYe47RpvunqjklgnO64ajQKniM7P8gj9s wFjsI3un9ySr83vAPPLkQ/eDtTJ2D6MV+LtuJQ/Wh5JDB4okNyZVmL8enrPOoa2zYEGAQhseJ TUvVHa3hfXBvPnA0UEcF0NQ31xqceM1Qd9YdO6lis28wqx1tuN8PXbM/7jF504eTarL4dhEwi AsONjdCHHQ2oH9dTUbGx/VzAWcb49AYFnpnJheg+rvJQixlukAK5uJd+tBJ3/EkeEDv5UA/SH TBbetkKb2ZKo76vJP5NLJN0Q2v0qeIXlXA65ozobcca7FnU717TOjdK2SFf0/3r+JOPQwExm7 Zm2B564XGFnhBXRnu6tYxvQ1KbEAOv+qfbTudI/gK3puvRnCMQ1NEryV9Iyey6rP+yAJcOJ/K zuyvtqe4wlKzfGnqnhUucdzs+LEbdCf/tvnLPL17CRkVW/maAdl7CuuPM4DefTbFEx9MPYAw X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 212.227.15.15 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:217100 Archived-At: Nicolas Petton writes: > Nicolas Petton 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.