<div dir="ltr">Whatever the width of the tab is, converting all tabs to whitespaces (or the other way around) would be better.<div>If code formatting was forced at the time of each commit, there would be no need for anybody to set the tab width on their editor.<br><div>Consistent coding style will help more developers in the future.<br><div><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><p style="font-family:sans-serif"><br></p></div></div></div></div></div></div></div></div></div></div></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Sep 7, 2019 at 8:11 AM Geert Stappers <<a href="mailto:stappers@stappers.nl">stappers@stappers.nl</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Sat, Sep 07, 2019 at 10:41:34AM +0200, Dominik wrote:<br>
> On Fri, 2019-09-06 at 22:09 -0700, Shota Hino wrote:<br>
> > It seems the use of tabs are not consistent.<br>
> > On some IDE, the lines are misaligned and very difficult to read.<br>
> > <br>
> > Could you please run code formatter?<br>
> > <br>
> Set your tab width to 8. With this setting, I'm not seeing<br>
> inconsistencies in the dnsmasq codebase.<br>
<br>
        :-)<br>
<br>
<br>
The very same size of 8 characters for tab is documented<br>
in the coding style of the Linux kernel.<br>
<br>
With <br>
  wget <a href="https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/plain/Documentation/process/coding-style.rst" rel="noreferrer" target="_blank">https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/plain/Documentation/process/coding-style.rst</a><br>
we could (and should) add coding style definition to this project.<br>
<br>
Main reason is ending discussion on coding style is<br>
to get more time on discussion how and where to improve Dnsmasq.<br>
<br>
<br>
Cheers<br>
Geert Stappers<br>
<br>
<br>
_______________________________________________<br>
Dnsmasq-discuss mailing list<br>
<a href="mailto:Dnsmasq-discuss@lists.thekelleys.org.uk" target="_blank">Dnsmasq-discuss@lists.thekelleys.org.uk</a><br>
<a href="http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss" rel="noreferrer" target="_blank">http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss</a><br>
</blockquote></div>