[Top][All Lists]

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

Re: Wrong type error in dbus method

From: Thien-Thi Nguyen
Subject: Re: Wrong type error in dbus method
Date: Fri, 02 Jul 2010 11:04:51 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

() Patrick Michael Niedzielski <address@hidden>
() Fri, 02 Jul 2010 02:23:51 +0000

      (zeitgeist-call "InsertEvents"
        '(:string ""
        :string (zeitgeist-event-timestamp)

This fragment uses ‘quote’, which results in the expression
‘(zeitgeist-event-timestamp)’ never being evaluated.  To construct a
proper plist for ‘zeitgeist-call’ in this case, use ‘list’, for example:

      (zeitgeist-call "InsertEvents"
        (list :string ""
              :string (zeitgeist-event-timestamp)

Alternatively, you can use ‘backquote’ and ‘unquote’.


reply via email to

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