dot/emacs: Truncate long lines by default.
authorMark Wooding <mdw@distorted.org.uk>
Sat, 7 Jan 2012 17:17:13 +0000 (17:17 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Sat, 7 Jan 2012 17:17:13 +0000 (17:17 +0000)
Wrapped lines generally cause trouble and make stuff hard to read.  The
right solution, given a file with lots of long lines, is either to fix
the long lines, or to view in a wider window.

dot/emacs

index 0ced3ca..7be9951 100644 (file)
--- a/dot/emacs
+++ b/dot/emacs
 (setq scroll-step 5)                   ;Don't scroll too much at a time
 (setq-default fill-column 77)          ;I use rather narrow windows
 (setq-default comment-column 40)       ;Set a standard comment column
-(setq-default truncate-partial-width-windows nil)
+(setq-default truncate-partial-width-windows nil
+             truncate-lines t)
 (setq default-indicate-empty-lines t)
 (setq whitespace-style
       '(trailing space-before-tab space-after-tab empty indentation))