emacs-devel
[Top][All Lists]
Advanced

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

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


From: Thien-Thi Nguyen
Subject: Re: Power: blink-cursor-mode is a pig
Date: Fri, 30 Dec 2011 14:57:44 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux)

() Daniel Colascione <address@hidden>
() Thu, 29 Dec 2011 15:54:50 -0800

   Is there an easier way of stopping the blink-cursor timer than plumbing
   new events through the Emacs core, or turning blink-cursor off?

I don't think so.

Why don't you try adding a ‘focus-lost’ event?

Another (higher-level) approach is to make Emacs recognize
a "go into powersave mode" message (via dbus or whatever).
Then, ‘blink-cursor-mode’ can DTRT w/ the provided hook.

Or perhaps you can trigger on the ‘iconify-frame’ event,
but you would need to iconify Emacs for that.  This would
work well w/ ratpoison, for example.



reply via email to

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