80-column width [WAS: Re: indent]

David Hampton gnucash at love2code.net
Fri Mar 9 16:04:04 EST 2007

On Fri, 2007-03-09 at 15:46 -0500, Chris Shoemaker wrote:

>   2) encourage wrapping after the open parenthesis, e.g.:
>     foo_is_a_short_name = but_these_names_are_rather_too_long(
>         argument1, argument2, argument3, argument4);
> Do the ident settings permit 2)?

-nlp will tell indent not to indent to the open parenthesis.  I'm not
sure if there is an argument to to force a carriage return after an open
parenthesis.  With -nlp, this may look like the above, or may look like

    foo_is_a_short_name = but_these_names_are_rather_too_long(argument1,
        argument2, argument3, argument4);

It would depend on whether or not argument1 runs over the line width.


More information about the gnucash-devel mailing list