help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: pymacs & interactivel isp functions


From: Greg Detre
Subject: Re: pymacs & interactivel isp functions
Date: Thu, 20 Nov 2008 11:48:08 -0800 (PST)
User-agent: G2/1.0

if i understand correctly, you're saying that this works:

  (setq collection (edsquery-return-addresslist "matt"))

but this doesn't

> (defun matt/external-addressbook-completion (stub)
> "get a list of addresses for tab-completion in a new email"
>   (interactive (list (completing-read "Name: "
>                                       (edsquery-return-addresslist (string))
> ;;                                    collection
>                                       nil t))))

is it possible that the variable you're sending in to edsquery-return-
addresslist is wrong? it looks like you're feeding in a function
(string), when presumably you mean to be feeding in some actual string
(e.g. the 'stub' input variable which you're not using).

g


reply via email to

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