rem: if (uri) messenger.saveAs(uri, true, null, msgWindow); 
add: if (uri) { var filename = null; try { var subject = messenger.messageServiceFromURI(uri) .messageURIToMsgHdr(uri).subject; filename = GenerateValidFilename(subject, ".eml"); } catch (ex) {} messenger.saveAs(uri, true, null, filename); } 
context: function SaveAsFile(uri){	if (uri) messenger.saveAs(uri, true, null, msgWindow);}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/f40d86059a0c12073e9931c2dd571bc33e238d9b/mailCommands.js/buggy/mailnews/base/resources/content/mailCommands.js