nmh-workers
[Top] [All Lists]

Re: [Nmh-workers] selecting text over html

2004-09-01 10:21:44
Jerry Peek wrote:
2) Use commands like these:

     $ mhlist
      msg part  type/subtype              size description
      1750      multipart/alternative     6632
           1    text/html                 4651
           2    text/plain                1819

     $ mhshow -part 2

That reminds me. Does anyone know why, when I do mhshow -part 1 for
multipart/alternative messages, I typically get the following:

mhshow: don't know how to display any of the contents
        (content multipart/alternative in message 49)

If I add a -form option (-form mhl.headers or -form mhl.null), it seems
to work. However, if I get a message of the following format, not even
the -form option can help.

 msg part  type/subtype              size description                         
 162       multipart/mixed            14K
     1     multipart/alternative      14K
     1.1   text/html                  10K
     1.2   text/plain                2602
     2     text/plain                 134

This typically occurs where a multipart/alternative message is sent to a
mailing list where the list server adds a signature (the final
text/plain).

I know that I can do stuff like -part 1.2 but it'd be nice to be able to
just do -part 1 and have it handle multipart/alternative in the normal
way. I've never liked the way nmh opens all attachments automatically
so I use '-part 1' in my script to have it just open the first part of
messages.

Oliver


_______________________________________________
Nmh-workers mailing list
Nmh-workers(_at_)nongnu(_dot_)org
http://lists.nongnu.org/mailman/listinfo/nmh-workers

<Prev in Thread] Current Thread [Next in Thread>