From mboxrd@z Thu Jan 1 00:00:00 1970
Path: main.gmane.org!not-for-mail
From: Peter S Galbraith
Newsgroups: gmane.emacs.help
Subject: Re: Any standard function to prompt for multiple comma-separated items?
Date: Sun, 17 Nov 2002 09:08:21 -0500
Sender: help-gnu-emacs-admin@gnu.org
Message-ID: <20021117140821.D0DB0431ED@mixed.dyndns.org>
References:
NNTP-Posting-Host: main.gmane.org
X-Trace: main.gmane.org 1037543030 17060 80.91.224.249 (17 Nov 2002 14:23:50 GMT)
X-Complaints-To: usenet@main.gmane.org
NNTP-Posting-Date: Sun, 17 Nov 2002 14:23:50 +0000 (UTC)
Cc: help-gnu-emacs@gnu.org
Return-path:
Original-Received: from monty-python.gnu.org ([199.232.76.173])
by main.gmane.org with esmtp (Exim 3.35 #1 (Debian))
id 18DQKy-0004R2-00
for ; Sun, 17 Nov 2002 15:23:48 +0100
Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org)
by monty-python.gnu.org with esmtp (Exim 4.10)
id 18DQHc-0004pA-00; Sun, 17 Nov 2002 09:20:20 -0500
Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10)
id 18DQ66-0001XC-00
for help-gnu-emacs@gnu.org; Sun, 17 Nov 2002 09:08:26 -0500
Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10)
id 18DQ63-0001Wf-00
for help-gnu-emacs@gnu.org; Sun, 17 Nov 2002 09:08:25 -0500
Original-Received: from idc-207.134.172-82.globetrotter.net ([207.134.172.82] helo=mixed.dyndns.org)
by monty-python.gnu.org with esmtp (Exim 4.10)
id 18DQ63-0001WW-00
for help-gnu-emacs@gnu.org; Sun, 17 Nov 2002 09:08:23 -0500
Original-Received: from mixed.dyndns.org (localhost [127.0.0.1])
by mixed.dyndns.org (Postfix) with ESMTP
id D0DB0431ED; Sun, 17 Nov 2002 09:08:21 -0500 (EST)
Original-To: Klaus Berndl
In-Reply-To: Message from Klaus Berndl
of "Sun, 17 Nov 2002 10:27:08 +0100."
X-Mailer: MH-E 6.1.90; nmh 1.0.4+dev; Emacs 21.2
X-Face: "#bYm%*(4JuXAkouMxaLz|M2dbXUFnQ"IRX)zpsiM"(B}`#|_b548$VB}5L&VIck1F#FNc'
rsASk0?-/gFp2qzM>0]`Jc}Qd<8[l)N7{8%qMN~{|DS.ME.$
Errors-To: help-gnu-emacs-admin@gnu.org
X-BeenThere: help-gnu-emacs@gnu.org
X-Mailman-Version: 2.0.11
Precedence: bulk
List-Help:
List-Post:
List-Subscribe: ,
List-Id: Users list for the GNU Emacs text editor
List-Unsubscribe: ,
List-Archive:
Xref: main.gmane.org gmane.emacs.help:3680
X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:3680
Klaus Berndl 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