Added truncated lines and line numbers to every buffer. Removed frame resizing because its slow.
authorLuke Hoersten <Luke@Hoersten.org>
Fri, 14 Aug 2009 12:01:30 -0500
changeset 9 c72d0d9f61cb
parent 8 f16b95667aa6
child 10 eb4d42b61a62
Added truncated lines and line numbers to every buffer. Removed frame resizing because its slow.
emacs.el
hoersten-c-style.el
--- a/emacs.el	Sat Aug 08 11:26:04 2009 -0500
+++ b/emacs.el	Fri Aug 14 12:01:30 2009 -0500
@@ -7,6 +7,7 @@
 (setq-default ediff-split-window-function 'split-window-horizontally) ; diff horizontally
 (setq-default x-select-enable-clipboard t)                            ; paste from X buffer
 (setq-default inhibit-splash-screen t)                                ; disable splash screen
+(setq-default truncate-lines t)
 (put 'set-goal-column 'disabled nil)                                  ; enable goal column setting
 (put 'narrow-to-region 'disabled nil)                                 ; enable hiding
 
@@ -26,6 +27,7 @@
 (transient-mark-mode t)                                               ; show highlighting
 (global-font-lock-mode t)                                             ; syntax highlighting
 (global-whitespace-mode t)                                            ; show whitespace
+(global-linum-mode t)
 (setq-default whitespace-style '(tab-mark trailing tabs empty))       ; what whitespace elements to show
 (add-hook 'before-save-hook 'whitespace-cleanup)                      ; cleanup whitespace on exit
 (global-set-key (kbd "C-c c") 'compile)                               ; compile
@@ -82,12 +84,11 @@
     (menu-bar-mode nil) ; remove menu bar in no-x mode
   (tool-bar-mode nil)   ; remove tool bar
   (scroll-bar-mode nil) ; remove scroll bar
-  (custom-set-faces '(default ((t (:background "#000000" :foreground "#ffffff" :height 101 :family "DejaVu Sans Mono")))))
-  (setq default-frame-alist '((width . 100) (height . 50) (menu-bar-lines . 1)))
   (visual-line-mode t)  ; word wrap break on whitespace
+  (set-default-font "Monospace-10")
 
   ;; twilight theme
   (require 'color-theme)
   (load "color-theme-twilight")
   (color-theme-twilight)
-  (global-hl-line-mode t))
+  (global-hl-line-mode t))
\ No newline at end of file
--- a/hoersten-c-style.el	Sat Aug 08 11:26:04 2009 -0500
+++ b/hoersten-c-style.el	Fri Aug 14 12:01:30 2009 -0500
@@ -41,8 +41,6 @@
 
             (c-toggle-auto-newline t)                            ; auto newline
             (c-subword-mode t)
-            (linum-mode t)
-            (setq truncate-lines t)
             ;;(doxymacs-mode t)
             ;;(doxymacs-font-lock)