Re: [PATCH] wip: Add forward-message-refs function.

"Kevin J. McCarthy" <[email protected]>
Newsgroups gmane.mail.mutt.devel
Message-ID <[email protected]>
On Thu, Aug 27, 2026 at 12:26:01PM +0200, Alejandro Colomar via Mutt-dev wrote:
>> code (at least in the index and pager) on purpose removes References
>> that are combined from two different "parents".  See
>> https://gitlab.com/muttmua/mutt/-/blob/2edbf659b7882b611fcfb4cb509b66349090134f/send.c#L827
>
>Out of curiousity, how can a message have more than one parents?
>How do I trigger such a case?  Is it that if I reply/forward while
>having several tagged paragraphs, the rpely/fwd has all the tagged
>messages as parents?  (I have never done something like that.)

Yes, exactly.  Replying to multiple tagged messages.

>> I thought the quadoption, for those who want to choose, might be a bit
>> annoying after a while.
>
>I personally don't forward enough messages that it could become
>annoying.  However, I expect if it could become annoying to someone,
>they could enable it as 'yes', and then edit out the headers in the
>editor in the few cases where they want it removed.  In general, I
>suspect one will want either yes or no, and ask-yes will be a bit rare,
>with ask-no being more rare.  Thus, I expect this manual editing would
>be rare.
>
>We'd need to allow editing the References field (currently, it's not,
>AFAIK).

Not sure about that, but I'll think about it!

>>  I'd like feedback about this implementation
>> versus a quadoption.  With two functions, you can bind to different
>> keys.  It's also possible to implement a toggle function (but of
>> course that can be done with a quadoption too):
>
>I expect one would only want one of them (likely, depending on religious
>believes), so the new function might be a bit overkill.  I'd find it
>surprising that one would want to have both functions available.

Okay, I appreciate your feedback.  The quadoption is much simpler to 
implement.  I'll see if anyone else has feedback.

-- 
Kevin J. McCarthy
GPG Fingerprint: 8975 A9B3 3AA3 7910 385C  5308 ADEF 7684 8031 6BDA
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEiXWpszqjeRA4XFMIre92hIAxa9oFAmqQLQ4ACgkQre92hIAx
a9q3zg//Rf1WxPLa03LEA6J0ec/Q6Im44GlEiUn6DFwhUosICyDPjdVhJPAOtAey
Bbugwh8J3kSTx0nBQAJPHPhqF5pw3SsS2+PI9i1BXjvTnuoBbinqJG4mnB4XEXT2
Ulo1c0QOqa59/tYhd1bzKBoOjnc/5rRpX8NTK87mW8FQeR2DCOdXn/hXX81a/ZnC
PwDcbewy1Jcz/tDrsGFW1LXN1A+zM56JEal2zfl+nfF8DTeMKMJfMuxmq9vbzSKZ
nAd4kluakz7RZcg1b+wjRegXPgmHOM5tHm+qFgJWruh8jpBU6ki9+eIdjzH1ihmQ
lLhHl+MG/mxHYDRDndEX9WwEWoiv5/zin/aOXTftHFUrUwTjC9JaR19ovk9tqlZJ
J7AslMO0SWfEkzgyRQWLyBbocMRm8NoiRdZlIA6XYoYPG+vT/rZ3CTxAy+6JKEPh
klz6HKpm/htEcSH9QvPr7T5pJ3dhDpizJBXFnccY+HY9Xr3rFWPI9+K7hpWnAn8c
AEa6wF08hOuzurBxn+AtMrKkdqItFGmjlQSS1Uea033rFMhJCYSQgZgY/SRFpuaz
/ihyY5pcpED+hMLQWAHLyutTGqNdMSkeewetglurx51AxxlB1rzRtU+nLuzKhKYA
dO7LJMiIcVwFg5/FjwgJesJi0KF7qyM5YB5tp8Ogp8cULfxYnlE=
=uLWe
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.