Evil Mode minor bugs

laputa5 laputa5 at gmail.com
Mon Jul 25 18:57:28 CEST 2011


 >> In the following case, doing a "va(" or "vi("  doesn't work.
 >>      (aaa "bb[]bb" aa)
 >> where [] is the cursor.
 >
 > Fixed in commit 6e74963.
Thanks for fixing this. It works great now.

 > The state a mode comes up in can be changed with
 > `evil-set-initial-state', e.g.,
 >
 >      (evil-set-initial-state 'Custom-mode 'normal)
 >
 > To view the default settings, inspect the following variables
 > (with "C-h v"): `evil-emacs-state-modes', `evil-insert-state-modes'
 > and `evil-motion-state-modes'. Modes not listed here come up
 > in Normal state.
 >
The problem I had was that Modes not listed here do NOT come up in 
Normal state, but in Emacs state. In fact, even those set to non-Emacs 
state with `evil-set-initial-state' come up in Emacs state. It is caused 
by that for some reason my recentf-mode is always on, and it always 
returns Emacs in `evil-initial-state-for-buffer'. so I changed the 
function a bit, but now I think about it, it's easier to just do the 
following, or remove it in the first place.
	(delete* 'recentf-mode evil-emacs-state-modes)

Not sure if this is a rare case that's just specific to my 
configuration. It works great now.

Best Regards.





More information about the implementations-list mailing list