This only happens in python-mode. When I try to use a text object to, for example, change everything inside or around some brackets (eg ci() it instead edits the first line of the file. So if I have this:
from somewhere import something
something("hello")
and my cursor is on the hello and I type ci( then it changes to:
fg
something("hello")
with my cursor between the f and the g. This happens no matter what else is in the file.
Try to edit inside quotes (eg ci")also fails but in a different way. It just drops into insert mode and leaves the contents unchanged.
Any ideas where I should start with tracking down the source of this issue?
emacs -Qand enablingevilmanually to find a good state, then recursively comment out your init file to find the offending part of it. If evenemacs -Qbehaves faulty and upgrading packages doesn't help either, hand in a detailed bug report at their issue tracker.C-h k c: it should be bound toevil-change. Hitcso that you're in operator-pending state. HitC-h k i-- it should still be waiting for you to finish the text object. Hit(to complete the text object: it should be bound toevil-inner-paren.