From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Greg Detre Newsgroups: gmane.emacs.help Subject: Re: pymacs & interactivel isp functions Date: Thu, 20 Nov 2008 11:48:08 -0800 (PST) Organization: http://groups.google.com Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1227220110 5613 80.91.229.12 (20 Nov 2008 22:28:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 20 Nov 2008 22:28:30 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Nov 20 23:29:32 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1L3I1Z-0005tK-8C for geh-help-gnu-emacs@m.gmane.org; Thu, 20 Nov 2008 23:29:21 +0100 Original-Received: from localhost ([127.0.0.1]:56161 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L3I0Q-0001Ft-DS for geh-help-gnu-emacs@m.gmane.org; Thu, 20 Nov 2008 17:28:10 -0500 Original-Path: news.stanford.edu!newsfeed.stanford.edu!postnews.google.com!j38g2000yqa.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 22 Original-NNTP-Posting-Host: 128.112.144.83 Original-X-Trace: posting.google.com 1227210488 13926 127.0.0.1 (20 Nov 2008 19:48:08 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Thu, 20 Nov 2008 19:48:08 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: j38g2000yqa.googlegroups.com; posting-host=128.112.144.83; posting-account=S_nOyQoAAACU5uf7gWmdrQsrjNk5LaRU User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.0.2) Gecko/2008090512 Firefox/3.0.2,gzip(gfe),gzip(gfe) Original-Xref: news.stanford.edu gnu.emacs.help:164645 X-Mailman-Approved-At: Thu, 20 Nov 2008 17:25:53 -0500 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:59980 Archived-At: 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" > =A0 (interactive (list (completing-read "Name: " > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 (edsquery-return-addresslist (string)) > ;; =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0collection > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 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