add debug vim-addon lines for vim exit problem.
update some settings for emacs.