You're looking for 'inexpr-class.
BTW, I use the following to fix this:
(add-hook 'c-mode-common-hook
'(lambda ()
(c-set-offset 'substatement-open 0)
(if (assoc 'inexpr-class c-offsets-alist)
(c-set-offset 'inexpr-class 0))))
Cheers,
Mike
> -----Original Message-----
> From: Deepak Nulu [mailto:[EMAIL PROTECTED]]
> Sent: 09 December 1999 01:34
> To: [EMAIL PROTECTED]
> Subject: Re: c-offset-alist for all { situations?
>
>
> Hi,
>
> I am using XEmacs 20.4 (is that different from Emacs 20.4?).
> What is the name of the offset that determines the placement
> of the '{' for inner classes?
>
> Thanks.
>
> deepak
>
> Phillip Lord wrote:
> >
> > >>>>> "Deepak" == Deepak Nulu <[EMAIL PROTECTED]> writes:
> >
> > Deepak> I like to put the opening curly-brace always on the next
> > Deepak> line at the same indentation as the previous line. I am
> > Deepak> having trouble figuring out the proper values for
> > Deepak> c-offset-alist in JDE mode, especially with anonymous
> > Deepak> classes inside inner classes. For example:
> >
> > Proper syntatic support for inner, and anonymous classes
> > is provided in CC-mode with 20.4 emacs. If you are not using this, I
> > suggest you ungrade to this, or to the most recent cc-mode...
> >
> > Phil