unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Richard M. Stallman" <rms@gnu.org>
Cc: hniksic@xemacs.org, emacs-devel@gnu.org
Subject: Re: Setting cursor-type does not trigger redisplay of cursor
Date: Wed, 09 Nov 2005 21:09:56 -0500	[thread overview]
Message-ID: <E1Ea1sy-0004sb-51@fencepost.gnu.org> (raw)
In-Reply-To: <m3y83xiz1q.fsf@kfs-l.imdomain.dk> (storm@cua.dk)

    The problem is that the sit-for runs redisplay before the
    post-command-hook, so the cursor type is displayed based on the
    previous buffer position rather than the current position when moving
    the cursor upwards.

Isn't there another redisplay after running post-command-hook?
How come it doesn't show the new cursor type?

Isn't that a bug?

Anyway, the other problem cases just reported are certainly bugs.
The right thing to do is to make every redisplay detect when this
has changed, and DTRT if so.  It won't cost much time either to
implement or when running.  We should not even consider suggesting
a work-around for a bug we can fix.

  parent reply	other threads:[~2005-11-10  2:09 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <87mzkpbs9v.fsf@xemacs.org>
     [not found] ` <874q6wn313.fsf@jurta.org>
     [not found]   ` <E1EXFq5-0001EP-AH@fencepost.gnu.org>
     [not found]     ` <877jbrdtfc.fsf@xemacs.org>
     [not found]       ` <E1EXfUF-0007cr-DS@fencepost.gnu.org>
     [not found]         ` <87vez91uc7.fsf@xemacs.org>
2005-11-05 23:43           ` Setting cursor-type does not trigger redisplay of cursor Richard M. Stallman
2005-11-09 16:08             ` Kim F. Storm
2005-11-09 17:59               ` Juri Linkov
2005-11-10  2:09               ` Richard M. Stallman [this message]
2005-11-10  8:30                 ` Kim F. Storm
2005-11-10 20:49                   ` Richard M. Stallman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E1Ea1sy-0004sb-51@fencepost.gnu.org \
    --to=rms@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=hniksic@xemacs.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).