The new forums will be named Coin Return (based on the most recent vote)! You can check on the status and timeline of the transition to the new forums here.
The Guiding Principles and New Rules document is now in effect.

Emacs and indents

aperlscriptaperlscript Registered User regular
edited April 2008 in Help / Advice Forum
I give up, I can't figure this out and I'm going crazy.

In Emacs, in most programming modes, function calls are (by default) indented like this:
SomeLongFunctionName( arg1,
                      arg2,
                      arg3 );
How do I tell Emacs to not line up the subsequent arguments at the opening paren? In other words, so that it looks like this instead:
SomeLongFunctionName( arg1,
    arg2,
    arg3 );
I've looked through c-offset-alist (specifically the arglist-intro entry, as that's what 'c-show-syntactic-information' tells me), various c-indent variables, but can't figure out the right combination of magic.

aperlscript on
Sign In or Register to comment.