At 07:40 PM 11/27/00 -0500, you wrote:
>Hi-
>    It seems that the version of JDE that I am using (v2.2.5) on XEmacs
>v21.1.12
>(under Solaris 2.6 with a plethora of patches installed) has a curious
>behaviour
>when it comes to indentation. That is, it seems to apply a basic indentation
>of 2 spaces.
>I looked at the Emacs variable "c-style-alist" and here is what I noticed:
>
>(("cc-mode"  "user") ..... ("gnu" (c-basic-offset . 2) .....)
>("java" (c-basic-offset . 4) ....))
>
>As I editted my .java file, I typed M-x java-mode and suddenly newlines were
>auto-indented with 4 spaces (instead of 2 spaces that were the default).
>When I
>typed M-x jde-mode, again I noticed a 2-space indent on new-lines. I want a
>4 space indent! (I don't like the 2 space indent!!) Therefore, I reasoned
>that this version
>of JDE used the "gnu" style of indentation; however, I am not sure how to
>re-configure
>it to use the "java" style of indentation.
>
>I already tried to "grep" through the .el files that make up the JDE for the
>word "gnu"
>or "c-style-alist", but I didn't get any hits.
>
>Any clues?

Remove any statement in your .emacs file that sets c-basic-offset to 2.

- Paul

------------------------------------------------------------
HOW TO ASK FOR TECH SUPPORT

When requesting technical support, please generate a problem report, using
the JDE->Help->Submit Problem Report command, and submit this report along
with your help request. The Submit Problem Report command is designed to
gather all the information that someone who does not have direct access to
your system might need to solve your problem. It saves people who want to
help you from having to waste time trying to dig relevant information out
of you. Please note that if you do not get a response to a question, it may
be because you did not provide sufficient information to solve the problem.
Filing a problem report is the best way to ensure that you get a response.

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

JDE website: http://sunsite.auc.dk/jde/

JDE mailing list archive: 
http://www.mail-archive.com/[email protected]/maillist.html

Reply via email to