Switch-window and emacs groovy-mode