From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Hugh Daschbach Newsgroups: gmane.emacs.bugs Subject: bug#43252: 27.1; DBus properties lack type hints or overrides Date: Wed, 09 Sep 2020 09:12:10 -0700 Message-ID: <871rjbaq05.fsf@ccss.com> References: <87v9gqquct.fsf@ccss.com> <87imcqdo38.fsf@gmx.de> <87sgbtqylc.fsf@ccss.com> <87sgbtcvqs.fsf@gmx.de> <87pn6xqtsz.fsf@ccss.com> <87363sl4hs.fsf@gmx.de> <877dt3bnfl.fsf@ccss.com> <878sdj84kn.fsf@gmx.de> Mime-Version: 1.0 Content-Type: text/plain; format=flowed Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13946"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.5.5; emacs 27.1 Cc: 43252@debbugs.gnu.org To: Michael Albinus Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Sep 09 18:13:37 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 1kG2j1-0003UO-Pm for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 09 Sep 2020 18:13:35 +0200 Original-Received: from localhost ([::1]:33438 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kG2j0-0007Ym-Sr for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 09 Sep 2020 12:13:34 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54138) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kG2iV-0006wP-KB for bug-gnu-emacs@gnu.org; Wed, 09 Sep 2020 12:13:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:49747) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kG2iU-0006E7-QQ for bug-gnu-emacs@gnu.org; Wed, 09 Sep 2020 12:13:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kG2iU-0006g4-MZ for bug-gnu-emacs@gnu.org; Wed, 09 Sep 2020 12:13:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Hugh Daschbach Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 09 Sep 2020 16:13: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.159966794525611 (code B ref 43252); Wed, 09 Sep 2020 16:13:02 +0000 Original-Received: (at 43252) by debbugs.gnu.org; 9 Sep 2020 16:12:25 +0000 Original-Received: from localhost ([127.0.0.1]:33058 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kG2ht-0006f0-Ef for submit@debbugs.gnu.org; Wed, 09 Sep 2020 12:12:25 -0400 Original-Received: from mail1.ccss.com ([159.203.255.73]:33996) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kG2hr-0006eo-H2 for 43252@debbugs.gnu.org; Wed, 09 Sep 2020 12:12:23 -0400 Original-Received: by mail1.ccss.com (Postfix, from userid 114) id B92E0BF77F; Wed, 9 Sep 2020 09:12:17 -0700 (PDT) Original-Received: from ccss.com (unknown [192.168.76.11]) by mail1.ccss.com (Postfix) with ESMTP id 25244BF5B3; Wed, 9 Sep 2020 09:12:17 -0700 (PDT) Original-Received: from localhost (localhost [127.0.0.1]) by ccss.com (Postfix) with ESMTP id E855E17605AB; Wed, 9 Sep 2020 09:12:16 -0700 (PDT) Original-Received: from ccss.com ([127.0.0.1]) by localhost (ccss.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xQfJSXJ9tAP4; Wed, 9 Sep 2020 09:12:11 -0700 (PDT) Original-Received: from klaatu (klaatu.lan [192.168.42.3]) (Authenticated sender: hugh) by ccss.com (Postfix) with ESMTPSA id 32CA91760546; Wed, 9 Sep 2020 09:12:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ccss.com; s=mail; t=1599667931; bh=oh31eU/Efe1SmcNoxy2vsJpzZKXWNadpYexCEufySgA=; h=References:From:To:Cc:Subject:In-reply-to:Date:From; b=vXlD1scLuWEX+1bPIrPxMT43pS3aUFNgSsRMSn1Hil/OW3p1/GfiLXsD/+oxw+FSE ACHkppXPvhlkcclMIpEmGIz5F6vfRTdM7+irsnQgaVJeRJ/oEzPLdoZrEYcbs2CA0v SqC2W+Moz01jr45ovyP/vwjFsrgdrJdoF09vpa0YM1VSovSraQTAKKZunUyTEWuo4Q xqPegpuD/cwJckRyaGHpaLbbUApf+m/V8+sfLzipXeFl603aAgvO4T5AGW0JFCydSY GgVL1MyelEum4KAX1sq7NbZPOwjOje+UIy70e/gZAdzIt5Bi+Im3vCkW+MNtxMWI4I 237Y3kzKuFRGg== In-reply-to: <878sdj84kn.fsf@gmx.de> 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:187678 Archived-At: Michael Albinus writes: > Hugh Daschbach writes: > > Hi Hugh, > > That would be great! I'll happily add your tests to > dbus-tests.el. However, this would be a contribution to > Emacs. For > contributions exceeding ~15 lines, every contributor shall sign > the > legal papers from the FSF. Would you be willing to do? Yes, I'd be willing to assign copyright to FSF. Where do I get a copy of the paperwork? I'll keep submissions to under 15 lines until I can get the paperwork cleared. > Until now, the implementation allows only basic D-Bus types for > properties. Nobody has asked for more so far :-) > > I could extend this for complex types. Since this will require > internal > changes of data structures, it might take some days. > > An empty array could be specified by the element's signature, > like > (:array :signature "{sv}"). See the D-Bus manual via > (info "(dbus) Type Conversion") I have used that signature for method returns. I suppose I could save the signature as a property value instead of nil if I have an empty value for a compound type. Let me look at that. Thanks again. Hugh