"untabify" sounds good. But I only use it to change the code after the fact that we have tabs. Can I send it up so that when I hit the tab key in jde, emacs generates spaces instead of tabs? Thanks.
Petter M�hl�n <[EMAIL PROTECTED]> wrote: >It sounds as if you're trying to change the way that Emacs presents the code >without actually changing it. If so, you could try customising tab-width. >Otherwise, I like to do 'untabify' to only use spaces throughout the code, >that saves a lot of problems I think. > >/ Petter > >> -----Original Message----- >> From: Jonathan Meeks [mailto:[EMAIL PROTECTED]] >> Sent: den 28 februari 2002 05:01 >> 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/ > > -- __________________________________________________________________ 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/
