From a2f12a94b45d3d04286ed9ad7725ce64bf42b2cd Mon Sep 17 00:00:00 2001 From: Mark Wooding Date: Sat, 7 Jan 2012 17:17:13 +0000 Subject: [PATCH] dot/emacs: Truncate long lines by default. 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 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dot/emacs b/dot/emacs index 0ced3ca..7be9951 100644 --- a/dot/emacs +++ b/dot/emacs @@ -221,7 +221,8 @@ (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)) -- 2.11.0