 
 (defun read-lines (file)
   (interactive)
-  "Return a list of lines in FILE." 
+  "Return a list of lines in FILE."
   (interactive)
   (with-temp-buffer
     (insert-file-contents file)

(defun insert-datestamp ()
  "Insert the current date in format \"yyyy-mm-dd\" at point for file creation."
  (interactive)
  (insert (format-time-string "%Y-%m-%d" (current-time)))) 


(defun comment ()
  "Insert a C comment with my initials and today's date at point"
  (interactive) 
  (insert "// David Daly-")
  (insert-datestamp)
  (insert ": ")
)

(defun insert-current-time () 
  "Insert the current time in format \"HH:MM:SS\" at point."  
  (interactive) 
  (insert (format-time-string "Time: %T" (current-time)))) 

(defun insert-dashed-line ()
  "Insert a line of dashes at point."

  (save-buffer)
  (kill-buffer nil))

;;; formatting options
; Highlight trailing white space using whitespace package
(require 'whitespace)
(setq show-trailing-whitespace t)
(setq whitespace-line-column 100)

;; Dealing with tab and space issues 
(setq c-default-style "gnu"
          c-basic-offset 4)
; Don't use tabs
(setq-default indent-tabs-mode nil)

;;; Use aspell
