Thanks Vegard<div><br></div><div>York<br><br><div class="gmail_quote">On Thu, Aug 4, 2011 at 8:40 AM, Vegard Øye <span dir="ltr"><<a href="mailto:vegard_oye@hotmail.com">vegard_oye@hotmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
On 2011-08-03 18:11 +0200, York Zhao wrote:<br>
<div class="im"><br>
> On Wed, Aug 3, 2011 at 10:20 AM, Vegard Øye wrote:<br>
><br>
>> The cursor /type/ (box, hollow, bar, etc.), on the other hand,<br>
>> is fully buffer-local.<br>
><br>
> Then should I be using "setq-default" instead of "setq"?<br>
<br>
</div>The variable `evil-emacs-state-cursor' is not buffer-local, so you<br>
should just use `setq'. The underlying variable which Evil modifies,<br>
`cursor-type', is buffer-local, which is what enables Emacs to<br>
simultaneously display different cursors in buffers that are in<br>
different states.<br>
<br>
This is only an issue because of the `cursor-in-non-selected-windows'<br>
setting. If it is nil, then only one cursor is displayed at any time,<br>
and it doesn't matter if the underlying variables are buffer-local<br>
or not.<br>
<br>
Unfortunately, it is not possible to change the cursor color when<br>
running Emacs in the terminal (which is where it would be really<br>
useful, since the cursor type is always a box). Or rather, according<br>
to my tests, it /is/ possible to change both the cursor type and color<br>
when running Emacs in a terminal on Windows, but it is impossible to<br>
change either when running in a terminal -- any terminal -- on<br>
Ubuntu Linux. :/<br>
<div class="im"><br>
> By the way, after a few days of using Evil I'm pretty happy with it.<br>
> Evil appears to be "cleaner" and more elegant designed than<br>
> Viper+Vimpulse, thanks a lot to your wonderful work Vegard, Frank,<br>
> Nikolai and all the contributors.<br>
<br>
</div>You're welcome!<br>
<font color="#888888"><br>
--<br>
</font><div><div></div><div class="h5">Vegard<br>
<br>
_______________________________________________<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>