Hello Michael.

Michael Markert <[email protected]> writes:

> The problem is that the bindings come only into effect if the normal
> mode is activated. So change states and back to normal-state and the
> bindings come into effect.
>
> Also "random operations" is a bad description, C-h l (view-lossage)
> tells you about your recently typed keys.

I said "random" because different sequences worked on different trials.
Didn't notice the "state change" pattern.

>> It seems that the method used by evil-paredit-mode is not adequate for
>> the job. Modifying the local keymap seems to work:
>
> Modifying evil-paredit-mode also works (you may want to bring this to
> the attention of the author):
>
> (define-minor-mode evil-paredit-mode
>   "Minor mode for setting up Evil with paredit in a single buffer"
>   :keymap '()
>   (let ((prev-state evil-state))
>     (evil-normal-state)
>     (evil-change-state prev-state)))

Yes, confirmed that it works.

> You may also want to add an issue because I also don't think the current
> behavior is desired.

Done in https://github.com/roman/evil-paredit/issues/7

Thanks Michael.


_______________________________________________
implementations-list mailing list
[email protected]
https://lists.ourproject.org/cgi-bin/mailman/listinfo/implementations-list

Reply via email to