emacs-devel
[Top][All Lists]
Advanced

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

Re: completing-read a list of keywords


From: Daniele Nicolodi
Subject: Re: completing-read a list of keywords
Date: Wed, 15 Apr 2020 12:21:17 -0600
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:68.0) Gecko/20100101 Thunderbird/68.7.0

On 15-04-2020 11:33, Noam Postavsky wrote:
> On Wed, 15 Apr 2020 at 13:30, Daniele Nicolodi <address@hidden> wrote:
> 
>> I am trying to come up with a solution to be able to use completing-read
>> to prompt the user for a comma (or space) separated list of words.
>> Unfortunately the completion framework is still rather impenetrable to
>> me. Does anyone have pointers to relevant examples and documentation?
> 
> I don't think completing-read supports this use-case. You might want
> to look at completing-read-multiple.

Thanks Noam! I didn't know about completing-read-multiple. It comes very
close to do what I want. However, I am unable to make it work for
elements separated by ", " as SPC is mapped to the complete action. Is
there a way to customize this behavior?

Thank you.

Cheers,
Dan



reply via email to

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