Abdelrazak Younes wrote: >> if i do eg vc-update i will close and open the buffer again, so the old >> buffer/view is no more existing. >> > > In this case we close the buffer so that should stay in GuiView. We indeed > need to do apply this LFUN to the document buffer only. But GuiView knows > how to do do that; look at GuiView::dispatchVC().
but then internal flag is not checked for vc lfuns and you can call them from search pane which will lead to subsequent errors... pavel