From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Stephen Berman Newsgroups: gmane.emacs.bugs Subject: bug#39115: 26.3; eww consecutive links look like one link with mouse-over Date: Wed, 22 Jan 2020 20:15:10 +0100 Message-ID: <8736c7qp4x.fsf@gmx.net> References: <86imlfxu7t.fsf@gmail.com> <87sgk7ttca.fsf@gnus.org> <837e1jv4fa.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="75279"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: Lars Ingebrigtsen , 39115@debbugs.gnu.org, ynyaaa@gmail.com To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jan 22 20:16:44 2020 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 1iuLUa-000JXA-53 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 22 Jan 2020 20:16:44 +0100 Original-Received: from localhost ([::1]:46060 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iuLUY-0001zY-Uv for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 22 Jan 2020 14:16:43 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43396) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iuLTz-0001zJ-OR for bug-gnu-emacs@gnu.org; Wed, 22 Jan 2020 14:16:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iuLTx-000306-Qu for bug-gnu-emacs@gnu.org; Wed, 22 Jan 2020 14:16:07 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:45358) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iuLTu-0002wF-1n for bug-gnu-emacs@gnu.org; Wed, 22 Jan 2020 14:16:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iuLTt-0005JD-Rs for bug-gnu-emacs@gnu.org; Wed, 22 Jan 2020 14:16:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Stephen Berman Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 22 Jan 2020 19:16:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 39115 X-GNU-PR-Package: emacs Original-Received: via spool by 39115-submit@debbugs.gnu.org id=B39115.157972052220354 (code B ref 39115); Wed, 22 Jan 2020 19:16:01 +0000 Original-Received: (at 39115) by debbugs.gnu.org; 22 Jan 2020 19:15:22 +0000 Original-Received: from localhost ([127.0.0.1]:51331 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iuLTF-0005IE-Qh for submit@debbugs.gnu.org; Wed, 22 Jan 2020 14:15:22 -0500 Original-Received: from mout.gmx.net ([212.227.17.20]:56387) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iuLTD-0005Hz-TC for 39115@debbugs.gnu.org; Wed, 22 Jan 2020 14:15:20 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1579720512; bh=bp6Gr7aDqxJOfzXc1VQezrvX2PqujFNZnXENkfvyaXc=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=idLhdrBysGXHAl0aObz3H0AgsEVR+HEYptghc+tVjT49bIOOasalASPmHdsshMExN RvOxarA/a8y+gTxUKTj/IP65FdBEDLA9RT3JxKo8d2LpFs52VjoehSgZqmt4bMHMUk 1xeouovV/KO8W3kza081xHZ6Jw1hO5e4kDQzPLiA= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from strobe-lfs84 ([94.220.123.233]) by mail.gmx.com (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1N63RQ-1jeTzT3tg8-016NdM; Wed, 22 Jan 2020 20:15:12 +0100 In-Reply-To: <837e1jv4fa.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 22 Jan 2020 18:31:21 +0200") X-Provags-ID: V03:K1:6qH7XMXSQkWKjVOWL/tJrsauGf0bmlv6n4puQcH3BlS4WKjvj32 26Twq3JG1i840+3Ovf4MEBrShXTWZ9NV20ul9DDyhZ6aw/3BnxozAR+8RYGGsHrqGwXw01L APVIAZmuqOaDyTaTaWaimvFMO9x8q3NYIs/8rz0AXAN1/fTyqzRFzwWN/VI78pUTQQ/pNI2 PwY5WF6nzRpWYfRlatz6g== X-UI-Out-Filterresults: notjunk:1;V03:K0:z4yipblHDSE=:Ge6mmBHkjJYRo9OIIdOcd8 dt6TzxaC4KnVm2OBglKqKJjOKPIPSWXgYICeq69v4c2ZSrQ7OAs0iJ9iJTamTbwkjg/6Zf39D EjWwwU5hCrZK3lm/LvUjhDOzN56lhVzaBebud/Md8sZ7rriPicFskvvS6iSnL0d6BV5mwcBAC Tk6bKr3UBxFouVTcPtrcOnhdjHGZm9dbLqJ4sB51CcLN5VgoNkF/GVgpSrpelNvEeEjMQVttl pw5jLcFaGUHADln02aH3ijBwuYY80mhN40hGOKDAkyMU70iG1yxStp5vuN/JDebejl5CNalSu b5zIdBNk6LZAeL7PBtqZUtnxnzZ/KnIWwN0NedhvIwd/zFoyabWFVTik69x0VvR39ZI1Xt3k2 NtJOZtsOsjDNq3jthMR8uLgeAdp+JQR44kHFIKD3fIx86PAMyTcs3MZWGqF4sGkIcv0xYWjww yUJz19SndE5nGzMDLNzpSmBzQMeKFe0AD3KNg0lhRiDpz8LAKC5uYDhnwaZdD7oe9erCuXetk lnst5/+V/5Tgv97oSgEkj/aVM2/fdP/yUhO+g/ZvtBwmBcdcog/CEfEhu35UQbkOsJi5SolPv ybd6+g7vugKmS2PvFq8gH5caaQ/ZOpgJCP4Ci7wi1QdqUY7JKTicC1Di4/wHKLZDoFcdnE+mz qhT/MP74PcCbq/wj7ZuO1xs/R+NCjVA8b/5TAtrq74AMA/DOPhFejwjb0CeiF+/A3UE9a8tdy LfZ/6crNOmVJeh4+3u7/jZ1VxzOF5aVJ53rpeG9fo5RSfJwk1BMHjo/WFX7CsSFn2P+4ti9f X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 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:175106 Archived-At: On Wed, 22 Jan 2020 18:31:21 +0200 Eli Zaretskii wrote: >> From: Lars Ingebrigtsen >> Date: Wed, 22 Jan 2020 16:16:05 +0100 >> Cc: 39115@debbugs.gnu.org >> >> I don't know how to fix it, though. Is there a way to make two >> consecutive mouse-face regions not light up at the same time when the >> mouse pointer is over a part of one of the regions? > > Not without changes to C-level code, no. It currently traverses the > glyphs looking for the first one that doesn't have the mouse-face, so > if two stretches of text one after the other have that face, it won't > notice. That appears to be so only if the respective face values of the mouse-face properties have the same name; if the face names are different, even if one inherits from the other so they are visually indistinguishable, then each propertized string gets highlighted independently when the mouse pointer hovers over it, e.g. here: (insert (propertize "one" 'mouse-face 'highlight) (propertize "two" 'mouse-face 'header-line-highlight) (propertize "three" 'mouse-face 'highlight) ".") I don't know if it's easy to make e.g. buttons take advantage of this so you can have consecutive buttons or links with independent mouse highlighting. Steve Berman