>>>>> "Bo" == Bo Peng <[EMAIL PROTECTED]> writes:
>> Please wait a bit. How is this patch acting wrt the "auto" feature? >> Also, by reading the patch I am not sure I understand what the >> syntax of the session file is wrt toolbars. Bo> This has nothing to do with the auto feature. Right now, the patch Bo> 1. when lyx close, get the names of all toolbars, query their Bo> status (on/off) and write to session file, something like: Bo> standardToolbar On extraToolbar Off Bo> "Toolbar" is added to toolbar names. So, when a toolbar is automatic, depending on where the cursor is in the document, different things are stored. Is there a way to tell that an automatic toolbar (say math) should be always visible or never visible? I do not see it. Bo> It is possible to only load the session stuff. The difficulties Bo> lie in the fact that session replaces lastfiles so all lastfiles Bo> stuff needs to be replaced. Then, I have to separate lastfiles Bo> from last-opened-files, which is the core of the session feature. What I meant is that session is a mechanism to store session-related data. The there are several users of this file which store cursor positions, opened files, maybe toolbar position, etc. There is no reason why we should take all or nothing. We can pick the session features we want. It can be argued that we have to do something about toolbars since multiple toolbars are a new 1.4 thing and turning each on and off proves difficult to users. The rest of session support are new features and I am not sure we need them. JMarc