From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Mike Kupfer Newsgroups: gmane.emacs.bugs Subject: bug#60423: 29.0.60; goto-address and shr/textsec don't play nicely together Date: Wed, 16 Oct 2024 14:52:49 -0700 Message-ID: <66867.1729115569@alto.camomileplus.org> References: <175894.1672372745@alto> <831qoh6j0i.fsf@gnu.org> <69964.1728432546@alto.camomileplus.org> <86jzeh4g7x.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8202"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 60423@debbugs.gnu.org, Eli Zaretskii , stefankangas@gmail.com To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Oct 16 23:54:10 2024 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 1t1By5-0001zy-U5 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 16 Oct 2024 23:54:10 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t1Bxg-0002xa-Uf; Wed, 16 Oct 2024 17:53:44 -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 1t1Bxe-0002xR-Tz for bug-gnu-emacs@gnu.org; Wed, 16 Oct 2024 17:53:42 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1t1Bxe-0004XF-I9 for bug-gnu-emacs@gnu.org; Wed, 16 Oct 2024 17:53:42 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=Date:MIME-Version:References:In-reply-to:From:To:Subject; bh=tX288K/lTHzW10Z8lm9yeCplEtbiioK8k/U5fIGkaMc=; b=UbRBnQW2Vm+0dxEh6tPPJhjkQX67evOzp4dx/tZG9tN02635SoNvlf2tQ7P8hqYwQM0n0mI1klJ9Q5fcow+YOrSZlzOW9f83Ic99hU73PCXIwoKslKmB+bGPxK+fxvvAiJR8Klzh/G7dq5BShZhLV+2w0qHcdsBouR96g0P+1NQx0DK1hzT+zjb3VNpLgJt7mI4MCM8mnH3bBSufEToxUbf+8jxv11qzq2DsBdm1i8+9qc1BwSg3HCg4/RkkokZB+rS+Xw9WOT/T1B6GBHYSMsEiClYjH+W9/fQfbTVSfAmwftcDmelUQFXrxZ7A6Xh1XGaN2isjphDGirKCmXTwSA==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t1Bxy-0007SJ-Hp for bug-gnu-emacs@gnu.org; Wed, 16 Oct 2024 17:54:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Mike Kupfer Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 16 Oct 2024 21:54:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 60423 X-GNU-PR-Package: emacs Original-Received: via spool by 60423-submit@debbugs.gnu.org id=B60423.172911559728596 (code B ref 60423); Wed, 16 Oct 2024 21:54:02 +0000 Original-Received: (at 60423) by debbugs.gnu.org; 16 Oct 2024 21:53:17 +0000 Original-Received: from localhost ([127.0.0.1]:60750 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t1BxF-0007RA-2J for submit@debbugs.gnu.org; Wed, 16 Oct 2024 17:53:17 -0400 Original-Received: from shell1.rawbw.com ([198.144.192.42]:30127 ident=root) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t1BxC-0007R1-V1 for 60423@debbugs.gnu.org; Wed, 16 Oct 2024 17:53:15 -0400 Original-Received: from alto.camomileplus.org (135-180-174-211.dsl.dynamic.sonic.net [135.180.174.211] (may be forged)) (authenticated bits=0) by shell1.rawbw.com (8.15.1/8.15.1) with ESMTPSA id 49GLqnUl016975 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Wed, 16 Oct 2024 14:52:54 -0700 (PDT) (envelope-from kupfer@rawbw.com) X-Authentication-Warning: shell1.rawbw.com: Host 135-180-174-211.dsl.dynamic.sonic.net [135.180.174.211] (may be forged) claimed to be alto.camomileplus.org In-reply-to: Comments: In-reply-to Stefan Monnier message dated "Sat, 12 Oct 2024 19:13:49 -0400." X-Mailer: MH-E 8.6+git; nmh 1.8-RC2; Emacs 30.0.91 Content-ID: <66866.1729115569.1@alto.camomileplus.org> 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:293693 Archived-At: Stefan Monnier wrote: > In this case the problem is that two packages compete for the same URL. > I think it makes sense for goto-address to "leave text alone" in this > case, but the question remains of how to detect *this* situation. > > The underlying text having a `face` property doesn't seem sufficient > (especially since multiple `face` properties get merged, so the > conflict is less severe). > Maybe it should check for the presence of `help-echo and (follow-link > or keymap)`? And make sure the those properties cover exactly the same > chunk of text? As far as covering the same chunk of text, I'll need to play with this some more to see what works. shr-tag-a inserts a warning emoji with a help-echo property, which goto-address somehow manages to clobber. That warning emoji is not something goto-address would normally be looking for. mike