[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Power: blink-cursor-mode is a pig

From: Chong Yidong
Subject: Re: Power: blink-cursor-mode is a pig
Date: Sun, 01 Jan 2012 02:04:30 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux)

Daniel Colascione <address@hidden> writes:

> blink-cursor-mode uses an idle timer to activate a regular timer that
> blinks the cursor every 500ms.  While an Emacs frame has focus, we want
> this timer to run so that we can make the cursor blink.  The problem is
> that although the cursor stops blinking when Emacs loses focus, the
> timer keeps running because Emacs has no idea it lost focus and doesn't
> know it can turn off the timer.  The unnecessary Emacs wakeups caused by
> this timer waste power.

On the Gnome terminal, the cursor stops blinking after ten blinks
(edits, X window selection, and cursor motion cause the blinking to
resume).  I think this idea is a reasonable one for us copy, and it
would eliminate the power wasting problem.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]