GNU bug report logs - #77224
[PATCH] New minor mode 'cursor-indicators-mode'

Previous Next

Package: emacs;

Reported by: Elijah Gabe Pérez <eg642616 <at> gmail.com>

Date: Sun, 23 Mar 2025 22:59:03 UTC

Severity: normal

Tags: patch

Full log


View this message in rfc822 format

From: Juri Linkov <juri <at> linkov.net>
To: Daniel Mendler <mail <at> daniel-mendler.de>
Cc: 77224 <at> debbugs.gnu.org, Eli Zaretskii <eliz <at> gnu.org>, eg642616 <at> gmail.com
Subject: bug#77224: [PATCH] New minor mode 'cursor-indicators-mode'
Date: Thu, 27 Mar 2025 19:45:56 +0200
> I think Stefan and Juri should chime in with their experience about
> this, since as I've seen, they both want to replace some custom cursor
> code with the new mode in their configuration.

I tried the patch with 'run-with-idle-timer',
and even the delay 0.1 is noticeable and causes
the feeling that Emacs became sluggish
and can't update the cursor immediately.

So I'd prefer to use 'post-command-hook' that updates
the cursor immediately.  I already used this
for many years, and there were no problems.

As for adding more specific hooks, this is not simple to do
since the cursor color depends on the current buffer and
should be updated every time after switching to another buffer.
And even with adding it to the display-buffer hook
the complexity will explode.




This bug report was last modified 64 days ago.

Previous Next


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