>>>>> "Bo" == Bo Peng <[EMAIL PROTECTED]> writes:
Bo> Yes. I simply put the lastopenedfiles to the command line. That Bo> was the easiest solution. OK, here is the good solution. We need first a cleanup patch: if you look at lyx_gui::start, you will find it is in 4 parts in all frontends 1. create the window 2. do session stuff and load file 3. enter the interaction loop 4. final cleanup Here is the plan: 1. could become lyx_gui::create_view 2. can go back to lyx_main.C 3. can remain in lyx_gui::start 4. can go back to lyx_main.C This will clean up the code, and then allow you to do session stuff properly on top of that (and even to make it work for xforms and gtk). Is that a plan? JMarc