Added emacs setting for smartrep