From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.help Subject: Re: dbus-register-method and introspection Date: Sun, 21 May 2023 20:13:25 +0200 Message-ID: <877ct1o8my.fsf@gmx.de> References: <87mt1xuchq.fsf@math.uu.se> <87bkidofys.fsf@gmx.de> <871qj9eick.fsf@zohomail.eu> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32608"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: help-gnu-emacs@gnu.org To: Rahguzar Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sun May 21 20:14:05 2023 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1q0nZE-0008JP-V3 for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 21 May 2023 20:14:04 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q0nYi-00014m-1k; Sun, 21 May 2023 14:13:32 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q0nYg-00014B-OD for help-gnu-emacs@gnu.org; Sun, 21 May 2023 14:13:30 -0400 Original-Received: from mout.gmx.net ([212.227.17.21]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q0nYe-0008La-Nq for help-gnu-emacs@gnu.org; Sun, 21 May 2023 14:13:30 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.de; s=s31663417; t=1684692806; i=michael.albinus@gmx.de; bh=AlN9HFcdNEK+Vi+kEzLxgPLBCaknvd9egaA5CPp8DY0=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date; b=X4khrHi48yIqlM3xn7Pk4reW+ndlGxa05geOHRwapZvHfKysInJUS6a+YEqvheSoW IJVXDI4sf0RQ4XRdiIYI6mhr0JBWWKCbWTuNjP0IV5GpoOvaumIaKcrU6wiTuwI3Tg 3ncrqHfNagRp9hpynibTFjGDZM7H14ACxBlKZaoQUvsHx+Qtne4Ngqm3aXs6QhwFIi V66szt/Ej+ksi7CeiY2dVPQL/yUUf15PHJyND55rCoO8vyZVOpOzGlEJedPk33HK2G XXy6DjLDvgWlqVdGjytAcWze5s0/mCKBEeClhJ6zIZpupI4Wm5Vb0iW+VgrHDqdl/0 buzHpmQo0sUSA== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Original-Received: from gandalf.gmx.de ([185.89.39.13]) by mail.gmx.net (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MNKhm-1pkkiS1hNa-00Optw; Sun, 21 May 2023 20:13:26 +0200 In-Reply-To: <871qj9eick.fsf@zohomail.eu> (rahguzar@zohomail.eu's message of "Sun, 21 May 2023 18:41:15 +0200") X-Provags-ID: V03:K1:pL3UmM5imHHN1OhJfUn6YiEIiHqBa6fL7ub+Kjbn46so07q70AD aslzqD/3+hIAs1nnhJp5Wue/FNEPK8xjYzgUh9/6GrVnpjTleOE8WeE26jIKTkXAmae5hZa F/Z1Y4lfJIPRG7U9M5uWk1kmMH4JY9I3pOdUYEks7BzL0N/vfF3CWS3yXWq/QuxSAF0TaLh sebSq4daC509ZfNwfBFHA== UI-OutboundReport: notjunk:1;M01:P0:xGeoD9xRcL0=;crpP9QNH7CfkB6CpNEJrm3U+heD tAcEQNPv0HkxJIVX7etzBzH+BDaiOsXL3migAorOqDMM3sSmSM6HT7qXvsCc3OAiRqry49/Zy T4hUrCqXx8/PT1aiDx/mdCwMxZwoW6HpohhkqMlh22dq7RPfcLHUnrwbE9z6vCG8li0PNJb9L hDt0USxCtOzG176brLwKtqVn3CXwv/x4I4ia4KxPbvjw5pWu9gLeOlOMAPTXTMRFQQft0PFNN YT34yvM46ZK72hf7MD/Ld32zOtEpVkGoh6UWXyJWmD8KhLHG8gU4AoiZLhB8HrAJoHPQABGyM Gxrk3HIBcL14piRXvb1s2XubfhFnRUsYGKvXVwFgPvBoW95WhHRy8I1+SiFAFo0lZynxvIFz4 SFFQTJPea7dDr1mhk9HMO9iLIdHME15BTEX8tN9GGs1mzFJZ3i1vSI84D2g9/FpHPtZeNh9t4 zAMEay788ULdUB091SxDWXT0l0uRSalb8rX/rIlC8GYC3NOFUV+yorNeUd0HyTtwjXKFTXdS2 +h0s77LB1bKV7Zn31K4/+YeihreM+Q2oMi5mgufVD0G8SQaDDMd55XjwD1SI4RaOZEAIM5eYt ZNWRbxiTDWPiMZIhacDgJ6gxmcgYcUH9kE4DA5CQEmeEoXa5a79OfUxL/t+wCoId7gJq2d0uG 6HE6tjEJE6IsWUm80jPmVxoo9QXsNeVGIDzym4gRCk/gJw5QtwhUavjS54gJACRtN+YSy8S4g TuazpWtshahzheN1y1c66ldxY0ikI+w1iD/0iQU8vw4juYmD+JAQwlHCbt/GVQYV6NZA4mVD Received-SPF: pass client-ip=212.227.17.21; envelope-from=michael.albinus@gmx.de; helo=mout.gmx.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:143696 Archived-At: Rahguzar writes: > Hi Michael, Hi Rahguzar, > I was somehow hoping that since the methods need to be registered, d-bus > had some magical way of determining at least which methods a service > provided. That not being the case, is there some way of using the > information provided to `dbus-register-method` to provide a rudimentary > implementation of introspection methods? There is the GNU ELPA package dbus-codegen, which provides some support. I haven't used it myself, so I cannot say too much about. > Thanks again, > Rahguzar Best regards, Michael.