Re: graphical mail reader for one-off use

2023-07-14 Thread David Levine
Ken wrote:

> I think a BIG problem with this is that doesn't get you the "complete"
> message.  The main issue here is embedded images with Content-ID URLs;

Yeah.  I view showing them separately as a feature but maybe I shouldn't.

David



Re: graphical mail reader for one-off use

2023-07-14 Thread Ken Hornstein
>To answer my own question, mhshow can be customized to use the user's
>preferred mail reader.  Ken mentioned w3m with display_link_number.  I
>use firefox, I find that its performance on a modern machine with an SSD
>drive is adequate.

I think a BIG problem with this is that doesn't get you the "complete"
message.  The main issue here is embedded images with Content-ID URLs;
in _theory_ I suppose you could write out the embedded images as files
and rewrite the HTML content to point to those local files, but that
just seems fraught and fragile.  Another issue I personally run into is
I occasonally get S/MIME messages I have to decrypt and that basically
needs the whole message as well (in a perfect world nmh would handle
those natively and that is on my list, but that list is long and sadly I
don't have the time right now to work on that list).  I know that many
times just viewing the HTML content sans images is sufficient, but I've
certainly run into situations where it isn't.

--Ken



Re: graphical mail reader for one-off use

2023-07-14 Thread David Levine
Paul wrote:

> david wrote:
>  > Paul wrote:
>  >
>  > > My working bash snippet (trimmed to remove some extraneous local 
> oddities).
>  >
>  > Just curious:  does mhshow(1) do want you want, assuming you don't
>  > use it to read all of your messages?
>
> I'm not sure of the context of your question.

I apologize, I should have provided that.  When I read your original message, 
my first thought was "what's missing from nmh so Paul can view a message with a 
modern graphical reader?"

To answer my own question, mhshow can be customized to use the user's preferred 
mail reader.  Ken mentioned w3m with display_link_number.  I use firefox, I 
find that its performance on a modern machine with an SSD drive is adequate.

mhshow can be coaxed to use some of your thunderbird wrapper script with a 
profile entry such as:

mhshow-show-text/html: cp $(mhpath cur) /tmp/$(whoami)-message.eml && 
thunderbird -file /tmp/$(whoami)-message.eml

Of course, all user preference.

David



Re: graphical mail reader for one-off use

2023-07-14 Thread Paul Fox
david wrote:
 > Paul wrote:
 > 
 > > My working bash snippet (trimmed to remove some extraneous local oddities).
 > 
 > Just curious:  does mhshow(1) do want you want, assuming you don't
 > use it to read all of your messages?

I'm not sure of the context of your question.  I almost never use the
raw mshow command, if that's what you mean.  It's wrapped for a variety
of small personal preference reasons, and to simplify flow:  first I
want to see the body (sometimes the text part, sometimes the html part),
and then I may or may not want to see or save any attachments.  And
I get all that by typing "p".  I'm sure others have similar workflow
helpers.

I can expand on any of that if you'd like, though maybe it should be with
a Subject change.

paul
=--
paul fox, p...@foxharp.boston.ma.us (arlington, ma, where it's 70.7 degrees)