[Vimperator] Exit without saving session
Hrvoje Zlatar
hrvoje.zlatar at gmail.com
Fri Feb 1 14:22:25 PST 2008
More I think about that option, I'm less sure it would be a good idea. At
startup Vimperator change browser.startup.page to "show my windows and tabs from
last time". I tried to find the reason behind that by browsing changesets in the
repository, but I haven't found any.
It is obvious that, if 'saveonexit' option is true, Vimperator should change
browser.startup.page to "show my win. and tabs from last time". But it is not
obvious what should it do when I set the option to false? Should it set
browser.startup.page to "show blank page" or "show homepage"?
On my computer, I just deleted mentioned line from options.js. Now Vimperator
behaves like I expect it. Am I missing something?
When we clarify this, I'm willing to submit a patch for this.
Regards and thank you for a great tool,
p.
Martin Stubenschrott wrote:
> On Fri, Feb 01, 2008 at 02:53:47PM +0100, Hrvoje Zlatar wrote:
>> Thanks, that helped. Although I didn't want to disable session store entirely. I
>> just didn't want to save session by default.
>>
>> I narrowed the problem to this line in options.js:
>>
>> storePreference("browser.startup.page", 3);
>>
>> So, on every browser's startup the Vimperator's setting the "show my windows and
>> tabs from last time" option.
>>
>> I propose to make it optional or overridable by .vimperatorrc.
>
> There is already a feature request for that on the homepage, and i
> really think this option (probably called 'saveonexit') would make
> sense, but my time is short, so i need a patch for it (including
> documentation in locale/en-US/options.txt).
>
> If you narrowed the problem down to that, i think you might also be able
> to just add that option in options.js yourself :). If you look at other
> options, you might see it isn't that hard. Oh and the patch please
> against the latest 0.6pre version, as a lot has changed there.
>
> --
> Martin
> _______________________________________________
> Vimperator mailing list
> Vimperator at mozdev.org
> https://www.mozdev.org/mailman/listinfo/vimperator
>
More information about the Vimperator
mailing list