I would guess that this is because pylint.el includes:
(require 'tramp)
and that this is more a problem with Tramp startup, than with pylint.
I've had slow Tramp startup problems in other contexts unrelated to
python.
Possibly relevant references:
The workaround proposed in comment #6 does not solve the issue for me on
Kubuntu xenial but removing:
/etc/site-start.d/50pylint.el
lets emacs start any python file instantly without hanging but (of
course) with no pylint. This issue for me started out of nowhere, I
haven't updated anything for
I had the same issue in xenial and could resolve it.
The problem occurs when pylint package was installed before emacs.
The postinst script of pylint installs the pylint.el properly only if emacs has
been installed.
To workaround the problem, reconfigure pylint as:
sudo dpkg-reconfigure pylint
seeing this as well in xenial (16.04.3)
when removing pylint I also see this msg when opening python file in emacs:
File mode specification error: (file-error "Cannot open load file" "no such
file or directory" "pylint")
... this however does not cause further lag/hang or something
--
You
Bug is also in xenial
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1530667
Title:
Loading pylint.elc causes emacs24 to hang for a VERY LONG TIME at
startup
To manage notifications about this
** Changed in: pylint (Ubuntu)
Importance: Undecided => High
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1530667
Title:
Loading pylint.elc causes emacs24 to hang for a VERY LONG TIME at
I can confirm this bug affects me too on Wily.
sudo apt-get remove --purge pylint
is enough to get emacs to start up instantly.
Whereas
sudo apt-get install pylint
Hangs for a very long time, and starting emacs after that hangs for a
very long time - it shows `Loading pylint...` in the
Status changed to 'Confirmed' because the bug affects multiple users.
** Changed in: pylint (Ubuntu)
Status: New => Confirmed
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1530667
Title: