Steven wrote:
My .mh_profile has these relevant entries:
mhshow-suffix-application/PDF: .pdf
mhshow-show-application/pdf: %pmime_helper %F %s %{name}
Would you consider this?
mhshow-show-application/pdf: %pmime_helper %F %s "%{name}"
That handles the embedded quote, which I think is why mhshow
doesn't quote the argument correctly.
And it would be nice if nmh could decode the filename, so your
mime_helper doesn't have to (if it does). This works, though
hopefully there's a better way:
mhshow-show-application/pdf: %pmime_helper %F %s `fmttest -raw -format
'%(decode{text})' "%{name}"`
(If you want to save a line in your profile, that
mhshow-suffix-application/PDF line is in mhn.defaults.)
David
--
Nmh-workers
https://lists.nongnu.org/mailman/listinfo/nmh-workers