Motion in grep-mode

Nikolai Weibull now at disu.se
Wed Sep 17 07:33:38 CEST 2014


On Tue, Sep 16, 2014 at 10:59 PM, Nikolai Weibull <now at disu.se> wrote:
> Hi!
>
> Why isn’t grep-mode’s bindings overriding those defined in
> motion-state?  Since grep-mode is derived from compilation-mode, I’d
> have thought that it’d work.
>
> I’ve also tried
>
>   (evil-set-initial-state 'grep-mode 'motion)
>
> without success (even though (evil-motion-state-p) returns t).

OK, so

  (evil-make-overriding-map grep-mode-map nil)

works for 1.0.8.  It seems that this has been fixed in trunk.



More information about the implementations-list mailing list