improve emacs config, add astyle and cppcheck