C++ 設定備忘の為記載。

(add-hook 'c++-mode-hook 
	  '(lambda ()
	     (define-key c-mode-map "\C-c\C-c" 'compile)
	     (define-key c-mode-map "\C-c\C-n" 'next-error)
	     (setq tab-width 4)
	     (setq tab-stop-list '(4 8 12 16 20 24))
	     (setq c-basic-offset 4)
	     (indent-tabs-mode t))
	  t)