]> saetta.ns0.it Git - msys2/commitdiff
emacs: imposta la posizione/grandezza all'avvio.
authorAndrea Zagli <a.zagli@comune.scandicci.fi.it>
Thu, 27 Aug 2015 07:41:21 +0000 (09:41 +0200)
committerAndrea Zagli <a.zagli@comune.scandicci.fi.it>
Thu, 27 Aug 2015 07:41:21 +0000 (09:41 +0200)
Aggiunta di sr-speedbar e diff-hl.

tools/emacs

index 2d6f5994d696ae268bbe2485e0d9a85822d6dac9..1f1184da72cf7f1e955980f230b9ffb10af65b85 100644 (file)
@@ -5,6 +5,7 @@
  ;; 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
  ;; Your init file should contain only one such instance.
  ;; If there is more than one, they won't work right.
  '(default ((t (:family "Source Code Pro" :foundry "outline" :slant normal :weight normal :height 90 :width normal)))))
+
+;;(add-to-list 'custom-theme-load-path
+;;                      (file-name-as-directory "c:/msys64/home/a.zagli/replace-colorthemes"))
+
+;;(load-theme 'comidia t t)
+;;(enable-theme 'comidia)
 (load-theme 'misterioso)
 
 
@@ -23,7 +30,9 @@
 (setq vc-make-backup-files t)
 (setq auto-save-default nil) ; stop creating #autosave# files
 ;; save/restore opened files and windows config
-(desktop-save-mode 1) ; 0 for off
+;; (desktop-save-mode 1) ; 0 for off
+(set-frame-position (selected-frame) 50 10)
+(set-frame-size (selected-frame) 160 60 nil)
 
 
 (setq-default tab-width 4)
@@ -90,3 +99,8 @@
 (global-hl-line-mode 1)
 (set-face-background 'hl-line "gray24")
 (set-face-foreground 'highlight nil)
+
+(global-diff-hl-mode)
+(add-hook 'dired-mode-hook 'diff-hl-dired-mode)
+
+(require 'sr-speedbar)