[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Power: blink-cursor-mode is a pig
From: |
YAMAMOTO Mitsuharu |
Subject: |
Re: Power: blink-cursor-mode is a pig |
Date: |
Sat, 31 Dec 2011 12:47:19 +0900 |
On 2011/12/31, at 0:35, Eli Zaretskii wrote:
>> What Daniel is trying to would be to make this timeout 100k sec
>> while there are no focused frames by suspending the timer for
>> blink-cursor-mode.
>
> And I'm saying we can do that on the C level, because that is the
> level where the timeout for `select' is computed.
I didn't say anything about a particular way of solving this
problem. I just explained why turning off the timers avoid
wasting power because you said, "Turning off the timer does not
prevent the above-mentioned loop from running. So how would this
avoid wasting power?"
BTW, stopping/suspending timers does not avoid Emacs to wake up
in a short period on some ports, depending on how its `select'
emulation is implemented. At least, this applies to the NS port
because it does periodic polling inside its `select'
implementation when there are some subprocesses or network
connections. The Mac port does not have this drawback. I'm not
sure about the W32 port.
YAMAMOTO Mitsuharu
address@hidden
- Re: Power: blink-cursor-mode is a pig, (continued)
- Re: Power: blink-cursor-mode is a pig, Eli Zaretskii, 2011/12/30
- Re: Power: blink-cursor-mode is a pig, Lennart Borgman, 2011/12/30
- Re: Power: blink-cursor-mode is a pig, Daniel Colascione, 2011/12/30
- Re: Power: blink-cursor-mode is a pig, Eli Zaretskii, 2011/12/30
- Re: Power: blink-cursor-mode is a pig, Daniel Colascione, 2011/12/30
- Re: Power: blink-cursor-mode is a pig, Daniel Colascione, 2011/12/30
- Re: Power: blink-cursor-mode is a pig, Eli Zaretskii, 2011/12/30
- Re: Power: blink-cursor-mode is a pig, 山本 光晴, 2011/12/30
- Re: Power: blink-cursor-mode is a pig, Eli Zaretskii, 2011/12/30
- Re: Power: blink-cursor-mode is a pig,
YAMAMOTO Mitsuharu <=
- Re: Power: blink-cursor-mode is a pig, Eli Zaretskii, 2011/12/31
- Re: Power: blink-cursor-mode is a pig, Daniel Colascione, 2011/12/31
- Re: Power: blink-cursor-mode is a pig, YAMAMOTO Mitsuharu, 2011/12/31
- Re: Power: blink-cursor-mode is a pig, Jan Djärv, 2011/12/31
- Re: Power: blink-cursor-mode is a pig, Eli Zaretskii, 2011/12/31
- Re: Power: blink-cursor-mode is a pig, David De La Harpe Golden, 2011/12/30
- Re: Power: blink-cursor-mode is a pig, Thien-Thi Nguyen, 2011/12/30
- Re: Power: blink-cursor-mode is a pig, Chong Yidong, 2011/12/31