framework for emacs auto resolution in place