From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.devel Subject: Re: Wrong type error in dbus method Date: Sat, 03 Jul 2010 10:59:06 +0200 Message-ID: <87630x9c11.fsf@gmx.de> References: <4c2d4db9.df0ae50a.241a.0135@mx.google.com> <87mxuap83w.fsf@ambire.localdomain> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1278147565 6796 80.91.229.12 (3 Jul 2010 08:59:25 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 3 Jul 2010 08:59:25 +0000 (UTC) Cc: Patrick Michael Niedzielski , emacs-devel@gnu.org To: Thien-Thi Nguyen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jul 03 10:59:23 2010 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OUyZD-0007eB-95 for ged-emacs-devel@m.gmane.org; Sat, 03 Jul 2010 10:59:19 +0200 Original-Received: from localhost ([127.0.0.1]:57598 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OUyZC-0003cM-NQ for ged-emacs-devel@m.gmane.org; Sat, 03 Jul 2010 04:59:18 -0400 Original-Received: from [140.186.70.92] (port=41126 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OUyZ6-0003cH-48 for emacs-devel@gnu.org; Sat, 03 Jul 2010 04:59:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OUyZ4-00042s-5T for emacs-devel@gnu.org; Sat, 03 Jul 2010 04:59:11 -0400 Original-Received: from mail.gmx.net ([213.165.64.20]:36928) by eggs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1OUyZ3-00042Q-Pa for emacs-devel@gnu.org; Sat, 03 Jul 2010 04:59:10 -0400 Original-Received: (qmail invoked by alias); 03 Jul 2010 08:59:08 -0000 Original-Received: from p4FC183AE.dip0.t-ipconnect.de (EHLO detlef.gmx.de) [79.193.131.174] by mail.gmx.net (mp068) with SMTP; 03 Jul 2010 10:59:08 +0200 X-Authenticated: #3708877 X-Provags-ID: V01U2FsdGVkX1+db28Oa8qd/xJWqSp9/cJvLN6NhqeFD6SYc2kUvY zhyJd1Rv7zBtqQ In-Reply-To: <87mxuap83w.fsf@ambire.localdomain> (Thien-Thi Nguyen's message of "Fri, 02 Jul 2010 11:04:51 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-Y-GMX-Trusted: 0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:126724 Archived-At: Patrick Michael Niedzielski writes: > Hi all, Hi, > I am writing an elisp file to integrate GNU Emacs with Zeitgeist over > dbus. Because of the lack of good documentation on dbus in emacs and my > lack of experience with advanced elisp, I am coming up with the > following error in my method zeitgeist-send: Which information do you miss in the dbus info manual? Thien-Thi Nguyen writes: > This fragment uses =E2=80=98quote=E2=80=99, which results in the expressi= on > =E2=80=98(zeitgeist-event-timestamp)=E2=80=99 never being evaluated. To = construct a > proper plist for =E2=80=98zeitgeist-call=E2=80=99 in this case, use =E2= =80=98list=E2=80=99, for example: > > (zeitgeist-call "InsertEvents" > (list :string "" > :string (zeitgeist-event-timestamp) > ...)) and you don't need the :string keyword, because it is the default type when a string is passed as parameter. Best regards, Michael.