On Tue, Jun 06, 2017 at 09:15:23AM +1000, Cameron Simpson wrote: > Kevin, on the subject of the heuristic, would it be worth getting mutt to > consult the user.mime_type xattr value? The freedesktop stuff (IIRC) > recommends that as a place to store a content-type association for a file; > it has the advantage of (if set) not being subject to the vagaries of file > naming. > > We could have mutt consult that at a suitable point when determining the > content-type (ahead of any sniffing, and ahead of file extension inference) > and for added points have mutt _set_ that value when saving attachements.
I'll look into it. I think all the ideas mentioned are worth exploring if the file doesn't have a known extension. -- Kevin J. McCarthy GPG Fingerprint: 8975 A9B3 3AA3 7910 385C 5308 ADEF 7684 8031 6BDA
signature.asc
Description: PGP signature
