What about having conkeror always use enterLastWindowClosingSurvivalArea, instead of only in daemon mode? Daemon-mode would need to be rewritten to accomodate this, but it would give us a chance to always run quit_hook, no matter in what manner the program was exited. This change would also allow us to fix the problem in sessions.js where sessions do not get written in every circumstance.
Thanks, but I don't see how to make use of that. When that call is in effect none of the quit-application observer functions seem to be called.
If I use an xpcom-shutdown observer function, that does get called for both my cases a and b. It's probably too late in the processing for some things one might want to put on the quit_hook though. It seems to prevent daemon mode exiting.
regards, David _______________________________________________ Conkeror mailing list [email protected] https://www.mozdev.org/mailman/listinfo/conkeror
