Jean-Marc Lasgouttes wrote: > When BufferView::Pimpl::loadLyXFile is invoked to load a file that is > already loaded, the user is asked whether he wants to just switch or > re-load the file. The following patch(es) chnage the behavior so that, > when the buffer is clean, the switch solution is automatically > selected. > > Does anyone object to that?
Yes. What are the reasons for doing so? IMHO it is far more useful to automatically re-load the file in this situation. I do from time to time tricky search/replace with vim on the .lyx file. With the change above I would be forced to close the file first before reopening it, currently (and if it would be reloaded automatically) I simply can save it, change it on disk, and open it again. Of course this can only be done if the buffer is clean. If it is not clean the user must decide which version he wants. Georg