When I work on a .py file a new buffer appear (*Python Completions*) and sometimes auto-complete my code (every time in a wrong way !).

It looks like this (on the right side, when I tiped i):

enter image description here

What is causing it and how may I disable it ?

  • Does this happen when you start Emacs using emacs -Q (no init file)? If not then recursively bisect your init file to find out what you are doing that causes it.
    – Drew
    Commented Jul 2, 2016 at 14:39
  • @Drew I finally found with your method. The jedi package was installed in my load-dir and I use company, thus both interacted in a wrong way! The sollution just was to remove the jedi package. Thanks you for your help.
    – P.-A.
    Commented Jul 5, 2016 at 9:47
  • This also happens when you have python-mode.el installed. It may also be a conflict with company Commented Mar 25, 2019 at 15:52

1 Answer 1


The problem came from the interaction between jedi and company. Both interact in a wrong way, as it is explained here, so company users must install company-jedi instead of jedi.

Thus the solution was just to remove the jedi package!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.