I have the following:
(use-package evil
:hook
(after-init . evil-mode)
(evil-normal-state-entry . hydra-evil/body))
When leaving the emacs state (with C-z) and entering normal state, all my buffers are killed and the *Messages*
buffer reads:
walk-window-tree-1: Lisp nesting exceeds ‘max-lisp-eval-depth’
Here is the backtrace if relevant: http://ix.io/2sI9
evil-initialize
runs tteevil-normal-state-hook
which calls into hydra, which tries to leave a hint in thelv
window. That somehow invokesfundamental-mode
which runs theafter-change-major-mode-hook
which callsevil-mode-enable-in-buffers
which callsevil-initialize
and the whole thing repeats. You've got to break the cycle somewhere, but I know nothing aboutevil
and almost nothing abouthydra
, so I won't be able to help.