rem: SetNextMessageAfterDelete(null, true); 
add: SetNextMessageAfterDelete(); 
context: function MsgDeleteMessage(reallyDelete, fromToolbar){    if(reallyDelete)        dump("reallyDelete\n");    var srcFolder = GetLoadedMsgFolder();    // if from the toolbar, return right away if this is a news message    // only allow cancel from the menu:  "Edit | Cancel / Delete Message"    if (fromToolbar)    {        var folderResource = srcFolder.QueryInterface(Components.interfaces.nsIRDFResource);        var uri = folderResource.Value;        if (isNewsURI(uri))        {            //dump("delete ignored!\n");            return;        }    }    dump("tree is valid\n");    //get the selected elements    var compositeDataSource = GetCompositeDataSource("DeleteMessages");    var messages = GetSelectedMessages();    SetNextMessageAfterDelete(null, true);    DeleteMessages(compositeDataSource, srcFolder, messages, reallyDelete);}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/22ec8dd0464e9b0ddc7aabb12f0a44e5f7cf6a7a/mailWindowOverlay.js/clean/mailnews/base/resources/content/mailWindowOverlay.js