rem: gDBView.doCommand(setAsJunk ? nsMsgViewCommandType.junk : nsMsgViewCommandType.unjunk);    
add:       if (setAsJunk) MarkSelectedMessagesRead(true);  gDBView.doCommand(setAsJunk ? nsMsgViewCommandType.junk : nsMsgViewCommandType.unjunk); 
context: function JunkSelectedMessages(setAsJunk){  MsgJunkMailInfo(true);  gDBView.doCommand(setAsJunk ? nsMsgViewCommandType.junk : nsMsgViewCommandType.unjunk);  // XXX TODO  // consider whether these messages should be  // marked as read (if markAsReadOnSpam is set)}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/987aafc834c8fe913938cfe319bcbf838a190e63/mailCommands.js/buggy/mail/base/content/mailCommands.js