all messages for Emacs-related lists mirrored at yhetil.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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.