From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Po Lu via "Bug reports for GNU Emacs, the Swiss army knife of text editors" 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: Sat, 16 Oct 2021 15:13:18 +0800 Message-ID: <87lf2tfnn5.fsf@yahoo.com> References: <87czp6ysw7.fsf.ref@yahoo.com> <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> <83fst3lrwr.fsf@gnu.org> <87o87rkczt.fsf@yahoo.com> <83czo7lqrl.fsf@gnu.org> <87h7djkayk.fsf@yahoo.com> <83bl3rli53.fsf@gnu.org> <871r4njcum.fsf@yahoo.com> <83v91yiesj.fsf@gnu.org> <8735p1izzi.fsf@yahoo.com> <83k0idijq9.fsf@gnu.org> <87lf2th4ur.fsf@yahoo.com> <83fst1iivf.fsf@gnu.org> <87y26tfp6p.fsf@yahoo.com> <83ee8lihd9.fsf@gnu.org> Reply-To: Po Lu Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24593"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: larsi@gnus.org, 50660@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Oct 16 09:14:14 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 1mbdtV-0006Di-L3 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 16 Oct 2021 09:14:13 +0200 Original-Received: from localhost ([::1]:46586 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mbdtT-0000yd-G6 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 16 Oct 2021 03:14:11 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34766) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mbdtK-0000yF-W3 for bug-gnu-emacs@gnu.org; Sat, 16 Oct 2021 03:14:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:57541) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mbdtK-0004Sz-NY for bug-gnu-emacs@gnu.org; Sat, 16 Oct 2021 03:14:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mbdtK-0003wU-El for bug-gnu-emacs@gnu.org; Sat, 16 Oct 2021 03:14:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Po Lu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 16 Oct 2021 07:14:02 +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.163436842215118 (code B ref 50660); Sat, 16 Oct 2021 07:14:02 +0000 Original-Received: (at 50660) by debbugs.gnu.org; 16 Oct 2021 07:13:42 +0000 Original-Received: from localhost ([127.0.0.1]:40854 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mbdsz-0003vj-4K for submit@debbugs.gnu.org; Sat, 16 Oct 2021 03:13:42 -0400 Original-Received: from sonic310-23.consmr.mail.ne1.yahoo.com ([66.163.186.204]:42258) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mbdsu-0003vQ-6J for 50660@debbugs.gnu.org; Sat, 16 Oct 2021 03:13:40 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1634368410; bh=1G8lf0qhLLF7ybKeQMSyNK/dBokYPjsQ6rPdGnJxFpA=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=niQjWL2sK3O9puDMDgpeCPSiDOhWRcLkZF1Hsuv+vMe16KvgiETZrZaTT4hD26frQZ4fbhUtNnInbGjNlvacXuN0C8xwlpV+ouXgTp4rbc4SPkTgx5TF/g99Hv6MOBi57RpML4pbqe90IfBvpxPnRG+OkXS5/fWaAn3iFX8Fp0ED7PcBcoEXRzdWRE9FDBJ0NRDz7uQSoWjGnjpClWhbrq2lIklMdccuJYey48CpS8JXrjyGcI0sLQmSUthF14h3i0odrEeFcHI+2G0Rx6sUcYAhC/FaSSkc5ubZOaDW24jt51q4GIzF1whUTy/ZuvbfW1ZbyX9Qd5fEzRfIHPf3hw== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1634368410; bh=lTunqyzA8mXmHCpwwBjkDp+StgTrppwl/05PioOJIRY=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=eEunHvZ5kz5+b856OkDQ1gt1wacHat0z1HsP4BQ1W35NUGDSJdpnrqlB2eB7DWNJLYLweufd0cku+sEltQDNTdnEz1o+Mixn5urv7SGu5WHNLmUSW/yw2UG+IYSVjOcx7Be05dJHDVc2BmYHleRTFejM7GfNhXYR3CVWoN8Ta1SZs2iLcWZcS0w75UZE7ASCCABacOsh6RDruESMwL8VfD65vSPpqITp4YE2HbtE2vJvCyS23fCYo0qfeRXMafoPfzDbQwlHdt/UUnNckjcIXUSgeUMYPkxCjtd/4Ekdzaz8182WlfM+RBwqOYelbwya9e388BZL0LET+qNu1+GQTQ== X-YMail-OSG: nDekFPMVM1lgf8udyqZLGPi861eW6ly84Z5e8NtvfORL8ysERog2gNfYfaARi4J Nk0ImpIPyBo0JCuoRzEjC9yFDrPneHqL_NEMDLlFeXza2kJPI9ku1btFhY6silR9AHswJxPLgtJQ HtuinpAHUpQvK2gqGgwag9a1yUGUgWhP8RBUxt4WFqgJbqTpZHxFIXY6AT_ho6PVqmUWD5qSicr. 3U98gy4_SZp2gKaHkf4biYPQbHPA2WgBXlPTKnkk4wGeETVk7UyQXJSwjhMBQ3_WoI8Y8JN.CWsa qw9t94eWfbfHvSgsjOOCx9.h3cvnFSToYAcIH3xHyJJvv2KdV8bA39F10YmkXeaKu86FPNQ3NIV_ 4TRn_SoeqALzzdhzgKhj47BogB8rkUAobvzX3ZhUJUsdSX4G8yHD3npIAKZfOigxqxE51kZTIfHE T5kkm.elNB3WMxcgkbBT1uMJL5XHAVsirLaYittval2s_nue7Udij0uEceVo_4tm0Ia70B6jz1B4 h5vbLoyzN9O_4ZMHR4VNUpWWfTcccYB.EBSeqSJCv9UbErqOZmgDRc1.e8c.vaUJlJZCWzSa7oMD LWuSE6.PgEFudyCKGWPkByl_Sbm8Lt0HxBUfRIw580tQOcIEutIBr5m59JtbwrJ1mkvQ7F1IWe_9 J9fFO1R9mCP2sLK_.dIr0cg3yZj4RZhN5SF93xo.xvKx26PbNCLZxyZ4dlwndJixcBwXaBWC3esi SY76v1lTikbc59oWuKFfZejjCHEU9MIrOq2WdlKh73.VncfkFQCRnpWVJZSnUc.ih3tPG7Ymefs8 WBEAPrCIRXoFnyhbj1apL5mxWPupf2HWR5zBTaOcR6 X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic310.consmr.mail.ne1.yahoo.com with HTTP; Sat, 16 Oct 2021 07:13:30 +0000 Original-Received: by kubenode512.mail-prod1.omega.sg3.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 3cbecdceb4da541bca71c1aba1425805; Sat, 16 Oct 2021 07:13:27 +0000 (UTC) In-Reply-To: <83ee8lihd9.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 16 Oct 2021 10:00:34 +0300") X-Mailer: WebService/1.1.19116 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo 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:217349 Archived-At: Eli Zaretskii writes: > I don't understand: if the mouse-face changes the font, you want to > ignore that? why does that make sense? > > And mouse-face is defined for ASCII font only anyway, which is why the > code calls FACE_FOR_CHAR. You want to ignore the font that this call > produces? Yes, precisely. > A face includes the font, so I don't understand why you want to > separate them, and how. > > As for the old code: are you sure that's not a bug, part of the same > subtle issue you are trying to fix? I'm reasonably sure. Under the old code in *term, moving the mouse over the entry for `glyphless-char' in list-faces-display results in nothing, while under the new code (where s->font == s->face->font even under mouse face) the section under mouse face overlaps with its surroundings and is otherwise glitchy, because the mouse face's font is larger than the original face's font.