diff .emacs @ 300:a1c72313b3df

minor mods
author Jeff Hammel <jhammel@mozilla.com>
date Sat, 11 May 2013 17:55:17 -0700
parents cc2f7d8307d0
children 6095d439d1f2
line wrap: on
line diff
--- a/.emacs	Sat May 11 10:18:40 2013 -0700
+++ b/.emacs	Sat May 11 17:55:17 2013 -0700
@@ -1,5 +1,4 @@
 ;; emacs server (what a piece of crap)
-;; (commented out for now)
 (require 'server)
  (or (server-running-p)
      (server-start))
@@ -21,7 +20,7 @@
 ;; show trailing whitespace
 (setq-default show-trailing-whitespace t)
 
-;;;;
+;;;; ??? no idea
 
 (put 'downcase-region 'disabled nil)
 (setq truncate-lines nil)
@@ -59,10 +58,8 @@
 
 ;;;; line/col #s
 
-;; Show line-number in the mode line
+;; Show line and column numbers in the mode line
 (line-number-mode 1)
-
-;; Show column-number in the mode line
 (column-number-mode 1)
 
 ;;;; modes
@@ -74,19 +71,21 @@
 (setq auto-mode-alist (cons '("\\.cpy$" . python-mode) auto-mode-alist))
 (setq auto-mode-alist (cons '("\\.vpy$" . python-mode) auto-mode-alist))
 
-;; set auto-fill for modes
+;; set auto-fill for appropriate modes
 (add-hook 'text-mode-hook 'turn-on-auto-fill)
 (add-hook 'sgml-mode-hook 'turn-off-auto-fill)
 
+;; set the grep command....for some reason
 (setq grep-command "grep -liE")
 
-;; recent history stuff
+
+;;;; recent history stuff
 (require 'recentf)
 (recentf-mode 1)
 (setq recentf-max-menu-items 25)
 (global-set-key "\C-x\ \C-r" 'recentf-open-files)
 
-;; full-steam-ahead-and-damn-the-torpedoes
+;;;; full-steam-ahead-and-damn-the-torpedoes
 (defun
   full-steam-ahead-and-damn-the-torpedoes
   (prompt) t)
@@ -98,6 +97,8 @@
 (require 'uniquify)
 (setq uniquify-buffer-name-style 'post-forward)
 
+;;;;
+
 ;; wheel mouse
 (global-set-key [mouse-4] 'scroll-down)
 (global-set-key [mouse-5] 'scroll-up)