nmh-workers
[Top] [All Lists]

Re: [Nmh-workers] showing application/octet-stream attachments that should be text/plain

2013-03-16 22:41:49
Ken Hornstein <kenh(_at_)pobox(_dot_)com> writes:

I find it happens quite often that I receive an e-mail where someone
has attached something that is likely to be plain text (such as a diff)
but their mail program has marked it as application/octet-stream.
Viewing such attachments ends up being a bit of a hassle because they
need to be stored in a file first. Does anyone know a trick for quickly
viewing such attachments?

Hm.  Nothing comes to mind offhand.  But it does suggest to me that
we need an extra switch or two to mhshow to override it's default idea
of how to handle a particular content type (or part).

Yeah, it's certainly something you don't want to hard code since the
majority of my application/octet-stream attachments are either PDF files
or Microsoft Office documents, not text.

In MH-E, I use C-u <attachment number> K e RET <program> RET to view a
particular attachment. That would indicate that you might want to be
able to enter the program as you're reading the email. That might be
easier than specifying the program for the particular attachment at the
command line.

-- 
Bill Wohler <wohler(_at_)newt(_dot_)com> aka 
<Bill(_dot_)Wohler(_at_)nasa(_dot_)gov>
http://www.newt.com/wohler/
GnuPG ID:610BD9AD


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

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