On Fri, Nov 18, 2011 at 13:12, Frank Fischer <[email protected]> wrote: > On Fri, Nov 18, 2011 at 12:29:53PM +0100, Nikolai Weibull wrote:
>> The buffer a should be in Fundamental mode. You can also use M-x >> revert-buffer to get the same result. > > 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 ...) >> I tried the same by creating a buffer called a.rb, which starts in >> Ruby mode. This gave the same behavior as for evil-ex.el. I’ve had >> this problem with Ruby files, so it shouldn’t depend on that. > > If the buffer is not in fundamental-mode there must be a different > problem. Any example for buffers that are not in fundamental-mode? Not anymore. It seems that it’s now working. I have no explanation other than that I’ve updated Evil since I last tested. Perhaps this resolved itself due to other changes. I’ll report if it happens again. _______________________________________________ implementations-list mailing list [email protected] https://lists.ourproject.org/cgi-bin/mailman/listinfo/implementations-list
