IIRC, adding (c-set-offset 'substatement-open 0)  to your JDE load hook 
should correct this.

HTH
Jason





"Jeff Rancier" <[EMAIL PROTECTED]>
09/19/02 01:46 PM

 
        To:     "Jde-List" <[EMAIL PROTECTED]>
        cc:     "Javier Lopez" <[EMAIL PROTECTED]>, "Jslopez@Forumsys. Com" 
<[EMAIL PROTECTED]>
        Subject:        Inconsistent indentation in jde mode


I just realized that my indentation in my java buffer is in correct. 
Here's what it looks like:
 
public class Helloworld 
{
    public static void main( String[] args )
    {
        System.out.println( "Hello, world." );
 
        for ( int i = 0 ; i <  ; i++  )
            {
 
            }
    }
 
}// Helloworld
(Notice where the braces are in the for loop.)
 
I am using the following:
 
GNU Emacs 21.2.1 (i386-msvc-nt5.1.2600) of 2002-03-19 on buffy (Windows XP 
Pro)
ecb-1.80
eieio-0.17
elib-1.0
jde-2.2.9beta12
semantic-1.4
speedbar-0.14beta4
xae-1.0beta7
 
One thing which is different is I downloaded from CVS, the most current 
jde-ant.el and jde-compile.el, byte compiled them individually.
 
Has anyone seen this behaviour?  Know how to fix it?
 
 
Thanks,
Jeff
 
-----------------------------------------------------------------
Jeffery B. Rancier
Softechnics, a METTLER TOLEDO company
http://www.softechnics.com
http://www.mt.com
-----------------------------------------------------------------
"Live as if you were to die tomorrow.
Learn as if you were to live forever." 
 
                                    - M.K. Gandhi


Reply via email to