[Top][All Lists]

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

Re: completing-read a list of keywords

From: Stefan Monnier
Subject: Re: completing-read a list of keywords
Date: Wed, 15 Apr 2020 18:42:52 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

>>> 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?
>> Not really, no, it's a known limitation.
> What do you think of the proposed temporary keymap modification
> solution? It seems that it solved the problem nicely, doesn't it?

I'm surprised to hear that it works.  IIRC the code will try to
complete " b" rather than "b" if you type `a , SPC b TAB`, so unless
your completion table is happy with spurious leading spaces I think you
won't like the result.

But maybe it's been improved.  This is based on a vague recollection
from many years ago.


reply via email to

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