# HG changeset patch # User Jeff Hammel # Date 1368320117 25200 # Node ID a1c72313b3dfc1a4adce2c9e1ddb18c4c4242114 # Parent cc2f7d8307d06b80d9dcb481f5ea792b0d3a12e3 minor mods diff -r cc2f7d8307d0 -r a1c72313b3df .emacs --- 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)