[emacs] automatically add margins to windows