unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Greg Detre <gdetre@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: pymacs & interactivel isp functions
Date: Thu, 20 Nov 2008 11:48:08 -0800 (PST)	[thread overview]
Message-ID: <f931e718-9fe8-4d7c-afaf-0f1ef2c0993b@j38g2000yqa.googlegroups.com> (raw)
In-Reply-To: mailman.747.1227111401.26697.help-gnu-emacs@gnu.org

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	other threads:[~2008-11-20 19:48 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.747.1227111401.26697.help-gnu-emacs@gnu.org>
2008-11-20 19:48 ` Greg Detre [this message]
2008-11-19 16:16 pymacs & interactivel isp functions Matt Price
2008-11-19 17:37 ` Drew Adams
2008-11-22  8:39   ` Matt Price
2008-11-22 15:27     ` Kevin Rodgers
2008-11-22 15:27     ` Drew Adams
2008-11-22 21:07       ` Matt Price
2008-11-22 21:45         ` Drew Adams

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=f931e718-9fe8-4d7c-afaf-0f1ef2c0993b@j38g2000yqa.googlegroups.com \
    --to=gdetre@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).