 (setq-default fill-column 80) ;; not 80 because when things are later indented
 ;; by e.g. diff, git log we lose some columns and
 ;; it gets messy.
-(set 'abbrev-mode t) ;; Use abbrev mode always
-(set 'tags-revert-without-query 1) ;; Autorevert if the tags table has changed
-
-(set 'sentence-end-double-space nil)
+(validate-setq abbrev-mode t) ;; Use abbrev mode always
+
+(require 'etags)
+(validate-setq tags-revert-without-query t) ;; Autorevert if the tags table has changed
+
+(validate-setq sentence-end-double-space nil)
 
 ;; Shut up and just open symbolic links
-(set 'vc-follow-symlinks t)
+(validate-setq vc-follow-symlinks t)
 
 ;; Allow some disabled commands
 (put 'narrow-to-region 'disabled nil)

;; (add-hook 'c-mode-common-hook '(lambda () (c-toggle-auto-newline 1)))

;; Open urls
(set 'browse-url-browser-function 'browse-url-generic)
(set 'browse-url-generic-program "sensible-browser")

;; Wrap lines at nearest word
(diminish 'visual-line-mode)

(global-linum-mode 1)

;; Show something useful in scratch buffer
(validate-setq initial-scratch-message (emacs-version))

;; Highlight long lines
(use-package whitespace
