[Top][All Lists]

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

Re: blink-cursor-end sometimes fails and disrupts pre-command-hook

From: Chong Yidong
Subject: Re: blink-cursor-end sometimes fails and disrupts pre-command-hook
Date: Sat, 19 Aug 2006 11:16:39 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

"Ken Manheimer" <address@hidden> writes:

> i see now - blink-cursor-start is called by the timer, which sets
> blink-cursor-end on the pre-command-hook, does some cursor visibility
> business, and then reestablishes the blink-cursor-timer.
> seems to me it would be more reliable to set the blink-cursor-timer
> before adding blink-cursor-end to the pre-command-hook!
> i just tried making this change and removing the change from
> blink-cursor-end (by putting revised copies of both functions in my
> emacs rc), and the problem is not happening.  i would suggest going
> with both changes - blink-cursor-end with the condition i suggested
> adding, and blink-cursor-start looking like:

Bingo --- I think that's it.  Something in your customizations must be
causing the run-with-timer call in blink-cursor-start to signal an
error.  One possibility is an invalid `blink-cursor-interval'
variable.  Since blink-cursor-start is run from an (idle) timer,
quitting is disabled.

The question is, why did this surface only with the latest Emacs

reply via email to

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