]> saetta.ns0.it Git - msys2/commitdiff
Aggiornato emacs_linux.
authorAndrea Zagli <azagli@libero.it>
Wed, 27 Apr 2016 08:19:47 +0000 (10:19 +0200)
committerAndrea Zagli <azagli@libero.it>
Wed, 27 Apr 2016 08:38:36 +0000 (10:38 +0200)
tools/emacs_linux

index c04f14a68e03a39cb77fdc88cf8fbbe1ce8f4be4..43a82dc7a91f718a9c8a7047e36b82de16055ec8 100644 (file)
@@ -48,6 +48,8 @@
                (newline-mark 10 [182 10])
                (tab-mark 9 [8594 9] [92 9])))
 
+(setq ediff-split-window-function 'split-window-horizontally)
+
 (require 'package)
 (add-to-list 'package-archives
   '("melpa" . "http://melpa.milkbox.net/packages/") t)
 
 (semantic-mode 1)
 (defun my-semantic-hook ()
+  (semantic-add-system-include "/usr/lib/x86_64-linux-gnu/glib-2.0/include")
+  (semantic-add-system-include "/usr/include/")
   (semantic-add-system-include "/usr/include/atk-1.0")
+  (semantic-add-system-include "/usr/include/at-spi-2.0")
+  (semantic-add-system-include "/usr/include/at-spi2-atk/2.0")
+  (semantic-add-system-include "/usr/include/dbus-1.0")
+  (semantic-add-system-include "/usr/include/gio-unix-2.0")
   (semantic-add-system-include "/usr/include/glib-2.0")
   (semantic-add-system-include "/usr/include/gtk-3.0")
   (semantic-add-system-include "/usr/include/libxml2")
+  (semantic-add-system-include "/usr/include/pixman-1")
+  (semantic-add-system-include "/usr/include/pango-1.0")
+  (semantic-add-system-include "/usr/include/gdk-pixbuf-2.0")
+  (semantic-add-system-include "/usr/include/freetype2")
+  (semantic-add-system-include "/usr/include/harfbuzz")
   (semantic-add-system-include "/usr/include/cairo")
   (semantic-add-system-include "/usr/include/libpng16")
   (semantic-add-system-include "/usr/include/libsoup-2.4")
   (semantic-add-system-include "/usr/include/poppler")
   (semantic-add-system-include "/usr/include/poppler/glib")
   (semantic-add-system-include "/usr/include/gnome-vfs-2.0")
+  (semantic-add-system-include "/usr/include/gobject-introspection-1.0")
+  (semantic-add-system-include "/usr/include/libpeas-1.0")
   (semantic-add-system-include "/usr/local/include")
   (semantic-add-system-include "/usr/local/include/libgda-5.0")
+  (semantic-add-system-include "/usr/local/include/libgda-5.0/libgda")
 )
 (add-hook 'semantic-init-hooks 'my-semantic-hook)
 (global-semantic-idle-summary-mode 1)
 (defun my:ac-c-header-init ()
   (require 'auto-complete-c-headers)
   (add-to-list 'ac-sources 'ac-source-c-headers)
+  (add-to-list 'achead:include-directories '"/usr/lib/x86_64-linux-gnu/glib-2.0/include")
   (add-to-list 'achead:include-directories '"/usr/include")
   (add-to-list 'achead:include-directories '"/usr/include/atk-1.0")
+  (add-to-list 'achead:include-directories '"/usr/include/at-spi-2.0")
+  (add-to-list 'achead:include-directories '"/usr/include/at-spi2-atk/2.0")
+  (add-to-list 'achead:include-directories '"/usr/include/dbus-1.0")
+  (add-to-list 'achead:include-directories '"/usr/include/gio-unix-2.0")
   (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/include/pixman-1")
+  (add-to-list 'achead:include-directories '"/usr/include/pango-1.0")
+  (add-to-list 'achead:include-directories '"/usr/include/gdk-pixbuf-2.0")
+  (add-to-list 'achead:include-directories '"/usr/include/freetype2")
+  (add-to-list 'achead:include-directories '"/usr/include/harfbuzz")
   (add-to-list 'achead:include-directories '"/usr/include/cairo")
   (add-to-list 'achead:include-directories '"/usr/include/libpng16")
   (add-to-list 'achead:include-directories '"/usr/include/libsoup-2.4")
   (add-to-list 'achead:include-directories '"/usr/include/poppler")
   (add-to-list 'achead:include-directories '"/usr/include/poppler/glib")
   (add-to-list 'achead:include-directories '"/usr/include/gnome-vfs-2.0")
+  (add-to-list 'achead:include-directories '"/usr/include/gobject-introspection-1.0")
+  (add-to-list 'achead:include-directories '"/usr/include/libpeas-1.0")
   (add-to-list 'achead:include-directories '"/usr/local/include")
   (add-to-list 'achead:include-directories '"/usr/local/include/libgda-5.0")
+  (add-to-list 'achead:include-directories '"/usr/local/include/libgda-5.0/libgda")
 )
 (add-hook 'c++-mode-hook 'my:ac-c-header-init)
 (add-hook 'c-mode-hook 'my:ac-c-header-init)
 (add-hook 'after-init-hook #'global-flycheck-mode)
 (add-hook 'c-mode-hook (lambda () (setq flycheck-gcc-include-path (list "/usr/lib/x86_64-linux-gnu/glib-2.0/include"
                                                                                                                                                "/usr/include/atk-1.0"
+                                                                                                                                               "/usr/include/at-spi-2.0"
+                                                                                                                                               "/usr/include/at-spi2-atk/2.0"
+                                                                                                                                               "/usr/include/dbus-1.0"
+                                                                                                                                               "/usr/include/gio-unix-2.0"
                                                                                                                                                "/usr/include/glib-2.0"
                                                                                                                                                "/usr/include/gtk-3.0"
                                                                                                                                                "/usr/include/libxml2"
                                                                                                                                                "/usr/include/poppler"
                                                                                                                                                "/usr/include/poppler/glib"
                                                                                                                                                "/usr/include/gnome-vfs-2.0"
+                                                                                                                                               "/usr/include/gobject-introspection-1.0"
+                                                                                                                                               "/usr/include/libpeas-1.0"
                                                                                                                                                "/usr/local/include"
-                                                                                                                                               "/usr/local/include/libgda-5.0"))))
+                                                                                                                                               "/usr/local/include/libgda-5.0"
+                                                                                                                                               "/usr/local/include/libgda-5.0/libgda"
+                                                                                                                                               ))))
 
 ; split orizzontale
 (setq split-width-threshold nil)