GNU bug report logs - #24153
25.1; Feature request: per-buffer cursor-color variable

Previous Next

Package: emacs;

Reported by: Tej Chajed <tchajed <at> mit.edu>

Date: Thu, 4 Aug 2016 15:28:02 UTC

Severity: wishlist

Found in version 25.1

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Tej Chajed <tchajed <at> mit.edu>
To: bug-gnu-emacs <at> gnu.org
Subject: 25.1; Feature request: per-buffer cursor-color variable
Date: Thu, 4 Aug 2016 11:08:12 -0400
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




This bug report was last modified 9 years and 32 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.