[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 13:13:41 -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 12:26, Noam Postavsky wrote:
> On Wed, 15 Apr 2020 at 14:21, Daniele Nicolodi <address@hidden> wrote:
>
>> 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?
>
> (define-key crm-local-completion-map (kbd "SPC") #'self-insert-command)
>
> Seems to do the trick.
I will continue to display crass ignorance: wouldn't that change the
keymap for all commands that uses completing-read-multiple and not only
for the one I am implementing? Is there a convenient way to modify the
keymap only around my invocation of completing-read-multiple?
/me goes to read some documentation
Thank you!
Cheers,
Dan