From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stephen Berman Newsgroups: gmane.emacs.bugs Subject: bug#63271: 29.0.90; broken mouse-face Date: Wed, 10 May 2023 11:39:06 +0200 Message-ID: <87y1lw7cg5.fsf@gmx.net> References: <86zg6kuwz5.fsf@mail.linkov.net> <86h6sq3che.fsf@mail.linkov.net> <83y1m2hbp6.fsf@gnu.org> <87fs89k8r0.fsf@yahoo.com> <86fs88xbrx.fsf@mail.linkov.net> <833548dm6y.fsf@gnu.org> <86ednrur9e.fsf@mail.linkov.net> <83y1lyby15.fsf@gnu.org> <86ednq11lv.fsf@mail.linkov.net> <83fs85c366.fsf@gnu.org> <87o7mtvnqr.fsf@gmx.net> <87jzxhvmw2.fsf@gmx.net> <83a5ydbya7.fsf@gnu.org> <87fs85vll4.fsf@gmx.net> <838rdxbu61.fsf@gnu.org> <87bkitvfop.fsf@gmx.net> <87sfc5hdkn.fsf@yahoo.com> <877cthvec9.fsf@gmx.net> <833545bpah.fsf@gnu.org> <87y1lxtvxy.fsf@gmx.net> <87lehxgh1r.fsf@yahoo.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="26454"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Eli Zaretskii , 63271@debbugs.gnu.org, juri@linkov.net To: Po Lu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed May 10 11:40:33 2023 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 1pwgJF-0006eW-11 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 10 May 2023 11:40:33 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pwgIm-0000c9-3s; Wed, 10 May 2023 05:40:04 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pwgIk-0000bO-Hc for bug-gnu-emacs@gnu.org; Wed, 10 May 2023 05:40:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pwgIk-0005fT-8G for bug-gnu-emacs@gnu.org; Wed, 10 May 2023 05:40:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pwgIk-0001gQ-3a for bug-gnu-emacs@gnu.org; Wed, 10 May 2023 05:40:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stephen Berman Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 10 May 2023 09:40:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63271 X-GNU-PR-Package: emacs Original-Received: via spool by 63271-submit@debbugs.gnu.org id=B63271.16837115566402 (code B ref 63271); Wed, 10 May 2023 09:40:02 +0000 Original-Received: (at 63271) by debbugs.gnu.org; 10 May 2023 09:39:16 +0000 Original-Received: from localhost ([127.0.0.1]:45218 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pwgI0-0001fC-I2 for submit@debbugs.gnu.org; Wed, 10 May 2023 05:39:16 -0400 Original-Received: from mout.gmx.net ([212.227.15.18]:38943) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pwgHy-0001el-Ai for 63271@debbugs.gnu.org; Wed, 10 May 2023 05:39:15 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=s31663417; t=1683711546; i=stephen.berman@gmx.net; bh=/04EQQB5gjh4bw6L3gUncNbTWuu14AhOUcqXVpAY5bk=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date; b=P0rvfPcCRBBuDTF7syMlgnklGKauxRhHQNn7pnXaKVR1+2UG+btXEm1Dq3fC96ki/ Sgiv9To1he31SHUlGzTAmYABHMMtxUfLKssnVSdaNNuqQlQ54wI5OhZ/wUWJmepEte AqlGJhex0E3vNxEUTVouf6auNeWSj0UGQmLZPTGu8T70fMOfmGUOft1ADLcC2Rwjla msb2mnaw5rPx2mnPRwUOQTiHQIsbf+Sy7QGRbyzekBSyTBRwrxvOCWwswI3KWhwx/X ULKm9CRfSp6+cJz0JV+xM0h5rnSYDz8OlO7kkBWOIYXxkF24o00Y0Geq2llrjGztpU nzK3J++6F3IBg== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Original-Received: from strobelfs ([89.246.37.223]) by mail.gmx.net (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MVN6j-1po33N2Trj-00SLW1; Wed, 10 May 2023 11:39:06 +0200 In-Reply-To: <87lehxgh1r.fsf@yahoo.com> (Po Lu's message of "Wed, 10 May 2023 08:34:56 +0800") X-Provags-ID: V03:K1:SzJWObFPTJmv6hzu/FMN+vVPRIFVswfB6jQ76mEqqfQlCxFNvIw fDL9jgwz1kOKX2QvVlzDIEZKEUBiyzXV8D/l7KcZO84bY/5sCPbWE/VgwF1LpS4r/MQgEVm +H15Dx8yRYzoyOhnHbeBJenlFaUn6B3Sqp76cV5BO/dptVn4DLTeviQoW6POUo419/9Q+63 5tEH3bweQd8l1m0eEQ0jQ== UI-OutboundReport: notjunk:1;M01:P0:DmzWsto8RlA=;oY+Nbg75E6xMp067iTUVRWSauXU 3E0INg8wNgXY7men8DEcmzaptOSKJMLoD903rpmJ3h9SbOAgYP1FBBHl+4H71Cb6Wsc/grMWS bp1lXBqTdCibVXKRSEl8GZRQFOE5VUTfuHkH1CcImRoHdVRX9YyFXxWucg9NVpQr6JUuQaMIy 4Qmf+Yo2SHB9yv1DV3fSIXr65+dx8o5oYhbqDDavibRmbfcyOzfsxMq1RYj2QFMf3dDEdH9G6 7g9REWiZNJq/B4TPpAfLMimLBczHw8gydN/TL+O+bZZhFR2eTnJXlzYysEOJv8HfpAQ/WtSpR TewEKgRdqNXyD3HOb/dO8IpnPq+8M8GfotYxdt2g4HdcNrbPLwxN/y2WVGvXrmSHSo3lHY5Vr kA51qEYRFrCJysPMZFY6IhNt8uQl0osXUG5biEMPALmi5qWjUXAeUC8FQAbnUSk3ee3MxmZgv bntFq9Xjwpn34PdW3/3owLkc5NDZ8k75t3umaZ9CkV6x/2mWF1BSbAzAi2Lea2vv092NYKc91 wzdGah/8xb2guHJ+v8bQ6yl2EiZRhpslPj6N007itdZerHl0AEcHABAUkEcd2W8CVmwNdRVaI cGHqBCmvO4CVpcC617dQpRgbKS/y2qbFqNZHyBaRVBZi3I+xOMI4dt8Kd0QzevzcbIFz6/NqZ G9T+6DclubW6mcemWCZ9ezL135KK77MmE9UJKQD5MDBzgBTCvSIX568TUqbU/rYuVzN8YZduQ 3geYNbdYIlksgs9OYpTURFOWnlKWhe0rtRKqq4Oz3hiKnyIoWrkCbAMeg/rsyR/EgOx9RLlG 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:261474 Archived-At: On Wed, 10 May 2023 08:34:56 +0800 Po Lu wrote: > Stephen Berman writes: > >> On Tue, 09 May 2023 16:35:50 +0300 Eli Zaretskii wrote: >> >>>> From: Stephen Berman >>>> Cc: Eli Zaretskii , juri@linkov.net, 63271@debbugs.gnu.org >>>> Date: Tue, 09 May 2023 15:12:06 +0200 >>>> >>>> On Tue, 09 May 2023 20:52:24 +0800 Po Lu wrote: >>>> >>>> > What if you change the font driver in use to something else, like X? >>>> > i.e. >>>> > >>>> > (set-frame-parameter (selected-frame) 'font-backend "x") >>>> >>>> With that the highlighting problem in fundamental-mode vanishes: all >>>> problematic strings show mouse-highlighting. (FTR, with the "x" >>>> font-backend, the default face here is displayed with adobe-courier and >>>> variable-pitch face is displayed with adobe-helvetica.) >>> >>> Does changing the font backend also changes the font used for the >>> variable-pitch face? If it does, then perhaps you could force Emacs >>> to use the same font by customizing the variable-pitch face? Since we >>> already know that the font somehow affects this issue, we need to try >>> to use the same font with different backends, to be sure it's the >>> backend that counts, not the font. >> >> As I noted previously, here with ftcrhb variable-pitch face is displayed >> with DejaVu Sans. When I change the font-backend to "x", variable-pitch >> face is displayed with adobe-helvetica, as noted, but when I change its >> Font Family attribute to DejaVu Sans, the "TODO" string in >> fundamental-mode, propertized to inherit variable-pitch, is displayed >> with adobe-times. So it seems that DejaVu Sans cannot be used by the x >> font-backend. >> >> Steve Berman > > X doesn't support the same fonts that Cairo does. But does the same > thing happen if you use a build with Xft (i.e. --without-cairo), with > the same font? After rebuilding --without-cairo (and retaining the change in a1aa9cbf57, which Gregory Heytings found to be the cause of the problem, at least in builds with Cairo), the problem no longer occurs, i.e. mouse-highlighting works with "TODO" and the other test cases, with DejaVu Sans as the font displaying variable-pitch face. Steve Berman