Re: URLs in Mutt
On Mon, Jan 01, 2024 at 11:42:59AM +0100, Nicolas George wrote:
> Greg Wooledge (12023-12-31):
> > Have your browser load THAT file.
>
> Or just have this:
>
> text/html; lynx -force_html -dump %s; copiousoutput
>
> in your .mailcap file. Possibly along with:
>
> auto_view text/html
>
> in the .muttrc.
It's been my experience that the hyperlinks I'm meant to click are so
long that they wrap around the terminal width multiple times. This
makes copy/pasting them tedious at best, and even then it still
sometimes fails for me. (Either because I can't actually tell which
one I'm supposed to click, just from reading the lynx-dumped source,
or because there's some Javascript that has to be loaded first?)
Passing the entire text/html part to an actual web browser has been
what works best for me.
On the other hand, if I *don't* want to click anything, the lynx-dumped
source code usually gives me a nice synopsis of what the email is
trying to tell me. So, it's still worth having, even if I don't
try to copy the URLs out of it manually.
Reply to: