summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Tom Willemse2014-04-20 13:40:03 +0200
committerGravatar Tom Willemse2014-04-20 13:40:03 +0200
commite4567610e9a1056838dd24fa80730848ee9240f4 (patch)
treeff1371a3f30b60d73e1641968af773849ef78ff5
parenta8aec65dfc937c90ef1a1bb9a508c3935eedf6d8 (diff)
downloademacs-e4567610e9a1056838dd24fa80730848ee9240f4.tar.gz
emacs-e4567610e9a1056838dd24fa80730848ee9240f4.zip
Move line truncation setting to init.org
-rw-r--r--.emacs.d/init.el2
-rw-r--r--.emacs.d/init.org22
2 files changed, 18 insertions, 6 deletions
diff --git a/.emacs.d/init.el b/.emacs.d/init.el
index bbda377..99aafa3 100644
--- a/.emacs.d/init.el
+++ b/.emacs.d/init.el
@@ -910,8 +910,6 @@ from myaethon2.core.decorators import (
;;;; Unconditional settings
-(setq-default truncate-lines t)
-
(setq custom-file "~/.emacs.d/custom.el")
(setq default-frame-alist
`((border-width . 0)
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.