emacs: add some more confg, and fix magit, greps, auto-complete and greps.
emacs: fix some more init files and add defuns
emacs: fix dired and yasnippet