[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: w3m session file format
- From: naota@xxxxxxxxx
- Date: Fri, 27 Jun 2014 12:16:52 +0900
- X-ml-name: emacs-w3m
- X-mail-count: 12329
- References: <53A86E15.2030105@xxxxxxxxxxxxxxxxxxx>
(BMax <maxim.suraev@xxxxxxxxxxxxxxxxxxx> writes:
(B> I've got saved emacs-w3m session of 16 tabs. but the corresponding entry in session
(B> file is huge (about 100Kb) and seems to contain plenty of urls visited long before.
(B> 1. What's the format for w3m session file - where is it documented?
(BThe session file can be thought of a list of w3m history dump. You can
(Blook for w3m-history's docstring for the format of the dump.
(BYou can also see a comment in w3m-session.el. There is aline "format of
(Bsession file." and following it, there are simpe description of session file.
(B> 2. Is there a way to automatically cleanup sessions upon saving them? So the session
(B> with 16 opened tabs will contain only 16 urls and nothing more.
(BI don't think we have one. But we can modify
(Bw3m-session-history-to-save() to drop the history.