[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#24153: 25.1; Feature request: per-buffer cursor-color variable
From: |
Clément Pit--Claudel |
Subject: |
bug#24153: 25.1; Feature request: per-buffer cursor-color variable |
Date: |
Thu, 4 Aug 2016 22:49:18 -0400 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 |
On 2016-08-04 21:21, npostavs@users.sourceforge.net wrote:
> Perhaps using ‘buffer-list-update-hook’ instead of advising
> `select-window' would help?
Hmmm. I don't think that would work.
Assume there are two windows, one showing a buffer in evil's normal editing
mode, and one showing a buffer in evil's edit mode. If the user has configured
evil to show the normal-mode cursor in green and the insert-mode cursor in
purple, then evil needs to change the cursor color every time the user switches
between these two windows, and (I don't think that) buffer-list-update-hook
won't be sufficient for that.
Cheers,
Clément.
signature.asc
Description: OpenPGP digital signature