From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jason Rumney Newsgroups: gmane.emacs.devel Subject: Re: [hober0@gmail.com: Re: mode-line redisplay bug] Date: Mon, 10 Oct 2005 20:40:18 +0100 Message-ID: References: <46247494-627E-4DE6-892E-57AAF7C70E1C@swipnet.se> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1128973365 756 80.91.229.2 (10 Oct 2005 19:42:45 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 10 Oct 2005 19:42:45 +0000 (UTC) Cc: rms@gnu.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Oct 10 21:42:41 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EP3X8-0001Qd-2J for ged-emacs-devel@m.gmane.org; Mon, 10 Oct 2005 21:42:02 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EP3X7-00066V-Il for ged-emacs-devel@m.gmane.org; Mon, 10 Oct 2005 15:42:01 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EP3Wu-00066B-Gt for emacs-devel@gnu.org; Mon, 10 Oct 2005 15:41:48 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EP3Wt-00065v-Sm for emacs-devel@gnu.org; Mon, 10 Oct 2005 15:41:48 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EP3Wt-00065s-Ol for emacs-devel@gnu.org; Mon, 10 Oct 2005 15:41:47 -0400 Original-Received: from [194.106.33.237] (helo=outmail.freedom2surf.net) by monty-python.gnu.org with esmtp (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1EP3Wt-0004JJ-0g; Mon, 10 Oct 2005 15:41:47 -0400 Original-Received: from wanchan.jasonrumney.net (i-83-67-23-108.freedom2surf.net [83.67.23.108]) by outmail.freedom2surf.net (8.12.10/8.12.10) with ESMTP id j9AJfich032169; Mon, 10 Oct 2005 20:41:44 +0100 Original-Received: from TONKOTSU-RAMEN (tonkotsu-ramen.jasonrumney.net [10.0.0.28]) by wanchan.jasonrumney.net (Postfix) with ESMTP id A78135FB; Mon, 10 Oct 2005 20:41:43 +0100 (BST) Original-To: "Jan D." In-Reply-To: <46247494-627E-4DE6-892E-57AAF7C70E1C@swipnet.se> (Jan D.'s message of "Sun, 9 Oct 2005 08:11:51 +0200") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) 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:43821 Archived-At: "Jan D." writes: > AFAIK co-ordinates on W32 behave the same as on X, so your patch > should be OK. It is easy to confirm anyway. OK, I've installed the patch, but as YAMAMOTO Mitsuharu pointed out, it may not deal with the left fringe width - which might be an explanation for the gx calculation being off by one, and possibly also the explanation for why this patch does work as I expected. As a reminder of what I expected it to fix, when investigating the originally reported bug, I observed a lot of flickering of mouse-highlight area on the modeline when the mouse was held over it. Having investigated a similar problem on Windows, I remembered that I had traced that problem to excessive mouse-move events being generated. I fixed the problem on Windows and had investigated whether the same problem existed on X since the code was the same, but at the time I did not see the flickering so concluded that something was different about X that I did not understand.