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

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

Re: Any standard function to prompt for multiple comma-separated items?


From: Peter S Galbraith
Subject: Re: Any standard function to prompt for multiple comma-separated items?
Date: Sun, 17 Nov 2002 09:08:21 -0500

Klaus Berndl <Klaus.Berndl@sdm.de> wrote:

> >  For MH-E, I'm looking for code already available in Emacs to do
> >  completing-read for multiple comma-separated items.  e.g.
> 
> Hmm, i do not know if i understand your problem in the right way...Do
> you want this completion in the minibuffer or is it more like
> dabbrev-completion in a "normal" buffer? 

minibuffer completion, with a comma to separate items to completion.

>                                           Even more: What should be
> the domain of the completion, i.e. the set of allowed completions??

Exactly like completing-read, an alist of allowed completions.
 
> If you are searching for something in the minibuffer, here is a function:
> 
> ,----
> | ;; stolen from query.el and slightly enhanced
> | (defun ecb-query-string (prompt choices &optional other-prompt)

Thanks, but this isn't what I'm looking for at all.

Peter




reply via email to

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