 
 (add-hook 'html-mode-hook
           (lambda ()
-            (set (make-local-variable 'sgml-basic-offset) 2)))
+            (set (make-local-variable 'sgml-basic-offset) 4)))
 
 ;; Are we running XEmacs or Emacs?
 (defvar running-xemacs (string-match "XEmacs" emacs-version))

;;;(add-hook 'c++-mode-hook 'turn-on-font-lock)
(add-hook 'c-mode-hook 'c++-mode)

(defun my-python-indent-setup ()
  (setq indent-tabs-mode nil)
  (setq py-continuation-offset 0)
  (turn-on-font-lock)
  (setq tab-width 4)
  (setq py-indent-offset 4))

(add-hook 'python-mode-hook 'my-python-indent-setup)

;;; turn on auto-fill mode automatically in text mode and related modes
(add-hook 'text-mode-hook

;;; .emacs

(setq window-width 80)
(setq window-height 76)

;;; use auto-install when need new .el 
;(load "~/lib/emacs/elisp/auto-install.el")
