Switching Electric Indent mode on by default was the mistake, which creates difficulties and confusion at many places.