In the mini-buffer, space tied to the termination command. If you want to enter the actual '', you need to quote it: Cq <space> . This is a lot for me, so I linked M-<space> to enter the literal space in the minibuffer:
EDIT: next phils comment, the following code snippet is really pointless. You can get the desired behavior with M-space without any bindings.
(define-key minibuffer-local-completion-map "\M- " (lambda () (interactive) (insert " ")))
Tyler source share