remove mercrial, extract window resizing from .emacs