Clean up everything related to flymake.

This commit is contained in:
syl20bnr 2013-04-12 21:40:52 -04:00
parent 5b690b24ed
commit 60464265f1
10 changed files with 42 additions and 8 deletions

3
.gitmodules vendored
View File

@ -31,6 +31,3 @@
[submodule "extensions/elixir"]
path = extensions/elixir
url = http://github.com/elixir-lang/emacs-elixir
[submodule "extensions/flymake"]
path = extensions/flymake
url = http://github.com/illusori/emacs-flymake

1
extensions/elixir Submodule

@ -0,0 +1 @@
Subproject commit f216c62d8a66f2c3637a72b6e23fb2775eccf26f

@ -1 +0,0 @@
Subproject commit 12cd33c519ffc0718762b1dbb8497810898ab5b4

View File

@ -0,0 +1,3 @@
(require 'elixir-mode-setup)
(elixir-mode-setup)

View File

@ -1 +0,0 @@
(require 'elixir-mode)

View File

@ -0,0 +1,5 @@
(require 'flymake-elixir)
(eval-after-load 'elixir-mode
(add-hook 'elixir-mode-hook 'flymake-elixir-load))

29
init.el
View File

@ -53,3 +53,32 @@
;; Customization settings =====================================================
(require 'custom-settings)
(custom-set-variables
;; custom-set-variables was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(ahs-case-fold-search nil)
'(ahs-default-range (quote ahs-range-whole-buffer))
'(ahs-idle-interval 0.01)
'(expand-region-contract-fast-key "V")
'(expand-region-reset-fast-key "r")
'(haskell-notify-p t)
'(haskell-process-type (quote cabal-dev))
'(haskell-stylish-on-save t)
'(haskell-tags-on-save t)
'(safe-local-variable-values (quote ((eval when (and (buffer-file-name) (file-regular-p (buffer-file-name)) (string-match-p "^[^.]" (buffer-file-name))) (emacs-lisp-mode) (unless (featurep (quote package-build)) (let ((load-path (cons ".." load-path))) (require (quote package-build)))) (package-build-minor-mode)))))
'(term-default-bg-color "#002b36")
'(term-default-fg-color "#93a1a1"))
(custom-set-faces
;; custom-set-faces was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(popup-face ((t (:background "#586e75" :foreground "#000000"))))
'(popup-menu-face ((t (:background "#586e75" :foreground "#000000"))))
'(popup-menu-mouse-face ((t (:background "#073642" :foreground "#dc322f" :box (:line-width -1 :style pressed-button)))))
'(popup-menu-selection-face ((t (:background "#073642" :foreground "#b58900" :box (:line-width -1 :style pressed-button) :overline "black" :weight bold))))
'(popup-scroll-bar-background-face ((t (:background "#586e75"))))
'(popup-scroll-bar-foreground-face ((t (:background "#002b36"))))
'(popup-tip-face ((t (:background "#586e75" :foreground "#000000" :slant italic)))))

View File

@ -2,7 +2,7 @@
(setq package-archives '(("ELPA" . "http://tromey.com/elpa/")
("gnu" . "http://elpa.gnu.org/packages/")
("melpa" . "http://melpa.milkbox.net/packages/")
;; ("marmalade" . "http://marmalade-repo.org/packages/")
("marmalade" . "http://marmalade-repo.org/packages/")
("melpa" . "http://melpa.milkbox.net/packages/")
("technomancy" . "http://repo.technomancy.us/emacs/")))
(package-initialize)
@ -29,6 +29,7 @@
find-file-in-project
flymake-cursor
flymake-easy
flymake-elixir
flymake-haskell-multi
flymake-json
flymake-python-pyflakes

View File

@ -6,7 +6,7 @@
delim-pad
;; distel
edts
;; elixir
elixir
;; emacs-eclim
evil-plugins
mu4e

View File

@ -1,6 +1,6 @@
(defvar syl:pre-extensions
'(
flymake
;; nothing for now
))
;; load extensions