[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Mouse highlighting and fonts
From: |
Stephen Berman |
Subject: |
Re: Mouse highlighting and fonts |
Date: |
Tue, 27 May 2008 15:24:39 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) |
On Mon, 26 May 2008 23:26:56 -0400 Chong Yidong <address@hidden> wrote:
> Chong Yidong <address@hidden> 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