Toggling evil-local-mode off when updating buffers with magit

Štěpán Němec stepnem at gmail.com
Fri Nov 18 16:47:54 CET 2011


On Fri, 18 Nov 2011 13:12:47 +0100
Frank Fischer wrote:

[...]

> This explains the problem. Fundamental mode does not run any hooks,
> therefore evil can't be enabled again. Evil does several tricks in
> order to ensure that evil is enabled in fundamental-mode buffers when
> they are created, but functions like revert-buffer are not handled.
> This is probably not so easy to fix (one could advise revert-buffer,
> but there may be other functions ...)

FWIW, I consider this a bug and have reported it some time ago as GNU
Emacs bug #9214:

  http://thread.gmane.org/gmane.emacs.bugs/49753

Maybe if some of you follow up we will at least get a reply from the
maintainers. ;-)

-- 
Štěpán



More information about the implementations-list mailing list