emacs: improve {C,M}-{n,p} and scrolling