all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Clément Pit--Claudel" <clement.pit@gmail.com>
To: 24153@debbugs.gnu.org, npostavs@users.sourceforge.net
Subject: bug#24153: 25.1; Feature request: per-buffer cursor-color variable
Date: Thu, 4 Aug 2016 22:49:18 -0400	[thread overview]
Message-ID: <009b9bb5-fef9-127a-a2df-fc037b29f636@gmail.com> (raw)
In-Reply-To: <87d1lo9fjm.fsf@users.sourceforge.net>


[-- Attachment #1.1: Type: text/plain, Size: 642 bytes --]

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.


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

  parent reply	other threads:[~2016-08-05  2:49 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
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=009b9bb5-fef9-127a-a2df-fc037b29f636@gmail.com \
    --to=clement.pit@gmail.com \
    --cc=24153@debbugs.gnu.org \
    --cc=npostavs@users.sourceforge.net \
    /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.