<div dir="ltr"><div>I have this after loading Evil at init.el top level:<br><br>(require &#39;undo-tree)<br>(global-undo-tree-mode 1)<br><br></div>Evil makes the same call if undo-tree is available on the load-path, so it&#39;s not necessary.<br>
<div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Dec 30, 2013 at 3:49 PM, Linus Arver <span dir="ltr">&lt;<a href="mailto:linusarver@gmail.com" target="_blank">linusarver@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello list,<br>
<br>
When I open a file with an unrecognized extension, my Emacs opens it in<br>
Fundamental mode (which is what I want). I have Evil enabled with<br>
<br>
� � (require &#39;evil)<br>
� � (evil-mode 1)<br>
<br>
but the file&#39;s buffer does not have undo-tree-mode enabled. I have to<br>
manually enable it with<br>
<br>
� � M-x undo-tree-mode<br>
<br>
. I tried adding<br>
<br>
� � (global-undo-tree-mode)<br>
<br>
in my ~/.emacs, but I get nothing. I also tried adding<br>
<br>
� � (add-hook &#39;evil-after-load-hook<br>
� � � � (lambda ()<br>
� � � � � � (undo-tree-mode)<br>
� � � � )<br>
� � )<br>
<br>
but it doesn&#39;t help. If I set my emacs&#39; default major mode to text-mode,<br>
then undo-tree gets enabled and everything works, but I don&#39;t want to<br>
use this workaround. I also tried deleting all of my ~/.emacs except for<br>
these lines<br>
<br>
� � (require &#39;evil)<br>
� � (evil-mode 1)<br>
<br>
, but I still get the same behavior. Interestingly, the *Messages*<br>
buffer has undo-tree-mode enabled with this same configuration.<br>
<br>
Does anyone have the same issues with Fundamental Mode + Undo Tree Mode<br>
when opening a file?<br>
<br>
-L<br>
<br>
_______________________________________________<br>
implementations-list mailing list<br>
<a href="mailto:implementations-list@lists.ourproject.org">implementations-list@lists.ourproject.org</a><br>
<a href="https://lists.ourproject.org/cgi-bin/mailman/listinfo/implementations-list" target="_blank">https://lists.ourproject.org/cgi-bin/mailman/listinfo/implementations-list</a><br>
</blockquote></div><br></div>