  '(show-paren-mode t nil (paren))
  '(transient-mark-mode t))
 (custom-set-faces
-  ;; custom-set-faces was added by Custom.
-  ;; If you edit it by hand, you could mess it up, so be careful.
-  ;; Your init file should contain only one such instance.
-  ;; If there is more than one, they won't work right.
+ ;; custom-set-faces was added by Custom.
+ ;; If you edit it by hand, you could mess it up, so be careful.
+ ;; Your init file should contain only one such instance.
+ ;; If there is more than one, they won't work right.
  '(default ((t (:stipple nil :background "#141312" :foreground "#ffffff" :inverse-video nil :box nil :strike-through nil :overline nil :underline nil :slant normal :weight normal :height 135 :width normal :family "adobe-courier")))))
 
 (setq inhibit-startup-message t)
 (setq initial-scratch-message nil)
-;===================================
-;Adjust the backspace, delete keys
-; Ctrl-Left and Ctrl-Right
-;===================================
+;;===================================
+;;Adjust the backspace, delete keys
+;; Ctrl-Left and Ctrl-Right
+;;===================================
 (cond 
  (window-system 
   (normal-erase-is-backspace-mode 1)

  (setq c-basic-offset 4)
  (setq indent-tabs-mode nil))

;====================================
; Customized Keys
;====================================
(global-set-key "\C-ca" 'apache-mode)
(global-set-key "\C-cc" 'compare-windows)
(global-set-key "\C-cl" 'goto-line)
(global-set-key "\C-cr" 'revert-buffer)
(global-set-key "\C-ct" 'toggle-truncate-lines)

    (while (search-forward "\n" nil t) (replace-match " " nil t))))


;; Set current window width to n columns
(defun set-window-width (n)
  "Set the selected window's width."
  (cond ((<= ( - (- (frame-width) 10) n) 0) (prin1 "Frame width too narrow")) 
	(t (enlarge-window-horizontally (- n (window-width))))))

;; Set current window width to 80 columns
(defun set-80-columns ()
  "Set the selected window to 80 columns."
  (interactive)
  (set-window-width 80))

;; Apache develop mode
(defun apache-mode ()
  (interactive)
  (message "Toggling to Apache mode")
