1: 删除空行
M-x flush-lines ^$ delete all the blank line in buffer
M-x replace-regexp RET ^ C-q C-j $ RET RET delete multiple line to single line in buffer
2: add auto-complete to html-mode
(add-to-list 'ac-modes 'go-mode)
3: when you upgrade emacs to 24.1, CEDET issues a warning “Warning: cedet-called-interactively-p called with 0 arguments, but requires 1”, which can be suppressed by adding (setq byte-compile-warnings nil)
in your .emacs file before CEDET is loaded