+ // if the file is not opened, open it. + if (!theBufferList().exists(bm.filename)) + open(bm.filename);
Abdel, I find the reason. theBufferList() is global so bm.filename exists. However, without a valid view(), BUFFER_SWITCH will fail. How can I tell if I need to open the file in the new window, or the file is already in the window so I only need to switch? BO