Gentoo Archives: gentoo-dev

From: Martin Schlemmer <azarah@g.o>
To: gentoo-dev@××××××××××.org
Subject: Re: [gentoo-dev] Re: All Developers!
Date: Sun, 11 Nov 2001 06:34:42
Message-Id: 1005482370.1616.10.camel@nosferatu.lan
In Reply to: Re: [gentoo-dev] Re: All Developers! by Mikael Hallendal
1 On Sun, 2001-11-11 at 14:27, Mikael Hallendal wrote:
2 > lör 2001-11-10 klockan 22.04 skrev Daniel Robbins:
3 > > On Sat, Nov 10, 2001 at 03:39:13PM -0500, Chris Houser wrote:
4 > > > Daniel Robbins wrote: [Sat Nov 10 2001, 1:24:42PM EST]
5 > > > > OK, if people need rules, I can provide them:
6 > > > >
7 > > > > 1) Use one tab per indent
8 > > > >
9 > > > > 2) Put comments on separate lines
10 > > > >
11 > > > > 3) Avoid using "/" line continuation characters and use long lines instead.
12 > > >
13 > > > Oh, please not 3) ... I realy dislike long lines. I don't think it's
14 > > > too big a deal if the line continuations don't line up for everybody.
15 > >
16 > > OK, I'll amend 3. Either you can use long lines, or you can use "/" line
17 > > continuation characters. If you *do* use line continuation characters, you
18 > > should *not* try to tab align them so that they're "pretty". Instead, follow
19 > > the line with a single space, then a "/", and then a newline.
20 >
21 > Hmm .. imho it's much easier to read with the \ aligned.
22 > I think we can do this by supplying a emacs/vi-mode for editing ebuilds.
23 > Those modes should be strict and force the developer to do it right.
24 >
25
26 Sure, but the problem just is: they do not align for different
27 tabwidth's, so the emacs/vi-mode is not going to help much in
28 that respect. We either have to do it with only a space
29 before the \, or all use a tabwidth of 4 as recommended by
30 drobbins.
31
32 Ill rather go for the space before the \ then, no offence to
33 the 4 tabwidth guys ;)
34
35 > Regards,
36 > Mikael Hallendal
37 >
38 > --
39 >
40 > Mikael Hallendal
41 > Gentoo Linux Developer, Desktop Team Leader
42 > CodeFactory AB, Stockholm, Sweden
43 >
44 --
45
46 Martin Schlemmer
47 Gentoo Linux Developer, Desktop Team Developer
48 Cape Town, South Africa

Replies

Subject Author
Re: [gentoo-dev] Re: All Developers! Mikael Hallendal <hallski@g.o>
Re: [gentoo-dev] Re: All Developers! "Damon M. Conway" <damon@×××××.net>