[haiku-development] Re: Coding guidelines

  • From: Niels Reedijk <niels.reedijk@xxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Sat, 8 May 2010 13:58:39 +0200

Hi,

On 8 May 2010 01:16, Jorge G. Mare <koki@xxxxxxxxxxxxx> wrote:
> On 05/07/2010 03:50 PM, Markku Hyppönen wrote:
>
> I've been asked to change few files to follow the coding guidelines.
>
> Document says that indent should be set to four spaces
> and that a line must not have more than 80 columns but in the first
> example indents seems to be mainly 8 character and there's also couple
> of lines exceeding 80 columns.
>
> It seems examples code is not valid, right?
>
>
> If you are referring to the sample code under "Indenting and white space"
> in...
>
> http://www.haiku-os.org/development/coding-guidelines
>
> ...then you are pointing out the same problem already reported in ticket
> #5901 by Stippi.
>
> One of the sysadmins responded that " a \t is interpreted as 8 spaces and
> this cannot be changed" and closed the ticket as invalid, but this is
> incorrect.
>
> At least in the particular case of the Haiku website, it is possible to
> change the number of spaces per tab stop, and the solution was given in
> comments 2 and 3 of the same ticket:

Changed that, does not work.

N>

Other related posts: