From: Michael Albinus <michael.albinus@gmx.de>
To: emacs-devel@gnu.org
Subject: Re: [dbus] type errors
Date: Wed, 05 Dec 2012 08:25:10 +0100 [thread overview]
Message-ID: <87r4n5ufjd.fsf@gmx.de> (raw)
In-Reply-To: <87txs1wl57.fsf@fimbulvetr.bsc.es> ("Lluís"'s message of "Tue, 04 Dec 2012 16:41:08 -0500")
Lluís <xscript@gmx.net> writes:
>> 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.
Hmm, I haven't installed a calendar client which I could use for
testing. I run dry tests via "dbus-send ...".
Which calendar client do you use?
> The signature is supposed to be "a(sssbxxa{sv})", but after (quickly) reading
> the manual I'm unable to return such a structure.
Try this one:
--8<---------------cut here---------------start------------->8---
(defun ogc:--dbus-get-events (since until force-reload)
"Returns \"a(sssbxxa{sv})\"."
'((:array
(:struct "" "Test1" "" :boolean nil :int64 63490176000 :int64 63490176001
(:array :signature "{sv}"))
(:struct "" "Test2" "" :boolean t :int64 63490176002 :int64 63490176003
(:array :signature "{sv}")))))
--8<---------------cut here---------------end--------------->8---
> Thanks a lot,
> Lluis
Best regards, Michael.
next prev parent reply other threads:[~2012-12-05 7:25 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-12-03 17:59 [dbus] type errors Lluís
2012-12-03 18:51 ` Michael Albinus
2012-12-03 21:18 ` Lluís
2012-12-03 21:38 ` Michael Albinus
2012-12-04 11:21 ` Michael Albinus
2012-12-04 13:09 ` Broken build with --with-x-toolkit=no? Dmitry Antipov
2012-12-04 17:47 ` Eli Zaretskii
2012-12-04 20:43 ` Paul Eggert
2012-12-04 21:41 ` [dbus] type errors Lluís
2012-12-05 7:25 ` Michael Albinus [this message]
2012-12-05 11:55 ` Lluís
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87r4n5ufjd.fsf@gmx.de \
--to=michael.albinus@gmx.de \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).