From: Mark Wooding Date: Sat, 7 Jan 2012 17:17:13 +0000 (+0000) Subject: dot/emacs: Truncate long lines by default. X-Git-Url: https://git.distorted.org.uk/~mdw/profile/commitdiff_plain/a2f12a94b45d3d04286ed9ad7725ce64bf42b2cd 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. --- 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))