emacs - add auto-insert for c/c++ and perl mode