Since a relatively recent laptop re-install, whenever I
M-x shell-mode (usually with the default shell buffer already running somewhere), the shell doesn't appear in the currently active window, instead it opens in a different one. Almost entirely always the one I don't want it to open in.
This seems to be new behaviour - my iMac that shares the same
.emacs.d doesn't do this.
I can't find any obvious config variable to change this behaviour.