Perhaps someone on this list can help me with this emacs
question.
I have the following in my .emacs file:
(define-key jde-mode-map (kbd "RET") 'newline-and-indent)
When I write a statement which contains a block, emacs wants to
indent like this:
public void foo ()
{
// code
}
The curly brackets are indented one level more than I wanted.
I understand what it's doing - it hasn't seen the end of a statement
yet, so it's indenting. This is the desired behavior, except in the
case of a method declaration, class declaration, while statement, if
statement, etc.
Is there a way to make it do this:
public void foo()
{
// code
}
-Charlie