From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Richard M. Stallman" Newsgroups: gmane.emacs.devel Subject: Re: Setting cursor-type does not trigger redisplay of cursor Date: Wed, 09 Nov 2005 21:09:56 -0500 Message-ID: References: <87mzkpbs9v.fsf@xemacs.org> <874q6wn313.fsf@jurta.org> <877jbrdtfc.fsf@xemacs.org> <87vez91uc7.fsf@xemacs.org> Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: sea.gmane.org 1131588859 23331 80.91.229.2 (10 Nov 2005 02:14:19 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 10 Nov 2005 02:14:19 +0000 (UTC) Cc: hniksic@xemacs.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Nov 10 03:14:09 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Ea1vy-00049v-3E for ged-emacs-devel@m.gmane.org; Thu, 10 Nov 2005 03:13:02 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ea1vw-0001A9-Bt for ged-emacs-devel@m.gmane.org; Wed, 09 Nov 2005 21:13:00 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ea1sz-0007zp-Nf for emacs-devel@gnu.org; Wed, 09 Nov 2005 21:09:57 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ea1sz-0007zV-4p for emacs-devel@gnu.org; Wed, 09 Nov 2005 21:09:57 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ea1sy-0007zN-T5 for emacs-devel@gnu.org; Wed, 09 Nov 2005 21:09:57 -0500 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Ea1sy-0000sq-RE for emacs-devel@gnu.org; Wed, 09 Nov 2005 21:09:56 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1Ea1sy-0004sb-51; Wed, 09 Nov 2005 21:09:56 -0500 Original-To: storm@cua.dk (Kim F. Storm) In-reply-to: (storm@cua.dk) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:45658 Archived-At: 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.