1 |
lör 2001-11-10 klockan 22.04 skrev Daniel Robbins: |
2 |
> On Sat, Nov 10, 2001 at 03:39:13PM -0500, Chris Houser wrote: |
3 |
> > Daniel Robbins wrote: [Sat Nov 10 2001, 1:24:42PM EST] |
4 |
> > > OK, if people need rules, I can provide them: |
5 |
> > > |
6 |
> > > 1) Use one tab per indent |
7 |
> > > |
8 |
> > > 2) Put comments on separate lines |
9 |
> > > |
10 |
> > > 3) Avoid using "/" line continuation characters and use long lines instead. |
11 |
> > |
12 |
> > Oh, please not 3) ... I realy dislike long lines. I don't think it's |
13 |
> > too big a deal if the line continuations don't line up for everybody. |
14 |
> |
15 |
> OK, I'll amend 3. Either you can use long lines, or you can use "/" line |
16 |
> continuation characters. If you *do* use line continuation characters, you |
17 |
> should *not* try to tab align them so that they're "pretty". Instead, follow |
18 |
> the line with a single space, then a "/", and then a newline. |
19 |
|
20 |
Hmm .. imho it's much easier to read with the \ aligned. |
21 |
I think we can do this by supplying a emacs/vi-mode for editing ebuilds. |
22 |
Those modes should be strict and force the developer to do it right. |
23 |
|
24 |
Regards, |
25 |
Mikael Hallendal |
26 |
|
27 |
-- |
28 |
|
29 |
Mikael Hallendal |
30 |
Gentoo Linux Developer, Desktop Team Leader |
31 |
CodeFactory AB, Stockholm, Sweden |