]> saetta.ns0.it Git - msys2/commitdiff
Errore sintassi in emacs_cross.
authorAndrea Zagli <azagli@libero.it>
Thu, 6 Jul 2017 08:15:36 +0000 (10:15 +0200)
committerAndrea Zagli <azagli@libero.it>
Thu, 6 Jul 2017 08:15:36 +0000 (10:15 +0200)
tools/emacs_cross

index 0b854d4fbd0772a6f3c74923ece053585a45c6a3..77e6d3efe2a2e09aae74bbe7321987aab7121728 100644 (file)
 
 ;; path
 (if (eq system-type 'windows-nt)
-((setenv "PATH" (concat ";C:/msys64/mingw64/bin;C:/msys64/usr/bin") (getenv "PATH"))
-(setq exec-path (append exec-path '("C:/msys64/mingw64/bin"
-                                                                       "C:/msys64/usr/bin")))
-
-(setq default-directory "c:/msys64/home/a.zagli/"))
+(progn (setenv "PATH" (concat ";C:/msys64/mingw64/bin;C:/msys64/usr/bin" (getenv "PATH")))
+       (setq exec-path (append exec-path '("C:/msys64/mingw64/bin"
+                                                                               "C:/msys64/usr/bin")))
+       (setq default-directory "c:/msys64/home/a.zagli/")
+)
 )
 
 ;; generic
 (semantic-mode 1)
 (defun my-semantic-hook ()
   (if (eq system-type 'windows-nt)
-       ((semantic-add-system-include "C:/msys64/mingw32/include/glib-2.0")
-       (semantic-add-system-include "C:/msys64/mingw32/include/gtk-3.0")
-       (semantic-add-system-include "C:/msys64/mingw32/include/atk-1.0")
-       (semantic-add-system-include "C:/msys64/mingw32/include/libxml2")
-       (semantic-add-system-include "C:/msys64/mingw32/include/libgda-5.0")
-       (semantic-add-system-include "C:/msys64/mingw32/include/cairo")
-       (semantic-add-system-include "C:/msys64/mingw32/include/libpng16")
-       (semantic-add-system-include "C:/msys64/mingw32/include/libsoup-2.4")
-       (semantic-add-system-include "C:/msys64/mingw32/include/libsoup-gnome-2.4")
-       (semantic-add-system-include "C:/msys64/mingw32/lib/glib-2.0/include"))
-
-       ((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/cairo")
-       (semantic-add-system-include "/usr/include/dbus-1.0")
-       (semantic-add-system-include "/usr/include/evolution-data-server")
-       (semantic-add-system-include "/usr/include/gdk-pixbuf-2.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/gnome-vfs-2.0")
-       (semantic-add-system-include "/usr/include/gobject-introspection-1.0")
-       (semantic-add-system-include "/usr/include/freetype2")
-       (semantic-add-system-include "/usr/include/harfbuzz")
-       (semantic-add-system-include "/usr/include/libpeas-1.0")
-       (semantic-add-system-include "/usr/include/libpng16")
-       (semantic-add-system-include "/usr/include/libsoup-2.4")
-       (semantic-add-system-include "/usr/include/libsoup-gnome-2.4")
-       (semantic-add-system-include "/usr/include/libxml2")
-       (semantic-add-system-include "/usr/include/nspr")
-       (semantic-add-system-include "/usr/include/nss")
-       (semantic-add-system-include "/usr/include/pixman-1")
-       (semantic-add-system-include "/usr/include/pango-1.0")
-       (semantic-add-system-include "/usr/include/poppler")
-       (semantic-add-system-include "/usr/include/poppler/glib")
-       (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"))
+       (progn (semantic-add-system-include "C:/msys64/mingw32/include/glib-2.0")
+              (semantic-add-system-include "C:/msys64/mingw32/include/gtk-3.0")
+              (semantic-add-system-include "C:/msys64/mingw32/include/atk-1.0")
+              (semantic-add-system-include "C:/msys64/mingw32/include/libxml2")
+              (semantic-add-system-include "C:/msys64/mingw32/include/libgda-5.0")
+              (semantic-add-system-include "C:/msys64/mingw32/include/cairo")
+                  (semantic-add-system-include "C:/msys64/mingw32/include/libpng16")
+                  (semantic-add-system-include "C:/msys64/mingw32/include/libsoup-2.4")
+                  (semantic-add-system-include "C:/msys64/mingw32/include/libsoup-gnome-2.4")
+                  (semantic-add-system-include "C:/msys64/mingw32/lib/glib-2.0/include"))
+
+       (progn (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/cairo")
+                  (semantic-add-system-include "/usr/include/dbus-1.0")
+                  (semantic-add-system-include "/usr/include/evolution-data-server")
+                  (semantic-add-system-include "/usr/include/gdk-pixbuf-2.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/gnome-vfs-2.0")
+                  (semantic-add-system-include "/usr/include/gobject-introspection-1.0")
+                  (semantic-add-system-include "/usr/include/freetype2")
+                  (semantic-add-system-include "/usr/include/harfbuzz")
+                  (semantic-add-system-include "/usr/include/libpeas-1.0")
+                  (semantic-add-system-include "/usr/include/libpng16")
+                  (semantic-add-system-include "/usr/include/libsoup-2.4")
+                  (semantic-add-system-include "/usr/include/libsoup-gnome-2.4")
+                  (semantic-add-system-include "/usr/include/libxml2")
+                  (semantic-add-system-include "/usr/include/nspr")
+                  (semantic-add-system-include "/usr/include/nss")
+                  (semantic-add-system-include "/usr/include/pixman-1")
+                  (semantic-add-system-include "/usr/include/pango-1.0")
+                  (semantic-add-system-include "/usr/include/poppler")
+                  (semantic-add-system-include "/usr/include/poppler/glib")
+                  (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)
   (require 'auto-complete-c-headers)
   (add-to-list 'ac-sources 'ac-source-c-headers)
   (if (eq system-type 'windows-nt)
-  ((add-to-list 'achead:include-directories '"C:/msys64/mingw32/i686-w64-mingw32/include")
-  (add-to-list 'achead:include-directories '"C:/msys64/mingw32/include")
-  (add-to-list 'achead:include-directories '"C:/msys64/mingw32/include/glib-2.0")
-  (add-to-list 'achead:include-directories '"C:/msys64/mingw32/include/gtk-3.0")
-  (add-to-list 'achead:include-directories '"C:/msys64/mingw32/include/atk-1.0")
-  (add-to-list 'achead:include-directories '"C:/msys64/mingw32/include/libxml2")
-  (add-to-list 'achead:include-directories '"C:/msys64/mingw32/include/libgda-5.0")
-  (add-to-list 'achead:include-directories '"C:/msys64/mingw32/include/cairo")
-  (add-to-list 'achead:include-directories '"C:/msys64/mingw32/include/libpng16")
-  (add-to-list 'achead:include-directories '"C:/msys64/mingw32/include/libsoup-2.4")
-  (add-to-list 'achead:include-directories '"C:/msys64/mingw32/include/libsoup-gnome-2.4")
-  (add-to-list 'achead:include-directories '"C:/msys64/mingw32/lib/glib-2.0/include"))
-
-  ((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/cairo")
-  (add-to-list 'achead:include-directories '"/usr/include/dbus-1.0")
-  (add-to-list 'achead:include-directories '"/usr/include/evolution-data-server")
-  (add-to-list 'achead:include-directories '"/usr/include/freetype2")
-  (add-to-list 'achead:include-directories '"/usr/include/gdk-pixbuf-2.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/gnome-vfs-2.0")
-  (add-to-list 'achead:include-directories '"/usr/include/gobject-introspection-1.0")
-  (add-to-list 'achead:include-directories '"/usr/include/harfbuzz")
-  (add-to-list 'achead:include-directories '"/usr/include/libxml2")
-  (add-to-list 'achead:include-directories '"/usr/include/libpeas-1.0")
-  (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/libsoup-gnome-2.4")
-  (add-to-list 'achead:include-directories '"/usr/include/nspr")
-  (add-to-list 'achead:include-directories '"/usr/include/nss")
-  (add-to-list 'achead:include-directories '"/usr/include/pango-1.0")
-  (add-to-list 'achead:include-directories '"/usr/include/pixman-1")
-  (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/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"))
+         (progn (add-to-list 'achead:include-directories '"C:/msys64/mingw32/i686-w64-mingw32/include")
+                        (add-to-list 'achead:include-directories '"C:/msys64/mingw32/include")
+                        (add-to-list 'achead:include-directories '"C:/msys64/mingw32/include/glib-2.0")
+                        (add-to-list 'achead:include-directories '"C:/msys64/mingw32/include/gtk-3.0")
+                        (add-to-list 'achead:include-directories '"C:/msys64/mingw32/include/atk-1.0")
+                        (add-to-list 'achead:include-directories '"C:/msys64/mingw32/include/libxml2")
+                        (add-to-list 'achead:include-directories '"C:/msys64/mingw32/include/libgda-5.0")
+                        (add-to-list 'achead:include-directories '"C:/msys64/mingw32/include/cairo")
+                        (add-to-list 'achead:include-directories '"C:/msys64/mingw32/include/libpng16")
+                        (add-to-list 'achead:include-directories '"C:/msys64/mingw32/include/libsoup-2.4")
+                        (add-to-list 'achead:include-directories '"C:/msys64/mingw32/include/libsoup-gnome-2.4")
+                        (add-to-list 'achead:include-directories '"C:/msys64/mingw32/lib/glib-2.0/include"))
+
+       (progn (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/cairo")
+                  (add-to-list 'achead:include-directories '"/usr/include/dbus-1.0")
+                  (add-to-list 'achead:include-directories '"/usr/include/evolution-data-server")
+                  (add-to-list 'achead:include-directories '"/usr/include/freetype2")
+                  (add-to-list 'achead:include-directories '"/usr/include/gdk-pixbuf-2.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/gnome-vfs-2.0")
+                  (add-to-list 'achead:include-directories '"/usr/include/gobject-introspection-1.0")
+                  (add-to-list 'achead:include-directories '"/usr/include/harfbuzz")
+                  (add-to-list 'achead:include-directories '"/usr/include/libxml2")
+                  (add-to-list 'achead:include-directories '"/usr/include/libpeas-1.0")
+                  (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/libsoup-gnome-2.4")
+                  (add-to-list 'achead:include-directories '"/usr/include/nspr")
+                  (add-to-list 'achead:include-directories '"/usr/include/nss")
+                  (add-to-list 'achead:include-directories '"/usr/include/pango-1.0")
+                  (add-to-list 'achead:include-directories '"/usr/include/pixman-1")
+                  (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/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)