[Top][All Lists]

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

Re: change cursor type when idle

From: Luc Teirlinck
Subject: Re: change cursor type when idle
Date: Mon, 28 Aug 2006 20:18:22 -0500 (CDT)

Kim Storm wrote:

   Here is a version that does this correctly.

>From looking at your code, unless I missed something, it seems like
your new feature would be turned on _by default_.  If so, this would
be unacceptable.

If a user has set blink-cursor-mode to nil, then no code should
override this and make the cursor blink anyway after a few seconds
idle time.  Forcing the user to customize more than one variable to
make the cursor stop blinking would be user harassment.  Similarly,
if the user changed the cursor type, no code should override that by
default behind the user's back either.

   If people just wants the cursor type to change after, say, 3 seconds, but
   don't want a blinking cursor, do:

   (setq cursor-type 'bar
         blink-cursor-delay 3.0
         blink-cursor-idle-cursor-delay blink-cursor-delay
         blink-cursor-interval 10e7)

Forcing the user to customize no less than four variables to achieve
something this simple does not seem good design to me.



reply via email to

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