add: var subject = document.getElementById('msgSubject').value; GetCurrentEditor().setDocumentTitle(subject); 
context: function SaveAsFile(saveAs){  dump("SaveAsFile from XUL\n");  if (gMsgCompose.bodyConvertible() == nsIMsgCompConvertible.Plain)    SaveDocument(saveAs, false, "text/plain");  else    SaveDocument(saveAs, false, "text/html");  defaultSaveOperation = "file";}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/f40d86059a0c12073e9931c2dd571bc33e238d9b/MsgComposeCommands.js/buggy/mailnews/compose/resources/content/MsgComposeCommands.js