Sometimes when using command
zz (stash both), the minibuffer to enter a stash message does not allow me to enter whitespace (e.g. space chars). I typically resolve to use dashes or underscores or even the tedious
C-q SPC, since it is not really important. Yet on other occasions I am sure I have had no problems to enter space chars.
Can someone explain this? Is it a version problem, mine is 20221208.1848.
EDIT: this is embarrassing. The hints in comments and the answer about checking my setup and using
describe-key in the minibuffer prompted me to inspect my startup script for emacs, grown over many years. It explicitly defines
(local-set-key " " 'minibuffer-complete-word) for the minibuffer. Obviously I have no idea anymore when and why I had the bright idea to enter this.
I don't think this question can help others, as it is probably too specific to serve even as a hint to carefully check startup scripts and try a clean version first. So I will delete it some time soon, giving the contributors time to have a good laugh at my blunder.