[Conkeror] [PATCH] Session management: restore saved buffers from a JSON file.

Rohan Nicholls rohan.nicholls at googlemail.com
Fri Sep 19 05:53:21 PDT 2008


Fabulous, thanks for this.  I was just thinking that not having
session handling is the one thing that I really miss in conkeror, that
and gmail mode not working in gmail (I will look into it some time).

I applied the patch, and the M-x restore-session works very well, but
there were a few glitches.

When you start normally, and do the restore session it asks you if it
should store it in a certain spot (mozilla profile directory) under
the name of session.json.

I said yes, and received the error that the file did not exist.

I touched the file, and tried again.  It gave the error that it could
not read the file.  On a hunch, I put

{}

At the beginning of the file and saved it.

Then restore-session worked.

Something that might not be related is that conkeror -batch never
comes up.  So I just do a normal launch and then invoke
restore-session and it works.

Thanks again, I am so happy to have this.  Now to look into address
history. :)

Rohan


On Sat, Sep 6, 2008 at 7:04 PM, David House <dmhouse at gmail.com> wrote:
> 2008/9/6 Vyazovoi Pavel <vyazovoi at googlemail.com>:
>> Strange...
>> I tried patches with latest conkeror from git, with empty rc-file.
>
> So this definitely happens if you use conkeror -q? What happens if you
> comment out everything in modules/session.js? Are you sure the patch
> applied cleanly, and didn't leave any artefacts in, e.g.
> components/application.js? What happens if you use conkeror -q
> -jsconsole?
>
> --
> -David
> _______________________________________________
> Conkeror mailing list
> Conkeror at mozdev.org
> https://www.mozdev.org/mailman/listinfo/conkeror
>


More information about the Conkeror mailing list