From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.bugs Subject: bug#60423: 29.0.60; goto-address and shr/textsec don't play nicely together Date: Tue, 5 Sep 2023 16:31:18 -0700 Message-ID: References: <175894.1672372745@alto> <831qoh6j0i.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="12679"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 60423@debbugs.gnu.org, Mike Kupfer To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Sep 06 01:32:09 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 1qdfWj-000375-Lp for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 06 Sep 2023 01:32:09 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qdfWd-000386-8Z; Tue, 05 Sep 2023 19:32:03 -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 1qdfWb-00037y-TW for bug-gnu-emacs@gnu.org; Tue, 05 Sep 2023 19:32:01 -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 1qdfWb-0000Rs-L5 for bug-gnu-emacs@gnu.org; Tue, 05 Sep 2023 19:32:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qdfWc-0002Ch-Bl for bug-gnu-emacs@gnu.org; Tue, 05 Sep 2023 19:32:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 05 Sep 2023 23:32: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.16939566898428 (code B ref 60423); Tue, 05 Sep 2023 23:32:02 +0000 Original-Received: (at 60423) by debbugs.gnu.org; 5 Sep 2023 23:31:29 +0000 Original-Received: from localhost ([127.0.0.1]:59804 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qdfW4-0002Br-Jy for submit@debbugs.gnu.org; Tue, 05 Sep 2023 19:31:28 -0400 Original-Received: from mail-lf1-x131.google.com ([2a00:1450:4864:20::131]:53512) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qdfW1-0002BZ-Ow for 60423@debbugs.gnu.org; Tue, 05 Sep 2023 19:31:26 -0400 Original-Received: by mail-lf1-x131.google.com with SMTP id 2adb3069b0e04-50091b91a83so5095824e87.3 for <60423@debbugs.gnu.org>; Tue, 05 Sep 2023 16:31:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1693956679; x=1694561479; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:from:to:cc:subject:date:message-id:reply-to; bh=LSf2cd2obqnbiVKQssO3BGq+Q88zP/2Sw3T4szsGXp4=; b=b8uYCTIjT/uV4As46+1vkWyOKV56idnjZ4pwRshfsG/s3/mjEfQThSJ6hXP1oMXNqj 0RWXwov7dFDF9w69QPw4V9xzv80q5R4DZX0qAVgaiBHxJGNQzL6A+ZPKmukwchmZEUB0 w2pbIOrsOJrjMf6J+GiexiET7+wZARK4bEKMkGxML4nmnz8WdLLF5BtAgg64U+q1u0zO b3U/mHb3GXFXRa5R8/lICvxpqRt8FCvGZBIaoGb9tQE7BIi4JWHbumK7lyhx96twDbl5 4syks4vlk/Ig6DDCy1oifYqXEMHKey/KmBmbxFh/E0Xt6BXNZMT7X2TEU9phvDzymKGD T5Lg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693956679; x=1694561479; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=LSf2cd2obqnbiVKQssO3BGq+Q88zP/2Sw3T4szsGXp4=; b=ieEL1cbA/YdDbD/bZaarXpDyeEGtJKDvF0yfl5zh2JR/yzG370EHv3iEIB+4p+24GP t+LP+H8h7fl7S7Wi8B3Yunehn4vB4UnI/JhIzb2z9dfFYQQfIWuQuxqlQAAoB23mdFJH ThG7M2nHIK0DvZ5PRsE/1Ts9tef1M2vaLCvfx9uRHC2Wewl0Z7tohDqaeIAJaKt75cgg 9RG8pN6SxY4rtQjSv+2/GEr4qev9BySWnTrLdm5Cb/01G3hdrhSw0LpiUZDZbZzDMYbJ L7MGJAg80k3k6ud03GYQo3RRalHTRMZo9jys6XZnrRDHV1tJYrgufkQrW6eKkatsUvbv TcjA== X-Gm-Message-State: AOJu0YxVetr2kN8vI3tCqXyXFJd8Rs76O+lTLZEkBfTJzS9bDz6IhBUV zkujTXipVVwBVcrjh7EcPwUBvoUBiVgtytf/Y4U= X-Google-Smtp-Source: AGHT+IG5KF0cUlFS+0TMyICAN9YFQJMWXbjxsGVjdRr9M2+z87F2WV6jKjZryyvBUXjp1N4U5Iq/xu1THYx9npS38kM= X-Received: by 2002:a19:e00e:0:b0:500:79a6:38d4 with SMTP id x14-20020a19e00e000000b0050079a638d4mr854254lfg.40.1693956679110; Tue, 05 Sep 2023 16:31:19 -0700 (PDT) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Tue, 5 Sep 2023 16:31:18 -0700 In-Reply-To: <831qoh6j0i.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 30 Dec 2022 16:52:45 +0200") 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:269429 Archived-At: Eli Zaretskii writes: >> 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. Mike, did you make any progress here? Thanks in advance.