From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: storm@cua.dk (Kim F. Storm) Newsgroups: gmane.emacs.devel Subject: Re: Mouse highlighting occurs only after movements Date: 27 Oct 2002 01:16:00 +0200 Sender: emacs-devel-admin@gnu.org Message-ID: <5x1y6cdc5r.fsf@kfs2.cua.dk> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035670615 29447 80.91.224.249 (26 Oct 2002 22:16:55 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sat, 26 Oct 2002 22:16:55 +0000 (UTC) Cc: David.Kastrup@t-online.de, emacs-devel@gnu.org, gerd@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 185ZEj-0007ep-00 for ; Sun, 27 Oct 2002 00:16:53 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 185ZI5-0004hi-00 for ; Sun, 27 Oct 2002 00:20:21 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 185ZF7-0006x1-00; Sat, 26 Oct 2002 18:17:17 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 185ZE3-0005VG-00 for emacs-devel@gnu.org; Sat, 26 Oct 2002 18:16:11 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 185ZDn-0005GY-00 for emacs-devel@gnu.org; Sat, 26 Oct 2002 18:16:10 -0400 Original-Received: from mail.filanet.dk ([195.215.206.179]) by monty-python.gnu.org with esmtp (Exim 4.10) id 185ZDm-0005GP-00; Sat, 26 Oct 2002 18:15:55 -0400 Original-Received: from kfs2.cua.dk.cua.dk (unknown [10.1.82.3]) by mail.filanet.dk (Postfix) with SMTP id E46C97C018; Sat, 26 Oct 2002 22:15:52 +0000 (GMT) Original-To: rms@gnu.org In-Reply-To: Original-Lines: 39 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:8826 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:8826 Richard Stallman writes: > Had this in Gnus: if the mouse pointer is in a screen position where > mouse highlighting would occur when the Gnus Summary buffer gets > updated after a Gnus command, after the update the line which happened > to pop up with the mouse highlit area right under the mouse pointer is > not getting the mouse highlighting (only after the mouse pointer > moves). > > I seem to recall adding a feature like that. > People asked for it. Yes, I changed it so that setting `mouse-highlight' to 1 causes the mouse highlight to be shown only after actually moving the mouse. > > The crazy thing is that if the cursor is blinking in the > should-be-highlighted-but-is-not-yet area, it is blinking in green, > while the rest of the line still looks ordinary B&W. > > I wonder if the code that redisplays the cursor checks the properties > rather than the status of mouse highlighting. Can someone check that? It seems that if you place the mouse over a mouse sensitive area (which then gets highlighted), you then move the cursor (so the highlight disappears), and then moves the cursor into the mouse sensitive area, the characters that you move over gets highlighed with the mouse-highlight face. The blinking cursor anomaly is a special case of this... I don't think it a big issue though; it only happens when the cursor is moved with the keyboard into a mouse-sensitive area which the mouse happens to be hoovering over. Anyway, it is definitely an error in my original implementation -- I'll see if I can find a suitable fix... -- Kim F. Storm http://www.cua.dk