WeeChat dev news - Tag - setWeeChat development blog2024-01-22T17:53:19+01:00urn:md5:edd364dae4d94114a2ba146603903683DotclearFset pluginurn:md5:cb897b9df373cc9c5dea1c7c85a80eca2017-06-26T08:15:00+02:002019-11-04T21:38:26+01:00Sébastien Helleupluginsfsetisetoptionset <p>A new plugin called "fset" (Fast Set) has been added: a built-in and highly customizable replacement for the script iset.pl, with tons of new features!</p>
<p>It has the same features as iset.pl:</p>
<ul>
<li>list options in a dedicated buffer</li>
<li>filter options by file, section, name, value or changed options</li>
<li>all colors can be customized</li>
<li>bar with help on currently selected option</li>
<li>different color for values changed</li>
<li>display of inherited values</li>
<li>keys and input to toggle, add/sub, set, reset and unset options</li>
<li>mouse actions on buffer.</li>
</ul>
<p>And it comes with <strong>many new features</strong>:</p>
<ul>
<li><strong>flexible format</strong> using evaluated expression and automatic size for columns</li>
<li>options can be displayed on <strong>multiple lines</strong></li>
<li>integrated with <strong>/set</strong> command, using conditions (option fset.look.condition<sub>catch</sub>set)</li>
<li><strong>advanced filtering</strong>: by type, by changed value (filter on name or value), and using an evaluated condition</li>
<li><strong>sort</strong> of options (fset.look.sort)</li>
<li><strong>append to value</strong></li>
<li><strong>mark</strong> of options, <strong>group actions</strong></li>
<li><strong>export</strong> of options in a file.</li>
</ul>
<p>Screenshot (click for full size):</p>
<p><a href="https://blog.weechat.org/public/weechat_fset.png" title="weechat_fset.png"><img src="https://blog.weechat.org/public/.weechat_fset_m.png" alt="weechat_fset.png" style="display:table; margin:0 auto;" title="Fset" /></a></p>Inherited option valuesurn:md5:2b81def58665c73ad7d24f4cd34c16812015-12-25T10:00:00+01:002019-11-04T21:39:03+01:00Sébastien Helleucoreircisetoptionserverset <p>Options can now have a parent option, and the value of option inherits from parent when it is null (if null is allowed).</p>
<p>For now, only IRC server options (<code>irc.server.<name>.xxx</code>) are inheriting from parent options (<code>irc.server_default.<name>.xxx</code>).</p>
<p>The command /set shows the inherited value (and the default inherited if the value is set to null).
Script iset.pl has been updated as well (version 4.0 supports this feature, and is compatible with old WeeChat).</p>
<p>Enjoy and Merry Christmas!</p>
<p>Screenshot of this new feature (click for full size):</p>
<p><a href="https://blog.weechat.org/public/weechat_set_inherited_values.png" title="weechat_set_inherited_values.png"><img src="https://blog.weechat.org/public/.weechat_set_inherited_values_m.png" alt="weechat_set_inherited_values.png" style="display:table; margin:0 auto;" title="Inherited option values" /></a></p>