add rotate buffers to emacs