emacs function for creating a new frame with the currently selection region