X-Envelope-From: notmuch-bounces@notmuchmail.org  Sun Aug 23 00:24:10 2026
Return-Path: <notmuch-bounces@notmuchmail.org>
X-Original-To: nmbug@yantan.tethera.net
Delivered-To: nmbug@yantan.tethera.net
Received: from yantan.tethera.net (localhost [127.0.0.1])
	by mail.notmuchmail.org (Postfix) with ESMTP id 758765F8AC;
	Sun, 23 Aug 2026 00:24:10 +0000 (UTC)
Received: from phubs.tethera.net (phubs.tethera.net [192.99.9.157])
	by mail.notmuchmail.org (Postfix) with ESMTPS id AD7815E2A4
	for <notmuch@notmuchmail.org>; Sun, 23 Aug 2026 00:24:07 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tethera.net;
 i=@tethera.net; q=dns/txt; s=2024; t=1787444645; h=from : to : subject
 : in-reply-to : references : date : message-id : mime-version :
 content-type : from; bh=dL9j9CK1MdZVfOzJwciHBIaQ1u5XY5uNGgkyDnQfQf4=;
 b=H1Dct1OpCWzdikfwHHcNPdMLdDqLsPhvvZtHB4Xt734Q9xCUglWicy9eoCwkg+cPVfCk3
 CFv+wCRzoZbZQceq4ziuW+M529vz2Sw5BCNV1RoR4Nb70rvLvtI7ZgndTrfYfsJQ6EulhU1
 PZbminhYFc6IvaN2xjaf6LeN2Z2RlmVibg1WNqgWIFqOUnilAWuc3ijI5n8CieilWU6l1Qu
 NSKMVkFFDay2v6On1nh7oLChWMgiKzkEN2aO/5EIbXkR508oy6+0vZfVGFnp/DLiSQMnFSm
 uJU4zPy5jT3CvTk2YuZz2yopwlqdFZEQY5oBxE6EVlF74dBfSc6vm4EqYkaw==
Received: from tethera.net (fctnnbsc38w-142-162-53-181.dhcp-dynamic.fibreop.nb.bellaliant.net [142.162.53.181])
	by phubs.tethera.net (Postfix) with ESMTPS id 9434F1800F7;
	Sat, 22 Aug 2026 21:24:05 -0300 (ADT)
Received: (nullmailer pid 2085245 invoked by uid 1000);
	Sun, 23 Aug 2026 00:24:04 -0000
From: David Bremner <david@tethera.net>
To: Michael J Gruber <michaeljgruber+grubix+git@gmail.com>, notmuch@notmuchmail.org
Subject: Re: T450 fails with emacs 31
In-Reply-To: <CAA19uiRs8PnDoFrs7bdG=tXbXREcAw6C_A2oWzbRu4W2SQVRYg@mail.gmail.com>
References: <CAA19uiRs8PnDoFrs7bdG=tXbXREcAw6C_A2oWzbRu4W2SQVRYg@mail.gmail.com>
Date: Sat, 22 Aug 2026 21:24:04 -0300
Message-ID: <87cxv9fzvf.fsf@tethera.net>
MIME-Version: 1.0
Message-ID-Hash: NQUN3WNADFWR6NEYA6FBCSIUONC5OEJ5
X-Message-ID-Hash: NQUN3WNADFWR6NEYA6FBCSIUONC5OEJ5
X-MailFrom: david@tethera.net
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-notmuch.notmuchmail.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
X-Mailman-Version: 3.3.3
Precedence: list
List-Id: "Use and development of the notmuch mail system." <notmuch.notmuchmail.org>
List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
List-Owner: <mailto:notmuch-owner@notmuchmail.org>
List-Post: <mailto:notmuch@notmuchmail.org>
List-Subscribe: <mailto:notmuch-join@notmuchmail.org>
List-Unsubscribe: <mailto:notmuch-leave@notmuchmail.org>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit

Michael J Gruber <michaeljgruber+grubix+git@gmail.com> writes:

> Hi there
>
> T450 fails with emacs 31 (which is in Fedora rawhide since yesterday
> or so). I have no idea what this test does and whether old or new
> behaviour (on cid:xxx) are incorrect or just different, but here's the

I verified this failure happens with emacs master (32.0.50).

As far as I currently understand

   - notmuch-show calls goto-address-fontify-region
   - the behaviour of goto-address-fontify-region changed (I guess
     around 31.0) to add a button instead of just an overlay

   - the (kindof hacky) implementation of
   #'notmuch-show-buttonise-links strips the overlays but not the
   button

   - the test function #'notmuch-test-mark-links checks for buttons.

I guess the simplest fix is probably to modify
#'notmuch-show-buttonise-links to delete the buttons added by
goto-address-fontify-region, but it feels a bit like piling hacks on
hacks.

In any case it is probably fine to skip that test with emacs 31, I don't
think there is a real user-impacting bug here.

d
_______________________________________________
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-leave@notmuchmail.org
