Yes, I agree with Tom. I tried viper and vimpulse, but evil is the first emacs / vim plugin that feels natural. Thanks for writing it. <div><br></div><div>I hope this doesn't make me sound hopelessly ignorant and lazy. But will there ever be a way to use an existing .vimrc file to configure evil? I know that's a matter of parsing vim syntax. And I don't know what lex/yacc tool emacs lisp uses. <br>
<div><br></div><div><br clear="all"><div>Tim </div>
<br><br><div class="gmail_quote">On Wed, Sep 14, 2011 at 10:39 AM, Alan Schmitt <span dir="ltr"><<a href="mailto:alan.schmitt@polytechnique.org">alan.schmitt@polytechnique.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div><div></div><div class="h5">On 14 sept. 2011, at 15:18, Michael Markert wrote:<br>
<br>
> On 14 Sep 2011, Alan Schmitt wrote:<br>
><br>
>> On 14 sept. 2011, at 12:08, Michael Markert wrote:<br>
>><br>
>>> Aquamacs could be a cause for this but I have no experience with<br>
>>> it. color themes are most probably not interfering as they do little<br>
>>> more than assigning faces themselves.<br>
>><br>
>> Thanks for the reply. I'm still investigating. What's strange is that<br>
>> when I do a "(set-cursor-color "red")", the cursor becomes red for a<br>
>> couple seconds, then takes back its previous color.<br>
>><br>
>> I've searched all my init files for anything related to "cursor", and<br>
>> I don't find anything.<br>
>><br>
>> I did another experience though: if I don't load evil, then the cursor<br>
>> color change sticks. So I'm wondering if this might not be an evil<br>
>> related issue.<br>
><br>
> Can it be that you don't set `evil-default-cursor' to your function and<br>
> do something else?<br>
><br>
> That way evil resets the cursor to `evil-{emacs,normal,...}-state-cursor'<br>
> or `evil-default-cursor'.<br>
><br>
> So please post your related config.<br>
<br>
</div></div>I managed to make it work by manually setting the colors (using the suggested functions):<br>
<br>
;; Cursor colors<br>
(setq evil-emacs-state-cursor '("sienna" box))<br>
(setq evil-insert-state-cursor '("dark orange" bar))<br>
(setq evil-visual-state-cursor '("black" hollow))<br>
<br>
What I was not able was to use the generic code you sent. But I'm happy with this version.<br>
<br>
Thanks,<br>
<font color="#888888"><br>
Alan<br>
</font><div><div></div><div class="h5">_______________________________________________<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>
</div></div></blockquote></div><br></div></div>