Hrvoje Niksic | 3 Nov 2005 19:04
Picon
Favicon

Re: Setting cursor-type does not trigger redisplay of cursor

"Richard M. Stallman" <rms <at> gnu.org> writes:

>     Note that my original bug report does not request a set-cursor-type.
>     I would just like Emacs to automatically "notice" a change (of any
>     kind) to cursor-type at the next redisplay.
>
> Right now, what is it that you need to do to make Emacs really
> display the new cursor type?

In Emacs 21, I need to call (sit-for 0) to force a redisplay.  In
Emacs 22 CVS, I am told, that doesn't work.

Both apply to setting cursor-type in post-command-hook, not to setting
it interactively with `M-: (setq cursor-type ...) RET'.

Gmane