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.bugs Subject: bug#43252: 27.1; DBus properties lack type hints or overrides Date: Tue, 08 Sep 2020 16:36:47 +0200 Message-ID: <87363sl4hs.fsf@gmx.de> References: <87v9gqquct.fsf@ccss.com> <87imcqdo38.fsf@gmx.de> <87sgbtqylc.fsf@ccss.com> <87sgbtcvqs.fsf@gmx.de> <87pn6xqtsz.fsf@ccss.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="7690"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 43252@debbugs.gnu.org To: Hugh Daschbach Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Sep 08 16:37:35 2020 Return-path: Envelope-to: geb-bug-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 1kFekZ-0001vr-49 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 08 Sep 2020 16:37:35 +0200 Original-Received: from localhost ([::1]:34030 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kFekX-0003gm-WF for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 08 Sep 2020 10:37:34 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41654) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kFek2-0003dp-U7 for bug-gnu-emacs@gnu.org; Tue, 08 Sep 2020 10:37:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:44290) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kFek2-0000FS-Iv for bug-gnu-emacs@gnu.org; Tue, 08 Sep 2020 10:37:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kFek2-0002EZ-G1 for bug-gnu-emacs@gnu.org; Tue, 08 Sep 2020 10:37:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 08 Sep 2020 14:37:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43252 X-GNU-PR-Package: emacs Original-Received: via spool by 43252-submit@debbugs.gnu.org id=B43252.15995758188575 (code B ref 43252); Tue, 08 Sep 2020 14:37:02 +0000 Original-Received: (at 43252) by debbugs.gnu.org; 8 Sep 2020 14:36:58 +0000 Original-Received: from localhost ([127.0.0.1]:55836 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kFejy-0002EF-G3 for submit@debbugs.gnu.org; Tue, 08 Sep 2020 10:36:58 -0400 Original-Received: from mout.gmx.net ([212.227.15.19]:52035) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kFejw-0002E1-F1 for 43252@debbugs.gnu.org; Tue, 08 Sep 2020 10:36:57 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1599575808; bh=rDGuX8DRCynfdJcsedHkfv8bbbdzFTcC0PQBpGgQ5CU=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=OriKyfye83/gyODl8U/3Mafa99wc93SMf5Fi+0rSKIAcmvx7iiDR6tkttBh9EavvV BovXutSxduy0gwLa2DT6qZY2u9Ztig3xzgjj19TZk0HWIiOIAj7PQ/dHsFdeMPBDl7 Bh9jQ8uXabF/k+Skv9sjMBeoKTmQarLaDVxqHEQA= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from gandalf.gmx.de ([212.86.41.194]) by mail.gmx.com (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1M42nS-1kFejo16rQ-0006Ty; Tue, 08 Sep 2020 16:36:48 +0200 In-Reply-To: <87pn6xqtsz.fsf@ccss.com> (Hugh Daschbach's message of "Mon, 07 Sep 2020 12:18:52 -0700") X-Provags-ID: V03:K1:RKO6GMZ2eTx9X6nEJW3LrBZoYTfkdkhDNFa5odr1BPjUX/aN8Wv CGu8h5diIF/+TO6RIqdL62dPqhmYDRo4GDSaynx8PMH0kKtEvg4Y1n1q6mCtAtImrr1hvYr 7+Dmaz7UGmA/PEufpliTOOnPQpna9uDe3RYpg9sO9bKcY1BLCM9NyFmNMUqfggnX2L/hfsK fbRFa+ZdmLXYoCE7FKV0w== X-UI-Out-Filterresults: notjunk:1;V03:K0:maEvk26TJTE=:LHKMtXLrOAg7ROC3uL1EyM /Up1xXn01daDdEJEopXfmPIIlB+rlw8zCqQGjAeFGSD3ruZImw/HeN6z5pyGLvl2h3vs65Svb B3joMgasiTgrMAS/acp9x+tyTqSFrceXO7L9tVFbVAn4Zg0j3pYawwUJLRB8Wm0q3AB4tEoO+ yONCkEU+4dkqNa6pseu2TLDMX0gSCMv1AVy9KiK4d/MfrQ3QhGe+5wwoD/0a1xmY3xR+Jp/bZ 1leIMt7zLS7A1csDG2mCOX7ce7rVHWRwGrl6ACspBFjykmK+eNrPf2C1H8wZjxDAf5HNerY5i WZoDIRQPugx9f8YJFarvbDW0qlkHayRlSt1sA3mr6m2AEmrNLl4zBKzlShJ4PDXjvcIxMqM8k QMNBz1osoyMiDzK2mffiIn4Pm8SX21Q6JXW+nM6ux5SJ6gWwKL5J9a8/3l3PxgfEfm7518kJa XKf/n/fCSTLJ9XKvrhpL7/3c7qqroDj0dcLFR9yQrgwbGeEbmruaeX/ACCzJlScT56WIZFG33 1x84PJFPRIntJs3UG7vriX2OkQNEC5uhDl9XJ64JedhS5nuGLS6xlVfV79NHPR1v1+us+z3oD ppA+rRbPw0sE6LmuOyPSKD1rvyYLsaQnl2mSDCg98M9LW8e/p8hIOPfKncnyHxRkAky39hKtl k/J+SEzm1WjlNyyBC1B0pQCsk8jkqyPJhck8zgRlW2BoD8zaSJUoR4jsgF0GUF6X17YLbwVsS l8n0mt/4ZGo+I95DGW8LGCFuWr+saLD5NRCKNPhX88G5pQN4i3No6R0NGoBxOOLqPEW4slfB X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:187560 Archived-At: Hugh Daschbach writes: Hi Hugh, >> Another problem: The changes I apply do not qualify as bug fixing any >> longer, so I fear they are not applicable to Emacs 27. I'm working on >> Emacs' master branch (what will be Emacs 28 later), the patches I >> have provided to you were backports. Do you have a chance to use >> Emacs' master branch? This will avoid discussions with the >> maintainers whether those changes are good for Emacs 27, and it will >> simplify my life considerably, because the sources for D-Bus in Emacs >> 27 and 28 differ. I have even applied changes to dbusbind.c, which >> means it would be harder for you to integrate my patches into Emacs >> 27. > > This all sounds good. I'd be happy to move my testing to master. I'd > already realized that part of what I depend on won't make it to 27. I've pushed a fix to master, which shall solve the problem. Playing with introspection, I found the problem that it stalls if there are no introspection data. Not applicable. So I've turned to the alternative approach, allowing type symbols in `dbus-set-property' and `dbus-register-property'. You could call now (dbus-register-property :session "org.gnu.Emacs" "/node1" "org.bluez.GattService1" "Device" :readwrite :object-path "/path/node1") Similar in `dbus-set-property'. Documentation is adapted, dbus-tests.el extended accordingly. > I'll build master this afternoon. Good luck! If everything goes well, could you pls check whther this problem is solved? > Thanks. > Hugh Best regards, Michael.