From: Tej Chajed <tchajed@mit.edu>
To: 24153@debbugs.gnu.org
Subject: bug#24153: 25.1; Feature request: per-buffer cursor-color variable
Date: Thu, 4 Aug 2016 11:08:12 -0400 [thread overview]
Message-ID: <CAFCzHYb4ox1PRK9TWFTpvb_BaiS9sRiDSPTBHSXZbdomv0xmGg@mail.gmail.com> (raw)
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
next reply other threads:[~2016-08-04 15:08 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-04 15:08 Tej Chajed [this message]
2016-08-04 17:13 ` bug#24153: 25.1; Feature request: per-buffer cursor-color variable 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAFCzHYb4ox1PRK9TWFTpvb_BaiS9sRiDSPTBHSXZbdomv0xmGg@mail.gmail.com \
--to=tchajed@mit.edu \
--cc=24153@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.