Please help: pylint does not work with Emacs23 on Windows
dsrtegle at gmail.com
Thu Sep 30 18:38:05 CEST 2010
I am trying to use Pylint with Emacs on Windows XP. My Emacs version
is EmacsW32 23.1, pylint is 0.21.3 with Python 2.5. After easy_install
pylint, I added the code block below to Emacs init file, copied form
(when (load "flymake" t)
(defun flymake-pylint-init ()
(let* ((temp-file (flymake-init-create-temp-buffer-copy
(list "epylint" (list local-file))))
When I invoke the flymake-mode on a .py file, I can see the flymake
starting the syntax check, the mode status changed to flymake*, and
then goes back to flymake after several seconds. But no error is
reported, and no syntax error highlighting.
I tried to use pylint in command line, and it works with command
"pylint test.py", reporting syntax errors on the same file.
I even tried to clear out my .emacs file, but it doesn't help.
Could someone help me on this? Thanks a lot.
More information about the Python-list