From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stephen Berman Newsgroups: gmane.emacs.devel Subject: Re: Mouse highlighting and fonts Date: Tue, 27 May 2008 15:24:39 +0200 Message-ID: <87d4n7j2w8.fsf@escher.local.home> References: <878wy1giqs.fsf@stupidchicken.com> <87tzgog5kd.fsf@stupidchicken.com> <87od6spgu7.fsf@stupidchicken.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1211894775 32536 80.91.229.12 (27 May 2008 13:26:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 27 May 2008 13:26:15 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue May 27 15:26:53 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1K0zBR-0005Xo-Ke for ged-emacs-devel@m.gmane.org; Tue, 27 May 2008 15:25:45 +0200 Original-Received: from localhost ([127.0.0.1]:39662 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K0zAg-0000zH-Eu for ged-emacs-devel@m.gmane.org; Tue, 27 May 2008 09:24:58 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K0zAc-0000ym-89 for emacs-devel@gnu.org; Tue, 27 May 2008 09:24:54 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K0zAZ-0000xy-Ie for emacs-devel@gnu.org; Tue, 27 May 2008 09:24:53 -0400 Original-Received: from [199.232.76.173] (port=53088 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K0zAZ-0000xt-7h for emacs-devel@gnu.org; Tue, 27 May 2008 09:24:51 -0400 Original-Received: from main.gmane.org ([80.91.229.2]:40119 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1K0zAY-0001Vi-GV for emacs-devel@gnu.org; Tue, 27 May 2008 09:24:50 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1K0zAU-0003mo-B4 for emacs-devel@gnu.org; Tue, 27 May 2008 13:24:46 +0000 Original-Received: from i5387d0e1.versanet.de ([83.135.208.225]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 27 May 2008 13:24:46 +0000 Original-Received: from Stephen.Berman by i5387d0e1.versanet.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 27 May 2008 13:24:46 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 24 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: i5387d0e1.versanet.de User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) 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:97800 Archived-At: On Mon, 26 May 2008 23:26:56 -0400 Chong Yidong wrote: > Chong Yidong writes: > >> BTW, another mouse-highlighting bug I reported earlier is still present. >> Under certain circumstances, the area to the left and/or right of the >> physical cursor doesn't acquire the proper mouse-face. >> >> This appears to be a long-standing bug, but one that didn't show up >> until the new font code. That's because it arises as follows: when the >> cursor glyph has a nonzero lbearing or rbearing (i.e., it overlaps with >> its neighbors), the neighboring glyphs are redrawn, and this can >> overwrite the mouse-face highlight. See xdisp.c:19934. This didn't >> show up because previously, overlapping glyphs were generally not >> encountered. >> >> I'll try to fix this once I get the time, unless someone else fixes it >> first. > > I've checked in a rough fix into CVS. This fixes the bugs I reported, referenced in this thread. Thanks! Steve Berman