Hi Jamie,
You have to put all your indentation customizations for the JDE
in a jde-mode hook function. This is because java-mode from which
the JDE derives (java-mode itself derives from cc-mode) resets
the indentation style to its own idea of Java style each time you
open a Java source buffer. See the JDE FAQ at
http://sunsite.auc.dk/jde/
for more information. If you still have problems, let me know and
I will try to help.
- Paul
At 11:25 AM 6/14/99 +0000, Jamie O'Shaughnessy wrote:
>
>I've been using JDE (and emacs, or specifically xemacs) for a short while
>now and although I like it, there's one thing that's bugging me. Our coding
>standards have indentation like:
>
> if(bob == bill)
> {
> // blah...
> }
>
>Yet, JDE (or is it emacs?) indents like:
>
> if(bob == bill)
> {
> // blah...
> }
>
>As you can guess, I'm all a bit new to emacs so I don't know for sure why
>it's indenting like this and can't seem to changeany option to stop it.
>
>>From the O'Reilly book "Learning GNU Emacs" it describes changing the
>indentation for C, but this doesn't seem to work for Java/JDE. From this
>I've learned the style I don't like is "GNU" and it's the "K&R" style I
>want (but for Java).
>
>Can anyone help with this, or point me to a FAQ for such issues?
>
>Cheers,
>Jamie
>
>___________________________________________________________________________
>Jamie O'Shaughnessy e-mail: [EMAIL PROTECTED]
>Designer Group phone : +44 118 92 45052
>______________________________________________________ __ __ _ __ . __
>Opinions are my own and not those of... (__)|-</-\(__ |__ -_