From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.devel Subject: Re: DBus methods without name grabbing Date: Tue, 04 Jan 2011 11:10:38 +0100 Message-ID: <87zkrhf081.fsf@gmx.de> References: <19384_1294002375_ZZh0g13mCbLkV.00_1294002364.12635.44.camel@gunhead> <87lj32kuyz.fsf@gmx.de> <7758_1294108975_ZZh0g0_f99~qx.00_1294108972.8785.33.camel@gunhead> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1294136608 10940 80.91.229.12 (4 Jan 2011 10:23:28 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 4 Jan 2011 10:23:28 +0000 (UTC) Cc: emacs-devel@gnu.org To: Jan Moringen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jan 04 11:23:23 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Pa431-0000sZ-3L for ged-emacs-devel@m.gmane.org; Tue, 04 Jan 2011 11:23:23 +0100 Original-Received: from localhost ([127.0.0.1]:52624 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pa3rD-00022z-Lw for ged-emacs-devel@m.gmane.org; Tue, 04 Jan 2011 05:11:11 -0500 Original-Received: from [140.186.70.92] (port=33448 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pa3qz-000223-Bk for emacs-devel@gnu.org; Tue, 04 Jan 2011 05:10:59 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pa3qu-0003dF-6g for emacs-devel@gnu.org; Tue, 04 Jan 2011 05:10:54 -0500 Original-Received: from mailout-de.gmx.net ([213.165.64.23]:55965 helo=mail.gmx.net) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1Pa3qt-0003cY-Qh for emacs-devel@gnu.org; Tue, 04 Jan 2011 05:10:52 -0500 Original-Received: (qmail invoked by alias); 04 Jan 2011 10:10:50 -0000 Original-Received: from p57BBD4F0.dip0.t-ipconnect.de (EHLO detlef.gmx.de) [87.187.212.240] by mail.gmx.net (mp021) with SMTP; 04 Jan 2011 11:10:50 +0100 X-Authenticated: #3708877 X-Provags-ID: V01U2FsdGVkX18SyW1CkTcSGdPf14h+2XUxlTlK8PpnlKrfxdj9/a ATK5sIQAGJmMr1 In-Reply-To: <7758_1294108975_ZZh0g0_f99~qx.00_1294108972.8785.33.camel@gunhead> (Jan Moringen's message of "Tue, 04 Jan 2011 03:42:52 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-Y-GMX-Trusted: 0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:134252 Archived-At: Jan Moringen writes: > Hi Michael, Hi Jan, > An updated patch is attached. Looks OK to me. Do you have commit rights, or shall I commit it for you? >> - We might introduce a new function `dbus-register-service' (in dbusbind.c). >> It could offer optional argument flags, a list of the supported flags >> of "org.freedesktop.DBus.RequestName" >> (DBUS_NAME_FLAG_ALLOW_REPLACEMENT, DBUS_NAME_FLAG_REPLACE_EXISTING, >> DBUS_NAME_FLAG_DO_NOT_QUEUE). This function shall be called in >> `dbus-register-method' and `dbus-register-property' when >> `dont-register-service' is nil. Btw, the function >> `dbus-unregister-service' exists already ... > > I would rather tackle this change in a separate patch later. OK, I'll do it next days (except you want to do it yourself :-) > Kind regards, > Jan Best regards, Michael.