add .hgignore

--HG--
extra : rebase_source : 5dcc4381901ff80f85fcd983a4942ea55cf3051e
add Emacs directory locals definition

--HG--
extra : rebase_source : 3e9b7678712e36c8964b0e661c1e8f74bb82aa81