----- Original Message -----
From: "Sergei Gnezdov" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, July 11, 2001 9:53 AM
Subject: Java code conventions from Sun
> I am new to emacs.
>
> I don't seem to like the way emacs wants to format my code.
>
The only formatting that Emacs does is indenting, which is completely
customizable. See cc-mode in the Emacs help.
> I'd like to be able to code in emacs using style described in "Code
> Conventions for the JavaTM Programming Language" from Sun:
>
> http://java.sun.com/docs/codeconv/
>
Really? Well the only formatting rules that this document gives are the
following
1. Don't use lines longer than 80 characters.
2. Directions for how to break lines longer than 80 characters.
Note that Emacs does not break lines. You have to do it yourself and
so you are free to follow whatever convention you please.
3. Use 4 spaces as the basic unit of indentation.
NOTE THAT 4 SPACES IS THE DEFAULT UNIT OF INDENTATION
USED BY EMACS.
What this means is the Emacs adheres to the Sun guidelines BY DEFAULT. So
what your complaint?
- Paul