all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Thien-Thi Nguyen <ttn@gnuvola.org>
To: Patrick Michael Niedzielski <patrickniedzielski@gmail.com>
Cc: emacs-devel@gnu.org
Subject: Re: Wrong type error in dbus method
Date: Fri, 02 Jul 2010 11:04:51 +0200	[thread overview]
Message-ID: <87mxuap83w.fsf@ambire.localdomain> (raw)
In-Reply-To: <4c2d4db9.df0ae50a.241a.0135@mx.google.com> (Patrick Michael Niedzielski's message of "Fri, 02 Jul 2010 02:23:51 +0000")

() Patrick Michael Niedzielski <patrickniedzielski@gmail.com>
() 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’.

thi



  reply	other threads:[~2010-07-02  9:04 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-02  2:23 Wrong type error in dbus method Patrick Michael Niedzielski
2010-07-02  9:04 ` Thien-Thi Nguyen [this message]
2010-07-03  8:59   ` Michael Albinus
2010-07-05  9:00     ` Thien-Thi Nguyen
2010-07-05 15:04       ` Drew Adams
2010-07-05 18:34         ` Michael Albinus
2010-07-05 19:03           ` Thien-Thi Nguyen
2010-07-05 19:35             ` Michael Albinus
2010-07-05 20:40               ` Chad Brown
2010-07-05 15:45       ` Patrick Michael Niedzielski
2010-07-05 18:40         ` Michael Albinus
2010-07-09 19:47       ` Michael Albinus

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87mxuap83w.fsf@ambire.localdomain \
    --to=ttn@gnuvola.org \
    --cc=emacs-devel@gnu.org \
    --cc=patrickniedzielski@gmail.com \
    /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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.