As was foretold, we've added advertisements to the forums! If you have questions, or if you encounter any bugs, please visit this thread: https://forums.penny-arcade.com/discussion/240191/forum-advertisement-faq-and-reports-thread/
Options

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.