[PATCH] hgweb: render tabs to 8 spaces

TK Soh teekaysoh at gmail.com
Tue Jun 2 19:23:43 CDT 2009


On Tue, Jun 2, 2009 at 11:10 AM, Jens-Heiner Rechtien
<Jens-Heiner.Rechtien at sun.com> wrote:
> Hi
>
> for what it's worth, we (the OpenOffice.org community) would like an
> option. We have a lot of code which uses 4 spaces per tab.

Can't the tabsize be made configurable where expandtab() can read
from, perhaps ui.tabsize, but default to 8 spaces?

> Heiner
>
> PS: we are currently running a public mercurial pilot project. If
> nothing bad pops up we'll switch over to Mercurial at some time next fall.
>
> Laurens Holst wrote:
>> Matt Mackall schreef:
>>>>> For another, I think 4 spaces is more appropriate then 8 spaces.
>>>>>
>>>> It's probably overkill to add an option for it, but I have projects that
>>>> 4 and others that 8 spaces for tabs.
>>>>
>>>
>>> Let's stick with 8. If there's a standard tab width, it's 8.
>>
>> Personally, I would like it if there were an option to set the tab width
>> to 4 spaces… using 8 spaces for a tab makes code harder to read.
>>
>> ~Laurens
>>
>> _______________________________________________
>> Mercurial-devel mailing list
>> Mercurial-devel at selenic.com
>> http://selenic.com/mailman/listinfo/mercurial-devel
>
>
> --
> Jens-Heiner Rechtien
> OpenOffice.org release engineer
> rechtien at sun.com
>
> _______________________________________________
> Mercurial-devel mailing list
> Mercurial-devel at selenic.com
> http://selenic.com/mailman/listinfo/mercurial-devel
>



More information about the Mercurial-devel mailing list