From ffd58f92764c2320940bdae85eb3af914a4fa335 Mon Sep 17 00:00:00 2001 From: Andrea Zagli Date: Tue, 15 Dec 2015 13:29:56 +0100 Subject: [PATCH] Aggiornata la configurazione emacs per gnu/linux. --- tools/emacs_linux | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/tools/emacs_linux b/tools/emacs_linux index a928f75..6ef64a3 100644 --- a/tools/emacs_linux +++ b/tools/emacs_linux @@ -5,7 +5,6 @@ ;; If there is more than one, they won't work right. '(blink-cursor-mode nil) '(column-number-mode t) - '(inhibit-startup-screen t) '(show-paren-mode t) '(tool-bar-mode nil)) (custom-set-faces @@ -14,6 +13,8 @@ ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. '(default ((t (:family "Droid Sans Mono" :foundry "unknown" :slant normal :weight normal :height 90 :width normal))))) + +(setq inhibit-startup-screen t) (load-theme 'misterioso) @@ -22,6 +23,7 @@ ;(setq make-backup-files nil) ; stop creating backup~ files (setq version-control t) (setq vc-make-backup-files t) +(setq delete-old-versions t) (setq auto-save-default nil) ; stop creating #autosave# files ;; save/restore opened files and windows config ;; (desktop-save-mode 1) ; 0 for off @@ -35,6 +37,13 @@ (setq show-paren-delay 0) (show-paren-mode 1) +(global-whitespace-mode 1) +(setq whitespace-style (quote (spaces tabs newline space-mark tab-mark newline-mark))) +(setq whitespace-display-mappings + '( + (space-mark 32 [183] [46]) + (newline-mark 10 [182 10]) + (tab-mark 9 [8594 9] [92 9]))) (require 'package) (add-to-list 'package-archives @@ -43,6 +52,11 @@ (setq package-enable-at-startup nil) (package-initialize) +(require 'spaceline-config) +(spaceline-spacemacs-theme) +(setq spaceline-buffer-position-p 'nil) +(setq spaceline-hud-p 'nil) + (require 'autopair) (autopair-global-mode) @@ -76,6 +90,7 @@ (add-to-list 'achead:include-directories '"/usr/include") (add-to-list 'achead:include-directories '"/usr/include/glib-2.0") (add-to-list 'achead:include-directories '"/usr/include/gtk-3.0") + (add-to-list 'achead:include-directories '"/usr/include/libxml2") (add-to-list 'achead:include-directories '"/usr/local/include") (add-to-list 'achead:include-directories '"/usr/local/include/libgda-5.0") ) -- 2.49.0