emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [dbus] type errors


From: Michael Albinus
Subject: Re: [dbus] type errors
Date: Wed, 05 Dec 2012 08:25:10 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

Lluís <address@hidden> 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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]