emacs: kill-buffer and switch-window
more emacs compat