From e4567610e9a1056838dd24fa80730848ee9240f4 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Sun, 20 Apr 2014 13:40:03 +0200 Subject: Move line truncation setting to init.org --- .emacs.d/init.org | 22 ++++++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) (limited to '.emacs.d/init.org') diff --git a/.emacs.d/init.org b/.emacs.d/init.org index 43c9c89..614a1ab 100644 --- a/.emacs.d/init.org +++ b/.emacs.d/init.org @@ -150,6 +150,17 @@ (setq-default cursor-in-non-selected-windows nil) #+END_SRC +** Truncate lines + + Sometimes, very long lines can't help but show up in code. The + default of wrapping lines around to the next line and showing an + image in the fringe is very visually disturbing to me when looking + at code[fn:3]. So I prefer to have it just run off the screen. + + #+BEGIN_SRC emacs-lisp + (setq-default truncate-lines t) + #+END_SRC + * Add org-mode appointments to the diary Diary offers reminders, which can be useful when scheduling @@ -255,7 +266,7 @@ One of the caveats of using two (or more) languages in a single installation of Gnus is that ispell sometimes gets confused. Having - come across a stackoverflow question[fn:3] about just this subject + come across a stackoverflow question[fn:4] about just this subject it was easy to modify the source code posted there to come up with this. @@ -500,7 +511,7 @@ is not a big-enough visual difference to make code read nicely, in my opinion. - So far, I have quite enjoyed four spaces for most code[fn:4]. + So far, I have quite enjoyed four spaces for most code[fn:5]. #+BEGIN_SRC emacs-lisp (setq-default tab-width 4) @@ -535,6 +546,9 @@ [fn:2] https://github.com/sabof/svg-mode-line-themes -[fn:3] http://stackoverflow.com/questions/22175214/automatically-switch-language-in-gnus-depending-on-recipient +[fn:3] It works fine for me with something like jabber chats and the + like. + +[fn:4] http://stackoverflow.com/questions/22175214/automatically-switch-language-in-gnus-depending-on-recipient -[fn:4] I still use 2 spaces for some languages, like HTML. +[fn:5] I still use 2 spaces for some languages, like HTML. -- cgit v1.2.3-54-g00ecf