emacs-devel
[Top][All Lists]
Advanced

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

Re: Blink cursor changes, possible W32 breakage.


From: Eli Zaretskii
Subject: Re: Blink cursor changes, possible W32 breakage.
Date: Wed, 17 Jul 2013 07:04:33 +0300

> From: Jan Djärv <address@hidden>
> Date: Tue, 16 Jul 2013 23:12:49 +0200
> Cc: address@hidden
> 
> > Sorry, I don't understand: w32 already implements the equivalent of
> > FOCUS_OUT_EVENT, but why is that relevant?  When no frame has focus,
> > Emacs on Windows doesn't blink the cursors already.
> 
> Yes, but timers are still running, so Emacs are never swapped out, and drains 
> battery on laptops (yes it makes a difference).  The FOCUS_OUT_EVENT turns 
> timers off, and FOCUS_IN_EVENT turns them back on, if needed.  This was 
> discussed a long time ago, starting here:
> http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00640.html.

If you only stop the timers that blink the cursor, then this isn't
going to fix the problem.  There's any number of timers active at any
given time in any non-trivial Emacs session.  You need to stop them
all, or the battery drain will continue.




reply via email to

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