Commits

smandy committed 40ffed6

Add bzr python-mode. Fix up flymake mode

Comments (0)

Files changed (83)

 auto-complete-1.3.1/auto-complete-config.el
 glob:auto-save-list/**
 regexp:.*~$
-regexp:.*\#.*\#$
+regexp:.*\#.*\#$
+glob:python-mode/.bzr/**
-((("Info-default-directory-list" .
-   [0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0])
+((("fart" .
+   [1 0 0 0])
+  ("buffer-file-name" .
+   [1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0])
+  ("set-default-font" .
+   [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1])
+  ("set-default" .
+   [0 0 0 0 0 0 0 1 0 0 0])
+  ("int" .
+   [1 0 0])
+  ("std" .
+   [1 0 0])
+  ("namespace" .
+   [0 0 1 0 0 0 0 0 0])
+  ("using" .
+   [1 0 0 0 0])
+  ("range" .
+   [4 0 0 0 0])
+  ("in" .
+   [1 0])
+  ("rst-level-2-face" .
+   [0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0])
+  ("package-initialize" .
+   [0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0])
+  ("package" .
+   [1 0 0 0 0 0 0])
+  ("require" .
+   [1 0 0 0 1 0 0])
+  ("setq" .
+   [2 0 0 0])
+  ("ac-sources" .
+   [2 0 0 0 0 0 0 0 0 0])
+  ("append" .
+   [1 0 0 0 0 0])
+  ("ac-source-gtags" .
+   [1 0 0 0 0 0 0 0 0 0 0 0 0 0 0])
+  ("threads" .
+   [2 0 0 0 0 0 0])
+  ("wrappers" .
+   [2 0 0 0 0 0 0 0])
+  ("export" .
+   [2 0 0 0 0 0])
+  ("PATH" .
+   [2 1 0 0])
+  ("~/scala-2.9.2/" .
+   [0 0 0 0 0 0 0 1 0 0 0 0 0 0])
+  ("for" .
+   [2 0 0])
+  ("print" .
+   [1 0 0 0 0])
+  ("import" .
+   [1 0 0 0 0 0])
+  ("color-theme-deep-blue" .
+   [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0])
   ("tool-bar-mode" .
    [0 0 0 0 0 1 0 0 0 1 0 0 0])
-  ("color-theme-deep-blue" .
-   [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0])
-  ("import" .
-   [1 0 0 0 0 0])
-  ("print" .
-   [1 0 0 0 0])
-  ("for" .
-   [2 0 0])
-  ("~/scala-2.9.2/" .
-   [0 0 0 0 0 0 0 1 0 0 0 0 0 0])
-  ("PATH" .
-   [2 1 0 0])
-  ("export" .
-   [2 0 0 0 0 0])
-  ("wrappers" .
-   [2 0 0 0 0 0 0 0])
-  ("threads" .
-   [2 0 0 0 0 0 0])
-  ("ac-source-gtags" .
-   [1 0 0 0 0 0 0 0 0 0 0 0 0 0 0])
-  ("append" .
-   [1 0 0 0 0 0])
-  ("ac-sources" .
-   [2 0 0 0 0 0 0 0 0 0])
-  ("setq" .
-   [2 0 0 0])
-  ("require" .
-   [1 0 0 0 1 0 0])
-  ("package" .
-   [1 0 0 0 0 0 0])
-  ("package-initialize" .
-   [0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0])
-  ("rst-level-2-face" .
-   [0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0])
-  ("in" .
-   [1 0])
-  ("range" .
-   [4 0 0 0 0])
-  ("using" .
-   [1 0 0 0 0])
-  ("namespace" .
-   [0 0 1 0 0 0 0 0 0])
-  ("std" .
-   [1 0 0])
-  ("int" .
-   [1 0 0])
-  ("set-default" .
-   [0 0 0 0 0 0 0 1 0 0 0])
-  ("set-default-font" .
-   [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1])))
+  ("Info-default-directory-list" .
+   [0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0])))

google-gtags-2.0.0/testdata/test_dir

File contents unchanged.
 (add-to-list 'load-path "~/.emacs.d")
 (add-to-list 'load-path "~/.emacs.d/color-theme-6.6.0")
 (add-to-list 'load-path "~/.emacs.d/scala-mode")
+(add-to-list 'load-path "~/.emacs.d/python-mode")
 
 (require 'package)
 (package-initialize)
 (require 'python-mode)
 
 
+;; Adapted from http://www.emacswiki.org/emacs/?action=browse;oldid=PythonMode;id=PythonProgrammingInEmacs#toc8
+(when (load "flymake" t) 
+  (defun flymake-pyflakes-init () 
+     ; Make sure it's not a remote buffer or flymake would not work
+      (let* ((temp-file (flymake-init-create-temp-buffer-copy 
+                         'flymake-create-temp-inplace)) 
+             (local-file (file-relative-name 
+                          temp-file 
+                          (file-name-directory buffer-file-name)))) 
+        (list "c:\\Python26\\scripts\\pyflakes.bat" (list local-file))) )
+  (add-to-list 'flymake-allowed-file-name-masks 
+               '("\\.py\\'" flymake-pyflakes-init))) 
+
+
 (tool-bar-mode 0)
 
 (autoload 'gtags-mode "gtags" "" t)