I recently installed a new major mode for something I'm working on, and suddenly spaces in expressions I'm searching for don't work as expected. Help!
Anything that makes changes to your
~/.emacs.d/init.el initialisation file may, for various reasons, tinker with the emacs variables
search-whitespace-regexp. This may lead to behaviour other than what most emacs users are used to, that is, a single space character standing for an arbitrary number of whitespace characters. Thus, the fix would involve restoring these variables to their defaults, by adding the following lines at the end of the initialisation file.
(setq isearch-regexp-lax-whitespace t)
(setq search-whitespace-regexp "\\s-+")