GNU bug report logs - #20285
25.0.50; blink-cursor-mode sometimes stops blinking

Previous Next

Package: emacs;

Reported by: Tassilo Horn <tsdh <at> gnu.org>

Date: Thu, 9 Apr 2015 14:52:02 UTC

Severity: minor

Tags: moreinfo

Found in version 25.0.50

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Tassilo Horn <tsdh <at> gnu.org>
Cc: 20285 <at> debbugs.gnu.org
Subject: Re: bug#20285: 25.0.50; blink-cursor-mode sometimes stops blinking
Date: Fri, 10 Apr 2015 20:32:33 +0300
> From: Tassilo Horn <tsdh <at> gnu.org>
> Cc: 20285 <at> debbugs.gnu.org
> Date: Fri, 10 Apr 2015 16:13:44 +0200
> 
> > Maybe we should have a mechanism to force redisplay once in a while
> > even if Emacs has something to do, and blink-cursor-mode could then
> > activate that mechanism.
> 
> I can't read your brain but wouldn't it be possible (but unlikely) that
> this mechanism always forces a redisplay when the cursor is in the
> invisible state?

Not if the time interval is chosen as to make the probability of this
low enough.

> What I can imagine is `redisplay' having a second optional argument SECS
> which would trigger a redisplay only if there hasn't been one in the
> last SECS seconds.  Then `blink-cursor-timer-function' could do
> 
>   (internal-show-cursor nil (not (internal-show-cursor-p)))
>   (when (internal-show-cursor-p)
>     (redisplay 'force 2))
> 
> so that toggling the cursor to visible again forces a redisplay every 2
> seconds.  Then, the worst situation that can occur is a cycle of cursor
> invisible for 2 seconds, cursor visible for 0.5 seconds.

The interval should not be an integral multiple of 0.5 sec.




This bug report was last modified 3 years and 76 days ago.

Previous Next


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