patching pylint.el

L

lgfang

Hi,

I think this is a bug of pylint.el. But I failed finding a way to
submit the bug neither in its official site nor in google. So I post
it here wishing it may be useful for some buddies.

The bug is that it uses "compile-internal" from "compile" without
require compile. So "M-x pylint" will fail if compile hadn't been
loaded in advance by any means.

My fix is rather straightforward: add "(require 'compile)" in the code.

------ begin diff output ------
2a3
(require 'compile)
------ end diff output ------

Fang lungang
 
S

syt

Hi,

I think this is a bug ofpylint.el. But I failed finding a way to
submit the bug neither in its official site nor in google. So I post
it here wishing it may be useful for some buddies.

The bug is that it uses "compile-internal" from "compile" without
require compile. So "M-xpylint" will fail if compile hadn't been
loaded in advance by any means.

My fix is rather straightforward: add "(require 'compile)" in the code.

------ begin diff output ------
2a3> (require 'compile)

------ end diff output ------

fyi, pylint related bug should be reported on the python-
(e-mail address removed) mailing list.
I've opened a ticket for your bug/patch: http://www.logilab.org/bug/eid/4026

cheers,
Sylvain
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,576
Members
45,054
Latest member
LucyCarper

Latest Threads

Top