[Top][All Lists]

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

Re: completing-read a list of keywords

From: Joost Kremers
Subject: Re: completing-read a list of keywords
Date: Wed, 15 Apr 2020 20:41:39 +0200
User-agent: mu4e 1.3.10; emacs 26.3

On Wed, Apr 15 2020, 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)

Or if you don't want to stomp on anyone's keybindings:

(let ((crm-local-must-match-map (make-composed-keymap '(keymap (32)) crm-local-must-match-map)))
 (completing-read-multiple ...)

Joost Kremers
Life has its moments

reply via email to

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