On 2025-02-26 15:30:48 -0500 (-0500), Marvin Renich wrote: > * Jeremy Stanley <fu...@yuggoth.org> [250226 13:39]: > > The only real hassle is > > if I want to copy a very long URL out of a message, I either need to > > piecemeal reassemble it from the lines that URL is spread across or > > pipe the body into another tool that doesn't wrap anything. It's > > likely there are config options for Mutt to alleviate this, I just > > haven't bothered to go digging. > > Try urlscan.
Thanks, yes that's what I mean by piping the body into another tool. Both urlscan and the older urlview are probably fine if mutt is running on your local system, in my case it's running on a remote system and I just want to be able to copy the URLs from my terminal without anything fancy trying to interpret or truncate/abbreviate them, react to my pointer, et cetera. Setting a macro to pipe the body through less or vi(ew) has been working well enough for my needs, but some quick testing indicates that if I override markers to no in my muttrc to get rid of the "+" at the start of wrapped lines, that basically solves the long URL copying problem, albeit at the expense of no longer knowing whether mutt wrapped a line for me (not a huge loss, in my opinion). -- Jeremy Stanley
signature.asc
Description: PGP signature