unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#24153: 25.1; Feature request: per-buffer cursor-color variable
@ 2016-08-04 15:08 Tej Chajed
  2016-08-04 17:13 ` Eli Zaretskii
  2016-08-05  1:21 ` npostavs
  0 siblings, 2 replies; 9+ messages in thread
From: Tej Chajed @ 2016-08-04 15:08 UTC (permalink / raw)
  To: 24153

Currently there's a per-buffer cursor-type variable that is respected
per window and a single cursor-color variable that applies to the
entire frame.

Evil emulates a per-window cursor color in order to have the cursor
color of the active window reflect the buffer state (eg,
distinguishing insert and normal mode). It does so by advising
set-window and calling set-cursor-color if necessary; this can lead to
slowdowns when code calls set-window repeatedly (eg, through
with-selected-window).

It seems like the right way for evil to manage the cursor color is to
have an analogous per-buffer cursor-color variable natively provided
by emacs. Is this a doable feature?

Thanks!
Tej





^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2016-08-06  2:10 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-04 15:08 bug#24153: 25.1; Feature request: per-buffer cursor-color variable Tej Chajed
2016-08-04 17:13 ` Eli Zaretskii
2016-08-05  1:21 ` npostavs
2016-08-05  2:17   ` Tej Chajed
2016-08-05 16:37     ` martin rudalics
2016-08-06  2:10     ` Clément Pit--Claudel
2016-08-05  2:49   ` Clément Pit--Claudel
2016-08-05 16:37     ` martin rudalics
2016-08-06  1:59       ` Clément Pit--Claudel

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).