From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#50660: 28.0.50; Text artifacting when the cursor moves over text under mouse face that originally displayed a box Date: Thu, 14 Oct 2021 15:20:04 +0300 Message-ID: <83fst3lrwr.fsf@gnu.org> References: <87czp6ysw7.fsf.ref@yahoo.com> <83zgs71su7.fsf@gnu.org> <87k0jb4k5l.fsf@yahoo.com> <83sfxz1pw0.fsf@gnu.org> <87o88m14g0.fsf@yahoo.com> <83sfxyxeer.fsf@gnu.org> <87h7ee1252.fsf@yahoo.com> <83pmt2xcox.fsf@gnu.org> <87lf3myhlb.fsf@yahoo.com> <87a6jzvnpq.fsf@yahoo.com> <83o88fom1k.fsf@gnu.org> <871r5bvex8.fsf@yahoo.com> <83v92mkzft.fsf@gnu.org> <87k0j0rwo3.fsf@yahoo.com> <838rzbddfa.fsf@gnu.org> <878rzbd1w5.fsf@yahoo.com> <83wnmgkmok.fsf@gnu.org> <878ryvnain.fsf@yahoo.com> <83mtnbltyp.fsf@gnu.org> <87mtnblt35.fsf@yahoo.com> <83ilxzlsck.fsf@gnu.org> <877defls2w.fsf@yahoo.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13975"; mail-complaints-to="usenet@ciao.gmane.io" Cc: larsi@gnus.org, 50660@debbugs.gnu.org To: Po Lu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Oct 14 14:36:27 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mazyE-0003QX-J5 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 14 Oct 2021 14:36:26 +0200 Original-Received: from localhost ([::1]:38392 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mazyD-0000AE-Ay for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 14 Oct 2021 08:36:25 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47280) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mazjK-0006Ma-GP for bug-gnu-emacs@gnu.org; Thu, 14 Oct 2021 08:21:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:51594) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mazjK-00019A-23 for bug-gnu-emacs@gnu.org; Thu, 14 Oct 2021 08:21:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mazjJ-0008GI-Uw for bug-gnu-emacs@gnu.org; Thu, 14 Oct 2021 08:21:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 14 Oct 2021 12:21:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50660 X-GNU-PR-Package: emacs Original-Received: via spool by 50660-submit@debbugs.gnu.org id=B50660.163421405631726 (code B ref 50660); Thu, 14 Oct 2021 12:21:01 +0000 Original-Received: (at 50660) by debbugs.gnu.org; 14 Oct 2021 12:20:56 +0000 Original-Received: from localhost ([127.0.0.1]:34907 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mazjE-0008Fe-DA for submit@debbugs.gnu.org; Thu, 14 Oct 2021 08:20:56 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:45294) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mazj9-0008FK-9w for 50660@debbugs.gnu.org; Thu, 14 Oct 2021 08:20:55 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:44572) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mazj0-0000uW-9Z; Thu, 14 Oct 2021 08:20:45 -0400 Original-Received: from [87.69.77.57] (port=4825 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1maziR-0006r4-FZ; Thu, 14 Oct 2021 08:20:33 -0400 In-Reply-To: <877defls2w.fsf@yahoo.com> (message from Po Lu on Thu, 14 Oct 2021 20:16:23 +0800) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:217220 Archived-At: > From: Po Lu > Cc: larsi@gnus.org, 50660@debbugs.gnu.org > Date: Thu, 14 Oct 2021 20:16:23 +0800 > > Eli Zaretskii writes: > > > We may be miscommunicating. My point is that the conditions on which > > you base the face selection are known in draw_glyphs, so why delay > > that to when xterm.c is called to actually draw the glyph string? Why > > not test this same condition in draw_glyphs (or some other suitable > > place in xdisp.c) and fix the glyph string's face accordingly? Am I > > missing something? > > OK, I think I understand what you mean now. But is it really correct to > put that in draw_glyphs, and not say, fill_XXX_glyph_string? If this affects the glyph string, then fill_XXX_glyph_string is a better place, yes. > And even then, what about cases where a non-ASCII face is used? > Does the mouse face in the Mouse_HLInfo take that into account? I'm not sure what issue you have in mind. Why should it matter if the glyph string's face is ASCII or non-ASCII? Do you see any problems related to the box face that happen when text is ASCII, but not when it's non-ASCII, or vice versa?