void foo
(
arg1,
arg2
);
My current setting in .emacs is as follows.
(c-offsets-alist . ((arglist-intro . +)
(arglist-cont . 0)
(arglist-cont-nonempty . c-lineup-arglist)
(arglist-close .
c-lineup-arglist-close-under-paren))
"my-offsets")
and the usual define a new hook and adding the style and adding the hook to
the c/c++ mode hook etc.
However it doesn't seems to work. I only get:
void foo
(
arg1,
arg2,
);
I even tried changing the c-lineup-arglist-close-under-paren to 0, but still
no luck. Any idea what I am doing wrong
or not doing ?
Thanks in advance,
Gumshoes.
Could it be that the extraneous final comma ","
after "arg2" confuses the aligner? Remove that
before typing the closing paren and see if that
helps.
(I don't know if it will, but it's worth a try.
That looks like something the aligner might key
off of.)
Mike
Thanks for spotting that.
"Michael P. Broida" <michael....@boeing.com> wrote in message
news:3BAA52A1...@boeing.com...