Ctrl-x,h should select the entire (.java) document, and then,
Esc, Ctrl-\ should re-indent it.

-----Original Message-----
From: Jonathan Meeks [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 28, 2002 4:01 AM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: How to Customize Indentation?



Someone posted a customization to cc-mode, which jdee uses.  It was
about two weeks ago (there's an archive of the jdee mailing list on
jdee's site).

I am using that customization, and it works very well.

HTH,

Jonathan Meeks

From: [EMAIL PROTECTED] (Ping Liang)
Subject: How to Customize Indentation?
Date: Wed, 27 Feb 2002 18:55:52 -0500

> I am working on java source codes that were written by using other ide
tools.  The original developer just set the tab to 4 chars wide (still a
tab) and format the code accordingly.  Now it is my turn to read the code,
and I am using emacs, it is a mess!  I am wondering anybody has worked out a
good solution to this.  Basically, I want to have the ability to view others
code in his/her own format/indentation and contribute to it in the same
format/indentation.  On the other hand, what I write should be reasonably
readable by others using other editing tools.
> 
> Any hints are greatly appreciated.
> 
> Ping Liang
> -- 
> 
> 
> 
> 
> __________________________________________________________________
> Your favorite stores, helpful shopping tools and great gift ideas.
Experience the convenience of buying online with Shop@Netscape!
http://shopnow.netscape.com/
> 
> Get your own FREE, personal Netscape Mail account today at
http://webmail.netscape.com/



NOTICE AND DISCLAIMER:
This email (including attachments) is confidential.  If you have received
this email in error please notify the sender immediately and delete this
email from your system without copying or disseminating it or placing any
reliance upon its contents.  We cannot accept liability for any breaches of
confidence arising through use of email.  Any opinions expressed in this
email (including attachments) are those of the author and do not necessarily
reflect our opinions.  We will not accept responsibility for any commitments
made by our employees outside the scope of our business.  We do not warrant
the accuracy or completeness of such information.

Reply via email to