From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?utf-8?Q?Llu=C3=ADs?= Newsgroups: gmane.emacs.devel Subject: Re: [dbus] type errors Date: Tue, 04 Dec 2012 16:41:08 -0500 Message-ID: <87txs1wl57.fsf@fimbulvetr.bsc.es> References: <87pq2rkoex.fsf@fimbulvetr.bsc.es> <87pq2rhstu.fsf@gmx.de> <87vcciygvm.fsf@fimbulvetr.bsc.es> <8738zm12qw.fsf@gmx.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1354657285 27031 80.91.229.3 (4 Dec 2012 21:41:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 4 Dec 2012 21:41:25 +0000 (UTC) Cc: emacs-devel@gnu.org To: Michael Albinus Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Dec 04 22:41:37 2012 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Tg0FA-0002EU-CH for ged-emacs-devel@m.gmane.org; Tue, 04 Dec 2012 22:41:32 +0100 Original-Received: from localhost ([::1]:42328 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tg0Ey-0006SH-IJ for ged-emacs-devel@m.gmane.org; Tue, 04 Dec 2012 16:41:20 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:42794) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tg0Eu-0006Rz-Bn for emacs-devel@gnu.org; Tue, 04 Dec 2012 16:41:18 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Tg0Et-0006eZ-7K for emacs-devel@gnu.org; Tue, 04 Dec 2012 16:41:16 -0500 Original-Received: from mailout-de.gmx.net ([213.165.64.22]:35687) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1Tg0Es-0006eT-UF for emacs-devel@gnu.org; Tue, 04 Dec 2012 16:41:15 -0500 Original-Received: (qmail invoked by alias); 04 Dec 2012 21:41:12 -0000 Original-Received: from ip-64-134-40-134.public.wayport.net (EHLO localhost) [64.134.40.134] by mail.gmx.net (mp032) with SMTP; 04 Dec 2012 22:41:12 +0100 X-Authenticated: #12333383 X-Provags-ID: V01U2FsdGVkX1+COGxGNwiCSFgzQ4QYiNWJNzyt9inStpHxU8p3h3 eo36QKNL7O1F0C In-Reply-To: <8738zm12qw.fsf@gmx.de> (Michael Albinus's message of "Tue, 04 Dec 2012 12:21:59 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) Mail-Followup-To: Michael Albinus , emacs-devel@gnu.org X-Y-GMX-Trusted: 0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 213.165.64.22 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:155266 Archived-At: Michael Albinus writes: > Llu=C3=ADs writes: >> And here's a test handler: >>=20 >> #v+ >> (defun ogc:--dbus-get-events (since until force-reload) >> '(("" "Test" "" nil 63490176000 63490176001))) >> #v- > The following works for me: > (defun ogc:--dbus-get-events (since until force-reload) > "Returns \"sssbxxa{sv}\"." > '("" "Test" "" :boolean nil :int64 63490176000 :int64 63490176001 > (:array :signature "{sv}"))) > The last entry is an empty argument of type "a{sv}". Ok, now it's not complaining, but still not working. The signature is supposed to be "a(sssbxxa{sv})", but after (quickly) readi= ng the manual I'm unable to return such a structure. >>> See (info "(dbus)Type Conversion") >>=20 >> Does not seem to exist in my currently installed package... (latest jd's >> emacs-snapshot). > Again, check where it is. I'm also consulting this manual permanently, > and I'm the author of dbus.el :-) Looks like jd's emacs-snapshot package is not properly listing the manual in emacs' info directory (it does appear in the cmdline info as node "emacs-snapshot/dbus"). Thanks a lot, Lluis --=20 "And it's much the same thing with knowledge, for whenever you learn something new, the whole world becomes that much richer." -- The Princess of Pure Reason, as told by Norton Juster in The Phantom Tollbooth