> I would say we only need a single option "Remember opened documents on
> startup" (disabled by default).

I agree. Somebody else please do it.

> We need the frontends to catch the session cues from their environments,
> and have an alternative to QuitLyX to be called in the case of LyX dying
> with a session (so remember documents) as opposed to being explicitly
> quit (forget documents).

You mean save opened files info during emergency exit? This can be
done but where the relevant code locates?

Regarding other session info like window size, I think it is easy
enough for the session class to provide an interface like:

session().saveInfo(std::string key, std::string value)
std::string session().loadInfo(std::string key)

session will save these info but will not load them automatically. It
is up to the frontend to determine what information to save and load.
Interested?

Bo

Reply via email to