      (color-theme-euphoria)))
 
 ;;; Screen size specific configuration
-(setq initial-frame-alist 
+(setq initial-frame-alist
       (append '((width . 85)
 		(height . 50)) initial-frame-alist))
 
 ;;; Template
 (require 'autoinsert)
 (setq auto-insert-directory "~/.emacs.d/template")
-(setq auto-insert-alist 
+(setq auto-insert-alist
       (append '(("\\.cpp$" . ["template.cpp" my-template])
                 ("\\.h$" . ["template.h" my-template]))))
 (defvar template-replacements-alists
   '(("%file%" . (lambda () (file-name-nondirectory (buffer-file-name))))
-    ("%file-noext%" . 
+    ("%file-noext%" .
      (lambda () (file-name-sans-extension (file-name-nondirectory (buffer-file-name)))))
-    ("%include-guard%" . 
+    ("%include-guard%" .
      (lambda () (format "%s_H_" (upcase (file-name-sans-extension (file-name-nondirectory buffer-file-name))))))))
 (defun my-template ()
   (time-stamp)


;; Packages
(require 'package)
(setq package-archives 
      (append '(("marmalade" . "http://marmalade-repo.org/packages/")
                ("melpa" . "http://melpa.milkbox.net/packages/"))
              package-archives))

(autoload 'ghc-init "ghc" nil t)
(add-hook 'haskell-mode-hook (lambda () (ghc-init)))

;;; py-autopep8
(require 'py-autopep8)
(add-hook 'before-save-hook 'py-autopep8-before-save)

;;; js3 mode
(add-hook 'js3-mode-hook
          (lambda ()
            (setq js3-auto-indent-p t)
            (setq js3-curly-indent-offset 0)
            (setq js3-enter-indents-newline t)
