      (c-echo-syntactic-information-p . t)
      (fill-column . 78)))
 
-  (c-add-style 
-   "runit-java" 
+  (c-add-style
+   "runit-java"
    '("personal"
-     (c-offsets-alist 
+     (c-offsets-alist
       . ((case-label . 0)
 	 (statement-case-intro . +)
 	 (statement-case-open . 0)))))
 
-  (c-add-style 
+  (c-add-style
    "c-tabs8"
    '("personal"
      (c-basic-offset . 8)
      (indent-tabs-mode . t)
-     (c-offsets-alist 
+     (c-offsets-alist
       . ((case-label . 0)
 	 (label . 0)
 	 (statement-case-intro . +)
 	 (statement-case-open . +)))))
 
-  (c-add-style 
+  (c-add-style
    "c-indent2"
    '("personal"
      (c-basic-offset . 2)))

;;; js-mode customization
(defun my-js-initialization-hook ()
  (let ((file-path (buffer-file-name)))
    (cond 
     ((runit-file-p file-path)
      (setq tab-width 4)
      (setq indent-tabs-mode 't))

  (local-set-key (vector ?\M-q ?q) 'c-fill-paragraph)

  ;; add my personal style and set it for the current buffer

  (c-set-style "personal")

;; other customizations
  (setq tab-width 8)
  ;; this will make sure spaces are used instead of tabs
  (setq indent-tabs-mode nil)
  (let ((file-path (buffer-file-name)))
    (cond
     ((runit-file-p file-path)
      (setq enable-local-variables nil
	    enable-local-eval nil
	    tab-width 4
	    indent-tabs-mode 't)

      (c-set-style "runit-java"))
     ((string-match
       "\\<\\(mosh\\)/.*\\.\\(cc\\|h\\)" file-path)
      (setq c-basic-offset 2)
      (setq indent-tabs-mode 't))
     ((string-match
       "\\<\\(closure-compiler\\)/.*\\.java" file-path)
      (setq c-basic-offset 2)
      (setq indent-tabs-mode nil))
     ((string-match
       "/\\(netcat-openbsd[-.0-9a-z]*\\|nc\\)/.*\\.\\(cc?\\|h\\)" file-path)
      (c-set-style "c-tabs8"))
     ((string-match
       "/s/x\.cpp" file-path)
      (c-set-style "c-indent2"))
     ))
