[Freeciv-Dev] Re: coding standard patch
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
On Wed, Sep 18, 2002 at 04:11:09PM -0500, Jason Short wrote:
[...]
> To carry things a little farther, emacs and indent will automatically
> indent using tabs (or automatically strip tabs). But under the system
> of indentation I describe above, not *all* spaces should be replaced by
> tabs. Consider:
>
> int foo(void)
> {
> \tint x;
>
> \tcall_some_function(x, y
> \t z);
> }
[...]
> Does anyone know how to get the first behavior instead of the second (in
> emacs or indent)?
Being able to run indent without upsetting the style guide
is a very good thing, I wouldn't bother and simply prohibit that style.
\tcall_some_function(
\t\tx, y,
\t\tz);
is good enough; personally I prefer
\tcall_some_function(
\t\tx, y,
\t\tz
\t);
> jason
--
Reinier
- [Freeciv-Dev] coding standard patch, Per I. Mathisen, 2002/09/18
- [Freeciv-Dev] Re: coding standard patch, Jason Short, 2002/09/18
- [Freeciv-Dev] Re: coding standard patch,
Reinier Post <=
- [Freeciv-Dev] Re: coding standard patch, Gregory Berkolaiko, 2002/09/21
- [Freeciv-Dev] Re: coding standard patch, Ben Webb, 2002/09/22
- [Freeciv-Dev] Re: coding standard patch, Raimar Falke, 2002/09/23
- [Freeciv-Dev] Re: coding standard patch, Per I. Mathisen, 2002/09/23
- [Freeciv-Dev] Re: coding standard patch, Jason Short, 2002/09/23
- [Freeciv-Dev] Re: coding standard patch, Raimar Falke, 2002/09/23
- [Freeciv-Dev] Re: coding standard patch, Ross W. Wetmore, 2002/09/23
|
|