add .hgignore
add Emacs directory locals definition