<div dir="ltr">Hey Florain, Ryan,<div><br></div><div><div>> The good news: The current config code is probably one of the oldest</div><div>parts of qutebrowser still existing nowadays (from January 2014 or so),</div><div>and is soon getting a complete makeover. See more details in these</div><div>issues:</div><div><br></div><div>OK. That's great news :)</div><div><br></div><div>Thanks for the great browser!</div><div><br></div><div>Nishant</div><div class="gmail_extra"><br><div class="gmail_quote">On 2 April 2017 at 15:27, Florian Bruhin <span dir="ltr"><<a href="mailto:me@the-compiler.org" target="_blank">me@the-compiler.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hey Nishant,<br>
<span class="gmail-"><br>
On Sun, Apr 02, 2017 at 02:52:40PM -0500, Nishant Rodrigues wrote:<br>
> Is there a way to prevent automatic writing to the main configuration file?<br>
<br>
</span>:set general auto-save-config can help a bit, but IIRC it'll still get<br>
overwritten if there are settings which aren't in the qutebrowser config<br>
file yet (e.g. after an upgrade).<br>
<span class="gmail-"><br>
> If not, would you'll accept patches that allow this behaviour?<br>
<br>
</span>The bad news: no ;-)<br>
<br>
The good news: The current config code is probably one of the oldest<br>
parts of qutebrowser still existing nowadays (from January 2014 or so),<br>
and is soon getting a complete makeover. See more details in these<br>
issues:<br>
<br>
<a href="https://github.com/qutebrowser/qutebrowser/issues/499" rel="noreferrer" target="_blank">https://github.com/<wbr>qutebrowser/qutebrowser/<wbr>issues/499</a><br>
<a href="https://github.com/qutebrowser/qutebrowser/milestone/7" rel="noreferrer" target="_blank">https://github.com/<wbr>qutebrowser/qutebrowser/<wbr>milestone/7</a><br>
<br>
This has been cooking for a while, but it's going to be a bigger change<br>
(and also mean releasing qutebrowser v1.0, with an incompatible config).<br>
<br>
However, I'm currently planning qutebrowser's second crowdfunding (watch<br>
this mailinglist for the annoucement around easter!) so I can work<br>
full-time for a month on this and other things related to v1.0.<br>
<br>
Notably, qutebrowser's automatic config file (controlled via :set or the<br>
qute:settings page) and the (optional) hand-edited config file will be<br>
two completely separate files.<br>
<span class="gmail-"><br>
> What modifications are made to the configuration when it's written to?<br>
<br>
</span>If a setting qutebrowser knows about is missing in the file, or<br>
something gets changed via :set, or something needs to be updated due to<br>
config format changes in qutebrowser, it's simply completely rewritten.<br>
(As said: currently. No, I'm not happy with it.)<br>
<span class="gmail-HOEnZb"><font color="#888888"><br>
Florian<br>
<br>
--<br>
<a href="http://www.the-compiler.org" rel="noreferrer" target="_blank">http://www.the-compiler.org</a> | <a href="mailto:me@the-compiler.org">me@the-compiler.org</a> (Mail/XMPP)<br>
   GPG: 916E B0C8 FD55 A072 | <a href="http://the-compiler.org/pubkey.asc" rel="noreferrer" target="_blank">http://the-compiler.org/<wbr>pubkey.asc</a><br>
         I love long mails! | <a href="http://email.is-not-s.ms/" rel="noreferrer" target="_blank">http://email.is-not-s.ms/</a><br>
</font></span></blockquote></div><br></div></div></div>