Another problem is that, when exiting, LyX believes the
AdvSearch GuiWorkArea has been modified and needs to be
saved. Also, AFAICR, in my original patch last year, I had
to "invent" a file-name when instantiating the associated
buffer (and currently it is smth. like
/tmp/advsearch.lyx), otherwise it was seg-faulting when
trying to save sometime.
I think the GuiWorkArea widget, plus buffer and whatever
other classes, should be instantiable without any need to
specify a filename (at least, not as mandatory). For the
AdvSearch, I don't want the buffer-changed boolean to be
actually tracked down and used, I don't want automatic
backup on disk every minute (if LyX does it at all), and I
don't want to be asked if I want to save that file when I
exit the application.
What is the best way to accomplish such behavior ?
Thanks,
T.