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#60423: 29.0.60; goto-address and shr/textsec don't play nicely together Date: Fri, 30 Dec 2022 16:52:45 +0200 Message-ID: <831qoh6j0i.fsf@gnu.org> References: <175894.1672372745@alto> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="349"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 60423@debbugs.gnu.org To: Mike Kupfer Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Dec 30 15:53:09 2022 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 1pBGku-000AQU-KX for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 30 Dec 2022 15:53:08 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pBGkp-0007m0-Ub; Fri, 30 Dec 2022 09:53:03 -0500 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 1pBGko-0007ls-LC for bug-gnu-emacs@gnu.org; Fri, 30 Dec 2022 09:53:02 -0500 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 1pBGko-0007at-6r for bug-gnu-emacs@gnu.org; Fri, 30 Dec 2022 09:53:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pBGko-0006kg-2G for bug-gnu-emacs@gnu.org; Fri, 30 Dec 2022 09:53:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 30 Dec 2022 14:53: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.167241197525942 (code B ref 60423); Fri, 30 Dec 2022 14:53:02 +0000 Original-Received: (at 60423) by debbugs.gnu.org; 30 Dec 2022 14:52:55 +0000 Original-Received: from localhost ([127.0.0.1]:33822 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pBGkh-0006kL-Ej for submit@debbugs.gnu.org; Fri, 30 Dec 2022 09:52:55 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:54302) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pBGkf-0006k8-Md for 60423@debbugs.gnu.org; Fri, 30 Dec 2022 09:52:54 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pBGkZ-0007Yg-Vj; Fri, 30 Dec 2022 09:52:47 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=kx1EOTvl1A6aH+0j0RdET7Cfwg9ayEpJJghhr6LjHp0=; b=Oc4fsJ+8bxSW WL/CEAyCL+j0yOhC/F01FnmLlG+RwCEROQcu2yKPQhsmCpuyBfoADw1Q55E8vgWmI3V9MMOJfPxLc bIT8udw6f+4uxvzrXPflnQiemiBIsZBKPGdv0YxLbYRenBaL6djzUIQkWpU47i8FJNfzplLo394fk g2oBMK+8NDWhwrGI2J1XDxrDRNywlaK9K1evrbnPV2tM2fmN0He0ynxNT5V+EotRTrWWc2RkRW8NT s67jcurCbq0Md9EFOv3QEc6XDil0Xu3XiwUjGU0goGOtUM/uw5agP/sKWjZ+ecGgOe68lX29OXocP hLvf98sKKHB8rZONSsOyNA==; Original-Received: from [87.69.77.57] (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 1pBGkX-00013Q-QS; Fri, 30 Dec 2022 09:52:47 -0500 In-Reply-To: <175894.1672372745@alto> (message from Mike Kupfer on Thu, 29 Dec 2022 19:59:05 -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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:252127 Archived-At: > From: Mike Kupfer > Date: Thu, 29 Dec 2022 19:59:05 -0800 > > In MH-E, if you mouse over the link or emoji, you get text in the echo > area that tells you how to follow the link. There's no explanation > given for the red text or the caution emoji, which is a bug IMO. > > I tracked this down to MH-E's use of goto-address when displaying a > message (mh-display-msg > mh-show-addr > goto-address). > > I can think of a couple ways to deal with this, but I'm not sure what > the right way forward is. The simplest approach would be for > mh-display-msg to stop using goto-address. I'm not happy with that > approach because it removes functionality that MH-E has had for awhile. > > A slightly more sophisticated approach would be to not use goto-address > when using shr to render the message. That loses some functionality > (like the auto-linkification of email addresses), and it seems kind of > kludgey, but I suppose it's not too terrible. > > Another possibility would be to make goto-address smarter, so that it > doesn't stomp on whatever it was that shr did to get the mouse-over > text. > > I'm happy to take a stab at a fix, but I could use some guidance on the > right direction to go in. I guess the latter, but it will have to be on master, since I'm quite sure the changes will not be safe enough for the release branch. Thanks.