When using JDE 2.2.6 and XEmacs 21.1.13, it appears that jde-gen-console
does not indent the code properly when K&R style is disabled. Braces
are placed properly, but the pre-formatted constructor and main are not
indented properly. I am unsure as to why this indenting is not taking
place, as it works just fine with K&R style enabled, but the minute I
disable it indenting no longer preforms as expected. Braces are placed
properly, but lines without bracing are not. Here is an example:
public class Test
{
public test ()
{
}
public static void main(String[] args)
{
}
} // Test
As you can see, the lines within the body that aren't braces are not
indented per spec (they should be lined up with the braces below them).
Quickly selecting the whole buffer and then telling Xemacs to
indent-region the area fixes these formatting problems. What can be
done to fix this problem? I was informed by the resident Emacs guru
that there were posts pertaining to this issue sometime during last
summer, but I have been unable to locate them in the archive.
Thanks in advance,
-R
--
Robert Gash - CS Major \ [EMAIL PROTECTED] - gte393u@prism
Georgia Tech - Atlanta GA \ www.gashalot.com - www.techwreck.net
CS1311 Scheme Teaching Asst \ pgp keys - gashalot.com/pgpkeys.txt
"Sometimes the heart sees what is invisible to the eye" -H J Brown