fix auto-complete-mode and linum-mode annoyance

Change-Id: I4bf4daca439c37af7aa0eb6e89bea53e7c7017d2