On Sat, Oct 22, 2011 at 05:08:43PM +0000, Jörg Sommer wrote: > "John J. Foerch" <jjfoe...@earthlink.net> wrote: > > On Tue, Oct 18, 2011 at 08:32:16PM +0000, Jörg Sommer wrote: > >> Axel Beckert <a...@deuxchevaux.org> wrote: > >> > On Mon, Oct 17, 2011 at 02:30:00PM -0500, Benjamin Slade wrote: > >> >> On 17 October 2011 11:15, John J. Foerch <jjfoe...@earthlink.net> wrote: > >> >> > See if Flash is the culprit. > >> >> > >> >> Doesn't seem to be, or, at least, not exclusively. Sometimes it happens > >> >> when > >> >> I go "Back" from a webpage (with no flash on either page). > >> >> > >> >> No-one else is getting this? > >> > > >> > Very seldom, especially compared to what I remember back from my > >> > Firefox times. Conkeror (respectively the xulrunner below it) > >> > segfaults approximately every few weeks to months for me. > >> > > >> > But since we have automatic session saving, that's ok for me -- > >> > despite loading 500 to 700 buffers takes some time. > >> > >> Interesting problem. I suffer from it, too. :) I've read a blog post by > >> Mike Hommey where he descripted a feature of or an add‐on for firefox > >> that delays the load of buffers. The session restore would not load a the > >> page, but put there an informal page saying “if you reload this page you > >> get $URL.” A page similar to the one you get if conkeror can not connect > >> to the requested site. > >> > >> This way conkeror would not fetch all the data from the net, but set up > >> buffers with placeholders. > >> > >> Is this something that could be implemented for conkeror? > >> > > > > http://retroj.net/git/conkerorrc/content-delay.js > > Unfortunaly, this affects also background operations after startup like > loading an URL in a new buffer in the background. Is it possible to > revert this setting after the session is loaded? Is there a > auto_saved_session_loaded_hook :) or something I can attach the > removement of content_delay_init()?
No. Since window creation is asynchronous, there is not a simple way for the session module to know when the session is done loading. Also how would you deal with manual session loading? Presumably you would want content-delay to affect all session loading, no matter when they happened. Perhaps you could dispatch on the 'opener' property of the buffer in content_delay_init. That property will be null or undefined for buffers created by loading a session, but it will have a value for buffers that were created by following a link. -- John Foerch _______________________________________________ Conkeror mailing list Conkeror@mozdev.org https://www.mozdev.org/mailman/listinfo/conkeror