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: 5459	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5459/c3f084c87bb882c52d31b850a1c3d82191a065ed/MsgComposeCommands.js/buggy/mailnews/compose/resources/content/MsgComposeCommands.js