On 12/09/2010 12:44 PM, Dr Andrew John Hughes wrote: > On 11:03 Thu 09 Dec , Andrew Haley wrote: >> On 12/08/2010 08:02 PM, Ivan Maidanski wrote: >> >>> I remember you (or someone else) had pointed me about of >>> inconvenience of reading my patches in the form they were attached >>> and I had promised to use ".diff.txt" file extension but forgot >>> about it after a long delay. (there is such problem in, say, hpl.com >>> mailing list where I frequently send my patches to; besides, I have >>> no problem in opening the attachment in the link below in Firefox >>> which I use). I apologies for the inconvenience and I'll try to keep >>> in my mind that it's better to use .txt extension when posting to >>> this ML. >> >> This turns out to be a known Firefox bug: >> https://bugzilla.mozilla.org/show_bug.cgi?id=327323 >> >> The bugzilla shows a way around this problem. I appended the >> following line to my .mailcap: >> >> application/octet-stream;/usr/bin/emacs "%u" >> >> So, at least it is now possible to see the patches without first >> saving them and then opening in an editor as a separate action. >> >> Note that I am not recommending that anyone use incorrect MIME-types >> in future, just that there is at least a workaround. > > It also only solves part of the problem. AFAICS, you still have to > open the patch in an external application instead of reading it in the > mail itself. Yes, of course. It's a lot less painful, though. Andrew.