From 532357c1d9d0cbd8ea645eae2c2fcb187641a27c Mon Sep 17 00:00:00 2001 From: rekado Date: Tue, 28 Oct 2014 14:16:12 +0100 Subject: disable whitespace mode it interferes too much with other modes --- init.el | 33 ++++++++++++++++----------------- 1 file changed, 16 insertions(+), 17 deletions(-) (limited to 'init.el') diff --git a/init.el b/init.el index 30ee122..a9a578d 100644 --- a/init.el +++ b/init.el @@ -113,23 +113,22 @@ (setq scss-compile-at-save nil) - -(setq whitespace-global-modes '(not erc-mode)) -(global-whitespace-mode 1) -(set-face-attribute 'whitespace-space nil :background nil :foreground "gray20") -(set-face-attribute 'whitespace-newline nil :background nil :foreground "gray20") -(setq whitespace-style - '(face spaces tabs newline space-mark tab-mark newline-mark)) -(setq whitespace-display-mappings - ;; all numbers are Unicode codepoint in decimal. try - ;; (insert-char 182 ) to see it - '( - (space-mark 32 [183] [46]) ; 32 SPACE, 183 MIDDLE DOT 「·」, - ; 46 FULL STOP 「.」 - (newline-mark 10 [182 10]) ; 10 LINE FEED - (tab-mark 9 [9655 9] [92 9]) ; 9 TAB, 9655 WHITE - ; RIGHT-POINTING TRIANGLE 「▷」 - )) +;; (setq whitespace-global-modes '(not erc-mode)) +;; (global-whitespace-mode 1) +;; (set-face-attribute 'whitespace-space nil :background nil :foreground "gray20") +;; (set-face-attribute 'whitespace-newline nil :background nil :foreground "gray20") +;; (setq whitespace-style +;; '(face spaces tabs newline space-mark tab-mark newline-mark)) +;; (setq whitespace-display-mappings +;; ;; all numbers are Unicode codepoint in decimal. try +;; ;; (insert-char 182 ) to see it +;; '( +;; (space-mark 32 [183] [46]) ; 32 SPACE, 183 MIDDLE DOT 「·」, +;; ; 46 FULL STOP 「.」 +;; (newline-mark 10 [182 10]) ; 10 LINE FEED +;; (tab-mark 9 [9655 9] [92 9]) ; 9 TAB, 9655 WHITE +;; ; RIGHT-POINTING TRIANGLE 「▷」 +;; )) (desktop-save-mode t) -- cgit v1.2.3